mirror of
https://github.com/Koenkk/Z-Stack-firmware.git
synced 2025-01-03 21:27:34 +01:00
Add all 20190608 firmwares.
This commit is contained in:
parent
516cffa3b4
commit
4ab0d66e28
@ -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*.
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user