Skip to content

Commit

Permalink
Z-Stack_3.x.0 coordinator 20221226
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jan 29, 2023
1 parent 93fe8d2 commit 7398d83
Show file tree
Hide file tree
Showing 11 changed files with 529 additions and 572 deletions.
6 changes: 6 additions & 0 deletions coordinator/Z-Stack_3.x.0/CHANGELOG.md
@@ -1,3 +1,9 @@
# 20221226
- Improve performance/reliability for larger network (100+ devices)
- Increase request retry attempts
- Increase routing table sizes
- SimpleLink SDK 6.10.01.01 ([changelog](https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/6.10.01.01/exports/changelog.html))

# 20220219
- Fix Touchlink crash
- SimpleLink SDK 5.40.00.40 ([changelog](https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/5.40.00.40/exports/changelog.html))
Expand Down
23 changes: 11 additions & 12 deletions coordinator/Z-Stack_3.x.0/COMPILE.md
@@ -1,24 +1,23 @@
# Compiling the firmware

## Setup development environment
1. Download and install [SIMPLELINK-CC13XX-CC26XX-SDK_5.40.00.40](https://www.ti.com/tool/download/SIMPLELINK-CC13XX-CC26XX-SDK)
1. Download and install [Code Composer Studio 11.1.0.00011](http://www.ti.com/tool/CCSTUDIO)
1. Download and install [SIMPLELINK-CC13XX-CC26XX-SDK 6.10.01.01](https://www.ti.com/tool/download/SIMPLELINK-CC13XX-CC26XX-SDK)
1. Download and install [Code Composer Studio 11.2.0.00007](http://www.ti.com/tool/CCSTUDIO)

## Compiling
1. Start Code Composer Studio
1. Go to *File -> Import -> Code Composer Studio -> CCS Projects -> Select* search-directory: `simplelink_cc13xx_cc26xx_sdk_5_40_00_40/examples/rtos`.
1. Go to *File -> Import -> Code Composer Studio -> CCS Projects -> Select* search-directory: `simplelink_cc13xx_cc26xx_sdk_6_10_01_01/examples/rtos`.
1. Select:
- `znp_CC26X2R1_LAUNCHXL_tirtos_css`
- `znp_CC1352P_2_LAUNCHXL_tirtos_css`
- `znp_LP_CC2652RB_tirtos_ccs`
- `znp_CC26X2R1_LAUNCHXL_tirtos_ticlang`
- `znp_CC1352P_2_LAUNCHXL_tirtos_ticlang`
- `znp_LP_CC2652RB_tirtos_ticlang`
4. Press *Finish*.
1. 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.
1. Go to your CCS workspace and copy `firmware.patch` to the root.
1. Open Git Bash, go to your CCS root and apply the patch using `git apply firmware.patch --ignore-space-change`.
1. Build the 3 projects; right click -> *Build project*.
- **Important:** by default the **launchpad** variant of the CC1352P2_CC2652P (= `znp_CC1352P_2_LAUNCHXL_tirtos_ccs`) is build. To build the **other** variant comment `#define LAUNCHPAD_CONFIG 1` in `preinclude.h` (located under `Stack/Config/`), don't forget to save.
1. Once finished, the firmware can be found under `znp_[CC26X2R1/CC1352P_2/CC2652RB]_LAUNCHXL_tirtos_ccs/default/znp_[CC26X2R1/CC2652RB/CC1352P_2]_LAUNCHXL_tirtos_ccs.hex`
- `znp_CC26X2R1_LAUNCHXL_tirtos_ccs.hex` -> CC2652R
- `znp_LP_CC2652RB_tirtos_ccs.hex` -> CC2652RB
- `znp_CC1352P_2_LAUNCHXL_tirtos_ccs.hex` -> CC1352P-2 and CC2652P

- **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.
1. 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,072 changes: 512 additions & 560 deletions coordinator/Z-Stack_3.x.0/firmware.patch

Large diffs are not rendered by default.

0 comments on commit 7398d83

Please sign in to comment.