mirror of
https://github.com/Koenkk/Z-Stack-firmware.git
synced 2024-11-07 19:19:30 +01:00
.. | ||
images | ||
README.md |
CC2530_CC2591 coordinator firmware
- Copy
..\firmware.patch
toZ-Stack Home 1.2.2a.44539
- Open Git Bash, go to
Z-Stack Home 1.2.2a.44539
and apply the patch usinggit apply firmware.patch
. - Open
Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\znp.eww
with IAR Embedded workbench for 8051. - 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.
- In the dropdown, set target to CC2530 - ProdHex.
- Right-click on CC2530 - ProdHex* and press options. Go to C/C++ compiler -> preprocessor. Change the Defined symbols to:
FIRMWARE_CC2530_CC2591_DEFAULT
// Uncomment this if you want to compile the SBL (.bin) firmware:
// FIRMWARE_SBL
- Press OK.
- Right-click on CC2530 - ProdHex* and click Rebuild all.
- Once finished, you can find the
CC2530ZNP-Prod.hex
file inZ-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev
.