znp.cfg 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /**************************************************************************************************
  2. Filename: znp.cfg
  3. Revised: $Date: 2010-07-27 18:10:31 -0700 (Tue, 27 Jul 2010) $
  4. Revision: $Revision: 23156 $
  5. Description: This file is the compiler command-line options used to define a
  6. TI Z-Stack ZigBee Network Processor device. To move an option from here to the
  7. project file, comment out or delete the option from this file and enter it in
  8. the "Define Symbols" box under the Preprocessor tab of the IAR Project Options.
  9. New user defined options may be added to this file, as necessary.
  10. Copyright 2010-2012 Texas Instruments Incorporated. All rights reserved.
  11. IMPORTANT: Your use of this Software is limited to those specific rights
  12. granted under the terms of a software license agreement between the user
  13. who downloaded the software, his/her employer (which must be your employer)
  14. and Texas Instruments Incorporated (the "License"). You may not use this
  15. Software unless you agree to abide by the terms of the License. The License
  16. limits your use, and you acknowledge, that the Software may not be modified,
  17. copied or distributed unless embedded on a Texas Instruments microcontroller
  18. or used solely and exclusively in conjunction with a Texas Instruments radio
  19. frequency transceiver, which is integrated into your product. Other than for
  20. the foregoing purpose, you may not use, reproduce, copy, prepare derivative
  21. works of, modify, distribute, perform, display or sell this Software and/or
  22. its documentation for any purpose.
  23. YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
  24. PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
  25. INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
  26. NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
  27. TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
  28. NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
  29. LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
  30. INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
  31. OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
  32. OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
  33. (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
  34. Should you have any questions regarding your right to use this Software,
  35. contact Texas Instruments Incorporated at www.TI.com.
  36. **************************************************************************************************/
  37. /* MAC Settings */
  38. -DMAC_CFG_APP_PENDING_QUEUE=TRUE
  39. /* Generic All-in-One Settings */
  40. -DZSTACK_DEVICE_BUILD="(DEVICE_BUILD_COORDINATOR | DEVICE_BUILD_ROUTER | DEVICE_BUILD_ENDDEVICE)"
  41. /* Other Settings */
  42. -DNWK_AUTO_POLL
  43. // The watchdog can be enabled to break out of a locked SPI transaction - not recommended for development, debug & test.
  44. -DZNP_RUN_WDOG=FALSE
  45. -DZNP_UART_BAUD=HAL_UART_BR_115200
  46. -DZIGBEEPRO
  47. -DZIGBEE_FRAGMENTATION
  48. -DINTER_PAN
  49. -DOSAL_CLOCK
  50. -DOSAL_SAPI=FALSE
  51. -DSAPI_CB_FUNC=FALSE
  52. -DHOLD_AUTO_START
  53. -DNV_RESTORE
  54. -DNV_INIT
  55. -DNUM_DISC_ATTEMPTS=0
  56. //-DSRC_RTG_EXPIRY_TIME=255
  57. //-DCONCENTRATOR_ENABLE=TRUE
  58. //-DCONCENTRATOR_DISCOVERY_TIME=60
  59. //-DMAX_RTG_SRC_ENTRIES=100
  60. // Define this flag to enable ZNP implementation of the ZCL_KEY_ESTABLISHMENT_ENDPOINT and task.
  61. //-DTC_LINKKEY_JOIN
  62. /*
  63. * Monitor Test Interface
  64. */
  65. /* MT_UTIL interface */
  66. -DMT_UTIL_FUNC
  67. /* MT_SYS interface */
  68. -DMT_SYS_FUNC
  69. /* MT_AF interface */
  70. -DMT_AF_FUNC
  71. /* MT_SAPI Interface */
  72. -DMT_SAPI_FUNC
  73. -DMT_SAPI_CB_FUNC
  74. /* MT_ZDO interface */
  75. -DMT_ZDO_CB_FUNC
  76. -DMT_ZDO_FUNC
  77. -DMT_ZDO_MGMT
  78. /* MT_APP interface - useful when ZAP defines ZAP_ZNP_MT for MT_SYS_APP_MSG pass-through. */
  79. -DMT_APP_FUNC