diff --git a/coordinator/Z-Stack_Home_1.2/COMPILE.md b/coordinator/Z-Stack_Home_1.2/COMPILE.md index 212de45..906f015 100644 --- a/coordinator/Z-Stack_Home_1.2/COMPILE.md +++ b/coordinator/Z-Stack_Home_1.2/COMPILE.md @@ -17,7 +17,7 @@ - Depending if you want to compile the `.hex` or SBL firmware select *- ProdHex* or *- ProdSBL* 6. Right-click on your target and press options. Go to C/C++ compiler -> preprocessor. **Remove** all *Defined symbols* and depending on what you want to compile, add the following symbols to *Defined symbols*: - Device type: `FIRMWARE_CC2530`, `FIRMWARE_CC2530_CC2591`, `FIRMWARE_CC2531` or `FIRMWARE_CC2530_CC2592` -- In case you want to compile the SBL firmware, also add `FIRMWARE_SBL`. +- If you chose for *- ProdSBL* add `FIRMWARE_SBL`. - In case you want to compile the source routing firmware, also add `SOURCE_ROUTING`. 7. Press OK. 8. Right-click on your target and click *Rebuild all*. diff --git a/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_CC2591_DEFAULT_20190608.zip b/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_CC2591_DEFAULT_20190608.zip new file mode 100644 index 0000000..b67577b Binary files /dev/null and b/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_CC2591_DEFAULT_20190608.zip differ diff --git a/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_CC2592_DEFAULT_20190608.zip b/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_CC2592_DEFAULT_20190608.zip new file mode 100644 index 0000000..08e0d28 Binary files /dev/null and b/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_CC2592_DEFAULT_20190608.zip differ diff --git a/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_DEFAULT_20190608.zip b/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_DEFAULT_20190608.zip new file mode 100644 index 0000000..78f504a Binary files /dev/null and b/coordinator/Z-Stack_Home_1.2/bin/default/CC2530_DEFAULT_20190608.zip differ diff --git a/coordinator/Z-Stack_Home_1.2/firmware.patch b/coordinator/Z-Stack_Home_1.2/firmware.patch index dc949d3..0d7582a 100644 --- a/coordinator/Z-Stack_Home_1.2/firmware.patch +++ b/coordinator/Z-Stack_Home_1.2/firmware.patch @@ -147,10 +147,10 @@ index 7c6c77e..8265ff1 100644 znpCfg1 = P2_0; diff --git a/Projects/zstack/ZNP/CC253x/Source/preinclude.h b/Projects/zstack/ZNP/CC253x/Source/preinclude.h new file mode 100644 -index 0000000..9910539 +index 0000000..e918c7d --- /dev/null +++ b/Projects/zstack/ZNP/CC253x/Source/preinclude.h -@@ -0,0 +1,117 @@ +@@ -0,0 +1,123 @@ +// Shared accross all firmwares +#define ASSERT_RESET + @@ -239,8 +239,8 @@ index 0000000..9910539 + #define NWK_MAX_DEVICE_LIST 5 + #define MAXMEMHEAP 3449 + #else -+ #define NWK_MAX_DEVICE_LIST 21 -+ #define MAXMEMHEAP 3227 ++ #define NWK_MAX_DEVICE_LIST 16 ++ #define MAXMEMHEAP 3277 + #endif + +// CC2530 + CC2591 @@ -254,8 +254,8 @@ index 0000000..9910539 + #define NWK_MAX_DEVICE_LIST 5 + #define MAXMEMHEAP 3327 + #else -+ #define NWK_MAX_DEVICE_LIST 21 -+ #define MAXMEMHEAP 3227 ++ #define NWK_MAX_DEVICE_LIST 16 ++ #define MAXMEMHEAP 3275 + #endif + +// CC2530 + CC2592 @@ -264,8 +264,14 @@ index 0000000..9910539 + #define ZTOOL_P1 + #define HAL_UART_DMA_RX_MAX 128 + #define HAL_PA_LNA_CC2592 -+ #define NWK_MAX_DEVICE_LIST 21 -+ #define MAXMEMHEAP 3225 ++ ++ #if defined SOURCE_ROUTING ++ #define NWK_MAX_DEVICE_LIST 5 ++ #define MAXMEMHEAP 3327 ++ #else ++ #define NWK_MAX_DEVICE_LIST 16 ++ #define MAXMEMHEAP 3275 ++ #endif + +#endif diff --git a/Projects/zstack/ZNP/Source/znp.cfg b/Projects/zstack/ZNP/Source/znp.cfg