Skip to content

Commit

Permalink
Add CC2530_CC2591 source routing firmware.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 13, 2019
1 parent bc1443a commit 0aaefe9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
Binary file not shown.
24 changes: 18 additions & 6 deletions coordinator/Z-Stack_Home_1.2/firmware.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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..1423c15
index 0000000..f3353a1
--- /dev/null
+++ b/Projects/zstack/ZNP/CC253x/Source/preinclude.h
@@ -0,0 +1,105 @@
@@ -0,0 +1,117 @@
+// Shared accross all firmwares
+#define ASSERT_RESET
+
Expand Down Expand Up @@ -234,17 +234,29 @@ index 0000000..1423c15
+ #define ENABLE_MT_SYS_RESET_SHUTDOWN
+ #define ZTOOL_P1
+ #define CC2530_MK
+ #define NWK_MAX_DEVICE_LIST 21
+ #define MAXMEMHEAP 3227
+
+ #if defined SOURCE_ROUTING
+ #define NWK_MAX_DEVICE_LIST 5
+ #define MAXMEMHEAP 3449
+ #else
+ #define NWK_MAX_DEVICE_LIST 21
+ #define MAXMEMHEAP 3227
+ #endif
+
+// CC2530 + CC2591
+#elif defined FIRMWARE_CC2530_CC2591
+ #define ENABLE_MT_SYS_RESET_SHUTDOWN
+ #define ZTOOL_P1
+ #define HAL_UART_DMA_RX_MAX 128
+ #define HAL_PA_LNA
+ #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 21
+ #define MAXMEMHEAP 3227
+ #endif
+
+// CC2530 + CC2592
+#elif defined FIRMWARE_CC2530_CC2592
Expand Down

0 comments on commit 0aaefe9

Please sign in to comment.