Update COMPILE.md

This commit is contained in:
Koen Kanters 2019-05-15 20:13:39 +02:00 committed by GitHub
parent dab54752f0
commit 31d5c57b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@
6. Right-click on your target and press options. Go to C/C++ compiler -> preprocessor. **Remove** all *Defined symbols* and depending on what you want to compile, add the following symbols to *Defined symbols*:
- Device type: `FIRMWARE_CC2530`, `FIRMWARE_CC2530_CC2591`, `FIRMWARE_CC2531` or `FIRMWARE_CC2530_CC2592`
- In case you want to compile the SBL firmware, also add `FIRMWARE_SBL`.
7. Press OK.
8. Right-click on your target and click *Rebuild all*.
9. Once finished, you can find the `CC253(0|1)ZNP-Prod.(hex|bin)` file in `Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev`.
7. Go to General Options -> Stack/Heap -> Stack sizes -> and change XDATA to 0x400.
8. Press OK.
9. Right-click on your target and click *Rebuild all*.
10. Once finished, you can find the `CC253(0|1)ZNP-Prod.(hex|bin)` file in `Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev`.