mirror of
https://github.com/Koenkk/Z-Stack-firmware.git
synced 2024-10-05 23:17:26 +02:00
b6c3a7a8de
* Z-Stack 3.x.0 20200831 firmware * 20200925 firmware. https://github.com/Koenkk/zigbee2mqtt/issues/4285
1.2 KiB
1.2 KiB
Compiling the firmware
Setup development environment
- Download and install SIMPLELINK-CC13X2-26X2-SDK_4.20.01.04.
- Download and install Code Composer Studio 10.1.0.00010.
Compiling
- Start Code Composer Studio
- Go to File -> Import -> Code Composer Studio -> CCS Projects -> Select search-directory:
simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos
. Selectznp_CC26X2R1_LAUNCHXL_tirtos_css
,znp_CC1352P_2_LAUNCHXL_tirtos_css
andznp_CC2652RB_LAUNCHXL_tirtos_css
. Press Finish. - In Code Composer Studio, expand the 3 projects and for each open
znp.syscfg
, changeMinimal Poll Period (ms)
to1000
, change it back to100
immediately and save the file. - Go to your CCS workspace and copy
firmware.patch
to the root. - Open Git Bash, go to your CCS root and apply the patch using
git apply firmware.patch --ignore-space-change
. - Build both projects; right click -> Build project.
- Once finished, the firmware can be found under
znp_[CC26X2R1/CC1352P_2/CC2652RB]_LAUNCHXL_tirtos_ccs/default/znp_[CC26X2R1/CC1352P_2]_LAUNCHXL_tirtos_ccs.hex