Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1.69 KB

File metadata and controls

23 lines (21 loc) · 1.69 KB

Compiling the firmware

Setup development environment

  1. Download and install SIMPLELINK-CC13XX-CC26XX-SDK 6.10.01.01
  2. Download and install Code Composer Studio 11.2.0.00007

Compiling

  1. Start Code Composer Studio
  2. Go to File -> Import -> Code Composer Studio -> CCS Projects -> Select search-directory: simplelink_cc13xx_cc26xx_sdk_6_10_01_01/examples/rtos.
  3. Select:
    • znp_CC26X2R1_LAUNCHXL_tirtos_ticlang
    • znp_CC1352P_2_LAUNCHXL_tirtos_ticlang
    • znp_LP_CC2652RB_tirtos_ticlang
  4. Press Finish.
  5. In Code Composer Studio, expand the 3 projects and for each open znp.syscfg, expand Power Management and change Minimal Poll Period (ms) to 1000, change it back to 100 immediately and save the file.
  6. Go to your CCS workspace and copy firmware.patch to the root.
  7. Open Git Bash, go to your CCS root and apply the patch using git apply firmware.patch --ignore-space-change.
  8. Build the 3 projects; right click -> Build project.
    • Important: by default the launchpad variant of the CC1352P2_CC2652P (= znp_CC1352P_2_LAUNCHXL_tirtos_ticlang) is build. To build the other variant comment #define LAUNCHPAD_CONFIG 1 in preinclude.h (located under Stack/Config/), don't forget to save.
  9. Once finished, the firmware can be found under znp_[CC26X2R1/CC1352P_2/CC2652RB]_LAUNCHXL_tirtos_ticlang/default/znp_[CC26X2R1/CC2652RB/CC1352P_2]_LAUNCHXL_tirtos_ticlang.hex
    • znp_CC26X2R1_LAUNCHXL_tirtos_ticlang.hex -> CC2652R
    • znp_LP_CC2652RB_tirtos_ticlang.hex -> CC2652RB
    • znp_CC1352P_2_LAUNCHXL_tirtos_ticlang.hex -> CC1352P-2 and CC2652P