Z-Stack_3.x.0 coordinator 20230507

This commit is contained in:
koenkk 2023-06-08 10:33:03 +02:00
parent 1c3f97ca9e
commit c80b77f808
14 changed files with 728 additions and 1445 deletions

View File

@ -1,3 +1,12 @@
# 20230507
- Enable child aging to fix issues like [#13478](https://github.com/Koenkk/zigbee2mqtt/issues/13478) (but not for older Xiaomi devices as they do not implement child aging correctly which gets them kicked out of the network)
- Increase message timeout from 7 to 8 seconds to increase message delivery success rate for devices using a 7.5 seconds poll interval ([#13478](https://github.com/Koenkk/zigbee2mqtt/issues/13478#issuecomment-1501188485))
- Improve performance with larger network
- Optimize table sizes
- Increase `stack_size` from `1024` to `8192`
- Add firmware for CC1352P7 and CC2652R7
- SimpleLink SDK 7.10.00.98
# 20221226
- Improve performance/reliability for larger network (100+ devices)
- Increase request retry attempts

View File

@ -1,23 +1,27 @@
# Compiling the firmware
## Setup development environment
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)
1. Download and install [simplelink_cc13xx_cc26xx_sdk_7_10_00_98](https://www.ti.com/tool/SIMPLELINK-CC13XX-CC26XX-SDK#downloads)
1. Download and install [Code Composer Studio 12.3.0.00005](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_6_10_01_01/examples/rtos`.
1. Create a folder called `workspace` in the folder where the SDK is installed. In the SDK installation folder you should see files like `Makefile` and `license_simplelink_cc13xx_cc26xx_sdk_7_10_00_98.txt`.
1. Start Code Composer Studio, it will ask you to select a workspace folder, select the `workspace` folder you created in the previous step.
1. Go to *File -> Import -> Code Composer Studio -> CCS Projects -> Select* search-directory: `simplelink_cc13xx_cc26xx_sdk_7_10_00_98/examples/rtos`.
1. Select:
- `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_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
- `znp_CC26X2R1_LAUNCHXL_tirtos7_ticlang`
- `znp_CC1352P_2_LAUNCHXL_tirtos7_ticlang`
- `znp_LP_CC2652RB_tirtos7_ticlang`
- `znp_LP_CC1352P7_4_tirtos7_ticlang`
- `znp_LP_CC2652R7_tirtos7_ticlang`
1. Press *Finish*.
1. In Code Composer Studio, expand the 5 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. Copy `firmware.patch` to the SDK installation folder, open a Git Bash in this folder and apply the patch using `git apply firmware.patch --ignore-space-change`.
1. Build the 5 projects; right click -> *Build project*.
- **Important:** by default the **launchpad** variant of the CC1352P2_CC2652P (= `znp_CC1352P_2_LAUNCHXL_tirtos7_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_*_tirtos7_ticlang/default/znp_*_tirtos7_ticlang.hex`
- `znp_CC26X2R1_LAUNCHXL_tirtos7_ticlang.hex` -> CC2652R
- `znp_LP_CC2652RB_tirtos7_ticlang.hex` -> CC2652RB
- `znp_CC1352P_2_LAUNCHXL_tirtos7_ticlang.hex` -> CC1352P-2 and CC2652P
- `znp_LP_CC1352P7_4_tirtos7_ticlang.hex` -> CC1352P7
- `znp_LP_CC2652R7_tirtos7_ticlang.hex` -> CC2652R7

View File

@ -36,6 +36,27 @@
<td>DIO_6 (Red)<br>DIO_7 (Green)<br></td>
<td>?</td>
</tr>
<tr>
<td>TI LP-CC1352P7</td>
<td>CC1352P7</td>
<td>CC1352P7_*.zip<br></td>
<td>?</td>
<td>No</td>
<td>?</td>
<td>?</td>
<td>?</td>
</tr>
</tr>
<tr>
<td>TI LP-CC2652R7</td>
<td>CC1352P7</td>
<td>CC1352P7_*.zip<br></td>
<td>?</td>
<td>No</td>
<td>?</td>
<td>N/A</td>
<td>?</td>
</tr>
<tr>
<td>Electrolama zzh</td>
<td>CC2652R</td>

File diff suppressed because it is too large Load Diff