Attempt to improve source routing firmware.

This commit is contained in:
Koen Kanters 2019-06-11 20:29:11 +02:00
parent e775bfab55
commit bc1443af1d
4 changed files with 12 additions and 9 deletions

View File

@ -1,4 +1,7 @@
# 20191008
# 20190611
- Attempt to improve source routing firmware
# 20190608
- One firmware doesn't seem to be feasible, also add source routing firmware
# 20190608

View File

@ -65,11 +65,11 @@ index 35aae57..1f8ee82 100644
diff --git a/Components/mt/revision_info.h b/Components/mt/revision_info.h
new file mode 100644
index 0000000..efbe7a1
index 0000000..9d8be24
--- /dev/null
+++ b/Components/mt/revision_info.h
@@ -0,0 +1 @@
+#define CODE_REVISION_NUMBER 20190610
+#define CODE_REVISION_NUMBER 20190611
diff --git a/Components/stack/af/AF.c b/Components/stack/af/AF.c
index c6183b6..2b885b6 100644
--- a/Components/stack/af/AF.c
@ -147,7 +147,7 @@ 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..5342d26
index 0000000..1423c15
--- /dev/null
+++ b/Projects/zstack/ZNP/CC253x/Source/preinclude.h
@@ -0,0 +1,105 @@
@ -204,10 +204,10 @@ index 0000000..5342d26
+
+#if defined SOURCE_ROUTING
+ #define CONCENTRATOR_ROUTE_CACHE TRUE
+ #define MAX_RTG_SRC_ENTRIES 50
+ #define MAX_RTG_SRC_ENTRIES 40
+ #undef MAX_RTG_ENTRIES
+ #define MAX_RTG_ENTRIES 5
+ #define MAX_NEIGHBOR_ENTRIES 14
+ #define MAX_RTG_ENTRIES 20
+ #define MAX_NEIGHBOR_ENTRIES 16
+ #define SRC_RTG_EXPIRY_TIME 0
+#else
+ #define CONCENTRATOR_ROUTE_CACHE FALSE
@ -221,8 +221,8 @@ index 0000000..5342d26
+#if defined FIRMWARE_CC2531
+ #define CC2531ZNP
+ #if defined SOURCE_ROUTING
+ #define NWK_MAX_DEVICE_LIST 10
+ #define MAXMEMHEAP 3399
+ #define NWK_MAX_DEVICE_LIST 5
+ #define MAXMEMHEAP 3449
+ #else
+ #define NWK_MAX_DEVICE_LIST 20
+ #define MAXMEMHEAP 3285