Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Jenkinsfile
- Revision:
- 53:82a191e2c133
- Parent:
- 52:27692043e962
- Child:
- 58:e0f2bf24e6db
diff -r 27692043e962 -r 82a191e2c133 Jenkinsfile
--- a/Jenkinsfile Wed Sep 20 12:17:51 2017 +0100
+++ b/Jenkinsfile Fri Sep 22 07:00:13 2017 +0100
@@ -125,8 +125,7 @@
execute("sed -i '/mbed-mesh-api.thread-device-type\":/a \"mbed-mesh-api.thread-config-panid\": \"0xBAAB\",' ${config_file}")
execute("sed -i 's/\"NANOSTACK\", \"THREAD_ROUTER\", \"COMMON_PAL\"/\"NANOSTACK\", \"THREAD_END_DEVICE\", \"COMMON_PAL\"/' ${config_file}")
execute("sed -i 's/\"mbed-mesh-api.thread-device-type\": \"MESH_DEVICE_TYPE_THREAD_ROUTER\"/\"mbed-mesh-api.thread-device-type\": \"MESH_DEVICE_TYPE_THREAD_MINIMAL_END_DEVICE\"/' ${config_file}")
-
- }
+ }
if ("${meshInterface}" == "6lp") {
config_file = "./configs/mesh_6lowpan.json"
@@ -154,6 +153,10 @@
execute("sed -i 's/mbed-mesh-api.heap-size\": .*,/mbed-mesh-api.heap-size\": 11000,/' ${config_file}")
// Limit event loop heap size
execute("sed -i '/target.features_add/ i \"nanostack-hal.event_loop_thread_stack_size\": 2048,' ${config_file}")
+ if ("${toolchain}" == "GCC_ARM" && "${meshInterface}" == "thd") {
+ execute("sed -i 's/mbed-mesh-api.heap-size\": .*,/mbed-mesh-api.heap-size\": 15000,/' ${config_file}")
+ execute("sed -i '/mbed-mesh-api.thread-device-type\":/a \"mbed-mesh-api.use-malloc-for-heap\": true,' ${config_file}")
+ }
}
// Activate traces