Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.

Revision:
105:d9f83743ed4f
Parent:
82:3d9e3b7b3dcf
--- a/mbed_app.json	Thu Sep 12 08:02:13 2019 +0100
+++ b/mbed_app.json	Thu Sep 26 10:02:16 2019 +0100
@@ -1,9 +1,5 @@
 {
     "config": {
-        "heap-size": {
-             "help": "The amount of static RAM to reserve for nsdynmemlib heap",
-             "value": 40000
-        },
         "radio-type":{
             "help": "options are ATMEL, MCR20, SPIRIT1",
             "value": "ATMEL"
@@ -20,6 +16,10 @@
             "help": "Where to get EUI48 address. Options are BOARD, CONFIG",
             "value": "BOARD"
         },
+        "nanostack_extended_heap": {
+            "help": "Add additional memory region to nanostack heap. Valid only for selected platforms. Region size may vary depending of the toolchain.",
+            "value": false
+        },
         "backhaul-mac": "{0x02, 0x00, 0x00, 0x00, 0x00, 0x01}",
         "slip_hw_flow_control": "false",
         "slip_serial_baud_rate": "921600",
@@ -70,7 +70,9 @@
             "nanostack.configuration": "lowpan_border_router",
             "platform.stdio-convert-newlines": true,
             "platform.stdio-baud-rate": 115200,
-            "mbed-mesh-api.use-malloc-for-heap": true
+            "mbed-mesh-api.heap-size": 40000,
+            "mbed-mesh-api.heap-stat-info": "&memory_heap_stat",
+            "mbed-mesh-api.heap-stat-info-definition": "mem_stat_t memory_heap_stat;"
         },
         "K64F": {
             "LED": "LED_GREEN",