Z-Stack-firmware/coordinator/CC2531
Koen Kanters f4f0e66902
Optimize firmware for larger networks. (#17)
Optimize firmware for larger networks.
2018-12-14 19:39:46 +01:00
..
alternatives/max_devices Optimize firmware for larger networks. (#17) 2018-12-14 19:39:46 +01:00
bin Optimize firmware for larger networks. (#17) 2018-12-14 19:39:46 +01:00
images Optimize firmware for larger networks. (#17) 2018-12-14 19:39:46 +01:00
README.md Optimize firmware for larger networks. (#17) 2018-12-14 19:39:46 +01:00

CC2531 coordinator firmware

  1. Copy ..\firmware.patch to Z-Stack Home 1.2.2a.44539
  2. Open Git Bash, go to Z-Stack Home 1.2.2a.44539 and apply the patch using git apply firmware.patch.
  3. Open Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\znp.eww with IAR Embedded workbench for 8051.
  4. You will get a warning: The project file 'CC253(0/1).ewp' is in an old format. Would you like to convert it for use with this version?. Press yes for both.
  5. In the dropdown, set target to CC2531 - ProdHex. Target
  6. Right-click on CC2531 - ProdHex* and press options. Go to C/C++ compiler -> preprocessor. Change the Defined symbols to:
FIRMWARE_CC2531_DEFAULT
  1. Go to General Options -> Stack/Heap -> Stack sizes -> and change XDATA to 0X300.
  2. Press OK.
  3. Right-click on CC2531 - ProdHex* and click Rebuild all.
  4. Once finished, you can find the CC2531ZNP-Prod.hex file in Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev.