mirror of
https://github.com/Koenkk/Z-Stack-firmware.git
synced 2025-04-15 06:35:42 +02:00
Update COMPILE.md
This commit is contained in:
parent
dab54752f0
commit
31d5c57b86
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user