a/Projects/zstack/Tools/CC2530DB/znp.cfg
2022-01-13 14:24:30 +08:00

75 lines
1.8 KiB
INI

/*
* znp.cfg
*
* Compiler command-line options used to define a TI Z-Stack ZigBee Network Processor device.
* To move an option from here to the project file, comment out or delete the option from this file
* and enter it in the "Define Symbols" box under the Preprocessor tab of the IAR Project Options.
* New user defined options may be added to this file, as necessary.
*
*/
/* Common To All Applications */
-DCPU32MHZ // CC2530s Run at 32MHz
/* MAC Settings */
-DMAC_CFG_APP_PENDING_QUEUE=TRUE
-DNWK_AUTO_POLL
-DPOWER_SAVING
/* Generic All-in-One Settings */
-DZSTACK_DEVICE_BUILD="(DEVICE_BUILD_COORDINATOR | DEVICE_BUILD_ROUTER | DEVICE_BUILD_ENDDEVICE)"
/* Other Settings */
// CRC checking can be enabled for a production image - not recommended for development, debug & test.
-DZNP_RUN_CRC=FALSE
// The watchdog can be enabled to break out of a locked SPI transaction - not recommended for development, debug & test.
-DZNP_RUN_WDOG=FALSE
-DZIGBEEPRO
-DZIGBEE_FRAGMENTATION
-DINTER_PAN
-DOSAL_CLOCK
-DOSAL_SAPI=FALSE
-DSAPI_CB_FUNC=FALSE
-DHOLD_AUTO_START
-DNV_RESTORE
-DNV_INIT
-DNUM_DISC_ATTEMPTS=0
//-DSRC_RTG_EXPIRY_TIME=255
//-DCONCENTRATOR_ENABLE=TRUE
//-DCONCENTRATOR_DISCOVERY_TIME=60
//-DMAX_RTG_SRC_ENTRIES=100
// Define these flags to enable ZNP support of the ZCL_KEY_ESTABLISHMENT_ENDPOINT and task.
//-DTC_LINKKEY_JOIN
//-DZNP_ZCL
/*
* Monitor Test Interface
*/
/* MT_UTIL interface */
-DMT_UTIL_FUNC
/* MT_SYS interface */
-DMT_SYS_FUNC
/* MT_AF interface */
-DMT_AF_FUNC
/* MT_SAPI Interface */
-DMT_SAPI_FUNC
-DMT_SAPI_CB_FUNC
/* MT_ZDO interface */
-DMT_ZDO_CB_FUNC
-DMT_ZDO_FUNC
-DMT_ZDO_MGMT
/* MT_APP interface - useful when ZAP defines ZAP_ZNP_MT for MT_SYS_APP_MSG pass-through. */
-DMT_APP_FUNC