mirror of
https://github.com/Koenkk/Z-Stack-firmware.git
synced 2025-07-23 13:50:35 +02:00
Z-Stack_3.x.0 router 20250403
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Compiling the firmware
|
||||
|
||||
This guide describes how to compile both the router and coordinator firmware.
|
||||
|
||||
## Setup development environment
|
||||
|
||||
1. Download and install [SIMPLELINK-LOWPOWER-F2-SDK 8.30.01.01](https://www.ti.com/tool/download/SIMPLELINK-LOWPOWER-F2-SDK/8.30.01.01)
|
||||
@@ -17,14 +19,21 @@
|
||||
- `znp_LP_CC2652R7_tirtos7_ticlang`
|
||||
- `znp_LP_CC2652RB_tirtos7_ticlang`
|
||||
- `znp_LP_EM_CC2674P10_tirtos7_ticlang`
|
||||
- `zr_genericapp_CC1352P_2_LAUNCHXL_tirtos7_ticlang`
|
||||
- `zr_genericapp_CC26X2R1_LAUNCHXL_tirtos7_ticlang`
|
||||
- `zr_genericapp_LP_CC1352P7_4_tirtos7_ticlang`
|
||||
- `zr_genericapp_LP_CC2652R7_tirtos7_ticlang`
|
||||
- `zr_genericapp_LP_CC2652RB_tirtos7_ticlang`
|
||||
- `zr_genericapp_LP_EM_CC2674P10_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. In Code Composer Studio, expand the 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 `*.patch` to the SDK installation folder, open a Git Bash in this folder and apply the patch using `git apply *.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_CC1352P_2_LAUNCHXL_tirtos7_ticlang.hex` -> CC1352P-2 and CC2652P based boards
|
||||
- `znp_CC26X2R1_LAUNCHXL_tirtos7_ticlang.hex` -> CC2652R based boards
|
||||
- `znp_LP_CC1352P7_4_tirtos7_ticlang.hex` -> CC1352P7 based boards
|
||||
- `znp_LP_CC2652R7_tirtos7_ticlang.hex` -> CC2652R7 based boards
|
||||
- `znp_LP_CC2652RB_tirtos7_ticlang.hex` -> CC2652RB based boards
|
||||
1. Build the projects; click _Project_ -> _Build all_.
|
||||
- **Important:** by default the **launchpad** variant of the CC1352P2_CC2652P (= `CC1352P_2_LAUNCHXL_tirtos7_ticlang`) is build. To build the **other** variant change `#define LAUNCHPAD_CONFIG 1` to `#define LAUNCHPAD_CONFIG 0` in `preinclude.h`.
|
||||
1. Once finished, the coordinator firmwares can be found under `znp_*_tirtos7_ticlang/default/znp_*_tirtos7_ticlang.hex` and router firmwares under `zr_genericapp_*_tirtos7_ticlang/default/zr_genericapp_*_tirtos7_ticlang.hex`:
|
||||
- `*_CC1352P_2_LAUNCHXL_tirtos7_ticlang.hex` -> CC1352P-2 and CC2652P based boards
|
||||
- `*_CC26X2R1_LAUNCHXL_tirtos7_ticlang.hex` -> CC2652R based boards
|
||||
- `*_LP_CC1352P7_4_tirtos7_ticlang.hex` -> CC1352P7 based boards
|
||||
- `*_LP_CC2652R7_tirtos7_ticlang.hex` -> CC2652R7 based boards
|
||||
- `*_LP_CC2652RB_tirtos7_ticlang.hex` -> CC2652RB based boards
|
||||
1. To package all the firmwares, execute `python3 package.py` in the SDK folder.
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,20 @@
|
||||
# 20250403
|
||||
|
||||
- Updated SimpleLink SDK to 8.30.01.01
|
||||
|
||||
# 20221102
|
||||
|
||||
- Allow to set transmit power
|
||||
- Fix directly connected Xiaomi devices disconnecting
|
||||
- SimpleLink SDK 6.30.00.84 ([changelog](https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/6.30.00.84/exports/changelog.html))
|
||||
|
||||
# 20220125
|
||||
|
||||
- SimpleLink SDK 5.30.01.01 ([changelog](https://software-dl.ti.com/simplelink/esd/simplelink_cc13xx_cc26xx_sdk/5.30.01.01/exports/changelog.html))
|
||||
- Increase memory heap
|
||||
- Increase transmit power of CC1352P/CC2652P from 5dBm to 9dBm
|
||||
- Support routing table command
|
||||
|
||||
# 20210128
|
||||
|
||||
- Initial router firmwares
|
@@ -1,23 +1,3 @@
|
||||
# Compiling the firmware
|
||||
|
||||
## Setup development environment
|
||||
1. Download and install [SIMPLELINK-CC13XX-CC26XX-SDK_6_30_00_84](https://www.ti.com/tool/download/SIMPLELINK-CC13XX-CC26XX-SDK)
|
||||
1. Download and install [Code Composer Studio 12.1.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_6_30_00_84/examples/rtos`.
|
||||
1. Select:
|
||||
- `zr_genericapp_CC26X2R1_LAUNCHXL_tirtos7_ticlang`
|
||||
- `zr_genericapp_CC1352P_2_LAUNCHXL_tirtos7_ticlang`
|
||||
- `zr_genericapp_LP_CC2652RB_tirtos7_ticlang`
|
||||
4. Press *Finish*.
|
||||
1. In Code Composer Studio, expand the 3 projects and for each open `zr_genericapp.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 (= `zr_genericapp_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 `zr_genericapp_[CC26X2R1/CC1352P_2/CC2652RB]_LAUNCHXL_tirtos7_ticlang/default/zr_genericapp_[CC26X2R1/CC2652RB/CC1352P_2]_LAUNCHXL_tirtos7_ticlang.hex`
|
||||
- `zr_genericapp_CC26X2R1_LAUNCHXL_tirtos7_ticlang.hex` -> CC2652R
|
||||
- `zr_genericapp_LP_CC2652RB_tirtos7_ticlang.hex` -> CC2652RB
|
||||
- `zr_genericapp_CC1352P_2_LAUNCHXL_tirtos7_ticlang.hex` -> CC1352P-2 and CC2652P
|
||||
See [coordinator compilation instructions](../../coordinator/Z-Stack_3.0.x/COMPILE.md).
|
||||
|
Reference in New Issue
Block a user