Skip to content

Commit 1ef0479

Browse files
Seppo TakaloCruz Monrreal II
authored andcommitted
On KW24D and NCS36510 default to smaller Nanostack configuration
These boards do not fit the full Nanostack, so we need to select 6LoWPAN-ND as a default.
1 parent fa8add4 commit 1ef0479

File tree

4 files changed

+30
-1
lines changed

4 files changed

+30
-1
lines changed

features/nanostack/mbed-mesh-api/mbed_lib.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,14 @@
109109
"help": "Commissioning security policy bits [0-0xFF]",
110110
"value": 255
111111
}
112+
},
113+
"target_overrides": {
114+
"KW24D": {
115+
"mbed-mesh-api.use-malloc-for-heap": true,
116+
"mbed-mesh-api.heap-size": 14000
117+
},
118+
"NCS36510": {
119+
"mbed-mesh-api.heap-size": 14000
120+
}
112121
}
113122
}

features/nanostack/sal-stack-nanostack/mbed_lib.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@
66
"value": "nanostack_full"
77
}
88
},
9-
"macros": ["NS_USE_EXTERNAL_MBED_TLS"]
9+
"macros": ["NS_USE_EXTERNAL_MBED_TLS"],
10+
"target_overrides": {
11+
"KW24D": {
12+
"nanostack.configuration": "lowpan_router"
13+
},
14+
"NCS36510": {
15+
"nanostack.configuration": "lowpan_router"
16+
}
17+
}
1018
}

features/netsocket/mbed_lib.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,13 @@
2929
"help": "Number of cached host name resolutions",
3030
"value": 3
3131
}
32+
},
33+
"target_overrides": {
34+
"KW24D": {
35+
"nsapi.default-mesh-type": "LOWPAN"
36+
},
37+
"NCS36510": {
38+
"nsapi.default-mesh-type": "LOWPAN"
39+
}
3240
}
3341
}

tools/test_configs/target_configs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@
4242
"NUCLEO_F401RE": {
4343
"default_test_configuration": "NONE",
4444
"test_configurations": ["IDW0XX1_WIFI"]
45+
},
46+
"KW24D": {
47+
"default_test_configuration": "6LOWPAN_HOST",
48+
"test_configurations": ["6LOWPAN_HOST", "6LOWPAN_ROUTER", "THREAD_END_DEVICE", "THREAD_ROUTER"]
4549
}
4650
}

0 commit comments

Comments
 (0)