⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sys_conf.h

📁 ZPAV (H265) pnxNNNN(PHILIPS) demo ZPAV (H265) 是 音视频 压缩解压 协议
💻 H
📖 第 1 页 / 共 3 页
字号:
/*              L A N   C O N F I G U R A T I O N                      *//*                                                                     *//*                                                                     *//***********************************************************************/#define SD_LAN1               NO#define SD_LAN1_IP            0x00000000#define SD_LAN1_SUBNET_MASK   0/*=====================================================================*//*                                                                     *//*                    L A N   I N T E R F A C E S                      *//*                                                                     *//*   * BSP_LAN1            - YES if LAN is supported                   *//*   * BSP_LAN1_MTU        - Maximum transmission unit (bytes)         *//*   * BSP_LAN1_HWALEN     - Length of hardware address in bytes       *//*   * BSP_LAN1_FLAGS      - Interface flags (per pNA manual)          *//*        IFF_POLL             0x8000   interface is a polling type    *//*        IFF_BROADCAST        0x0001   NI supports broadcasts         *//*        IFF_RAWMEM           0x2000   driver uses "mblk" interface   *//*   * BSP_LAN1_PKB        - Total number of packet buffers            *//*                                                                     *//*=====================================================================*/#define BSP_LAN1               NO#define BSP_LAN1_MTU           1500#define BSP_LAN1_HWALEN        6#define BSP_LAN1_FLAGS         0x2001#define BSP_LAN1_PKB           40/***********************************************************************//*                                                                     *//*         M I S C E L L A N E O U S   N E T W O R K I N G             *//*                       P A R A M E T E R S                           *//*                                                                     *//***********************************************************************/#define SD_DEF_GTWY_IP        0  /* Default gateway ip address *//***********************************************************************//*                                                                     *//*  These symbols are used to define other symbols in this file.       *//*  They should never be changed.                                      *//*                                                                     *//***********************************************************************/#define YES     1#define NO      0#define USE_RARP 0#define DBG_SA    1  /* Standalone pROBE debugging */#define DBG_XS    2  /* talk to host debugger via RS-232 */#define DBG_XN    3  /* talk to host debugger via network */#define DBG_AP    4  /* Run application (w/ pROBE in standalone mode) */#define STORAGE   5  /* Get SD_'s from storage area */#define SYS_CONF  6  /* Get SD_'s from #defines set in this file *//***********************************************************************//*                                                                     *//*                 B A S I C   P A R A M E T E R S                     *//*                                                                     *//*  The parameters in this section determine the fashion in which      *//*  many of the other parameters in this file will be used.            *//*                                                                     *//*  Many of the parameters in this file have names beginning with      *//*  either "SC_" or "SD_".  Those beginning with "SC_" are ALWAYS      *//*  controlled by the values you set in this file.  The values of      *//*  the "SD_" parameters can be determined either by the definitions   *//*  given in this file, or by the data found in the target board's     *//*  parameter storage area.  SC_SD_PARAMETERS determines this.  If     *//*  SC_SD_PARAMETERS is "SYS_CONF", then the values given in this      *//*  file will be used for the SD_ parameters.  If SC_SD_PARAMETERS     *//*  is "STORAGE", then pSOSystem will attempt to use the values found  *//*  in the board's parameter storage area for the SD_ variables.  If   *//*  the parameter storage area has not been initialized or has been    *//*  corrupted, then the values given in this file will be used.  They  *//*  will also be written to the storage area.                          *//*                                                                     *//*  If SC_SD_PARAMETERS is STORAGE, you may enable a "startup dialog"  *//*  which will allow you to view, and optionally change, the           *//*  parameter values found in the storage area.  The dialog is enabled *//*  by setting SC_STARTUP_DIALOG to YES.  In this case,                *//*  SD_STARTUP_DELAY specifies the number of seconds that the dialog   *//*  will wait for input before proceeding to boot the system.          *//*                                                                     *//*  SE_DEBUG_MODE determines how the system will operate, as follows:  *//*                                                                     *//*     DBG_SA: Boot pROBE+ in standalone mode.                         *//*                                                                     *//*     DBG_XS: Boot into pROBE+ and wait for the host debugger         *//*             via a serial connection                                 *//*                                                                     *//*     DBG_XN: Boot into pROBE+ and wait for the host debugger         *//*             via a network connection                                *//*                                                                     *//*     DBG_AP: Same as DBG_SA, but also does a pROBE+ "silent startup",*//*             meaning that pROBE+ initializes itself without          *//*             printing a startup banner.  pROBE+ then initializes     *//*             pSOS+ and starts the application running.   This mode   *//*             was created to simplify implementation of the pSOSystem *//*             Boot ROMs.  Note that when this mode is used, the value *//*             you specify for RC_SMODE (see "pROBE+ Configuration     *//*             Parameters", below) is overridden.                      *//*                                                                     *//*    STORAGE: Use the mode (DBG_SA, DBG_XS, or DBG_XN) found in the   *//*             parameter storage area.  If a valid mode is not found,  *//*             then use DBG_SA.                                        *//*                                                                     *//*  An important consequence of using SE_DEBUG_MODE = STORAGE should   *//*  be noted.  If you use the TFTP bootloader in the pSOSystem ROMs    *//*  to download and start your system, you will be setting             *//*  SE_DEBUG_MODE = DBG_AP in your target board's parameter storage    *//*  area.  Thus, if you have left SE_DEBUG_MODE set to STORAGE in      *//*  this file, your downloaded system will also use DBG_AP, meaning    *//*  that the application will begin running immediately after the      *//*  TFTP bootloader has loaded and started your system.                *//*                                                                     *//***********************************************************************/#define SC_SD_PARAMETERS    STORAGE#define SC_STARTUP_DIALOG   NO#define SC_BOOT_ROM         NO#define SD_STARTUP_DELAY    60#define SE_DEBUG_MODE       STORAGE/***********************************************************************//*                                                                     *//*      S E R I A L   C H A N N E L   C O N F I G U R A T I O N        *//*                                                                     *//*  * SD_DEF_BAUD specifies the default baud rate to be used for the   *//*    serial channels                                                  *//*  * SC_APP_CONSOLE specifies the serial channel number (starting     *//*    from 1) which should be used for the application's "console".    *//*  * SC_PROBE_CONSOLE specifies the serial channel number (starting   *//*    from 1) which pROBE+ should use to display output and receive    *//*    commands, or to communicate with the host debugger.              *//*  * SC_RBUG_PORT specifies the serial channel number (starting       *//*    from 1) which should be used for the pROBE+ REMOTE DEBUG Channel.*//*    SC_APP_CONSOLE and SC_RBUG_PORT cannot be same port numbers.     *//*                                                                     *//***********************************************************************/#define SD_DEF_BAUD           9600#define SC_APP_CONSOLE        1#define SC_PROBE_CONSOLE      1#define SC_RBUG_PORT          0/***********************************************************************//* SC_NumNon_pSOSChan is the number of non pSOS users of serial        *//* channels. These are users that will be initiated before pSOS        *//* such as pROBE.                                                      *//* NOTE: These channels will not be closed on a soft reset.            *//***********************************************************************/#define SC_NumNon_pSOSChan 1/***********************************************************************//*                                                                     *//*                B U S   C O N F I G U R A T I O N                    *//*                                                                     *//*                                                                     *//***********************************************************************/#define SD_VME_BASE_ADDR      0x01000000/***********************************************************************//*                                                                     *//*      S H A R E D   M E M O R Y   C O N F I G U R A T I O N          *//*                                                                     *//*                                                                     *//***********************************************************************//*---------------------------------------------------------------------*//* If you want to build a Shared Memory Interface for the network or   *//* multi-processing pSOS+m, set SD_SM_NODE (a non-zero value) to the   *//* node number of THIS node.                                           *//*---------------------------------------------------------------------*/#define SD_SM_NODE            0/*---------------------------------------------------------------------*//* Shared memory network interface - SC_NISM_LEVEL should be 1 if this *//* will be the FIRST system to use the SMNI on this board.  It should  *//* be 2 if this will not be the first system to use the SMNI on this   *//* board.  Usually this means that SC_NISM_LEVEL should be 1 if you    *//* are building Boot ROMs, and 2 for a system that will be downloaded  *//* and started using the Boot ROMs.  See the comments at the beginning *//* of drivers/ni_smem.c for more explanation.                          *//*---------------------------------------------------------------------*/#define SD_NISM               NO#define SD_NISM_IP            0x00000000#define SD_NISM_DIRADDR       (SD_VME_BASE_ADDR+0x400)#define SC_NISM_BUFFS         30#define SC_NISM_LEVEL         2#define SD_NISM_SUBNET_MASK   0/*---------------------------------------------------------------------*//* If you want to build a multi-node pSOS+m system, set SD_KISM        *//* to the number of nodes in the system.                               *//*---------------------------------------------------------------------*/#define SD_KISM               0#define SD_KISM_DIRADDR       (SD_VME_BASE_ADDR+0x580)/***********************************************************************//*                                                                     *//*         M I S C E L L A N E O U S   N E T W O R K I N G             *//*                       P A R A M E T E R S                           *//*                                                                     *//***********************************************************************/#define SD_DEF_GTWY_IP        0#endif /* _SYS_CONF_H */#if defined(__cplusplus)}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -