Skip to content

Commit 88c4add

Browse files
committed
variants: simplify mbed_app.json
1 parent 2376c32 commit 88c4add

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

variants/ARDUINO_NANO33BLE/conf/mbed_app.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
{
22
"macros": [
3-
"MBED_HEAP_STATS_ENABLED=1",
4-
"MBED_STACK_STATS_ENABLED=1",
5-
"MBED_MEM_TRACING_ENABLED=1",
63
"NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS=8"
74
],
85
"target_overrides": {
96
"*": {
107
"target.printf_lib": "std",
11-
"platform.stdio-buffered-serial": true,
8+
"platform.stdio-buffered-serial": false,
129
"platform.stdio-baud-rate": 115200,
1310
"platform.default-serial-baud-rate": 115200,
1411
"platform.callback-nontrivial": true,
1512
"rtos.main-thread-stack-size": 32768,
1613
"cordio.max-connections": 5,
14+
"platform.all-stats-enabled": true,
1715
"target.mbed_app_start": "0x10000"
1816
}
1917
}

variants/PORTENTA_H7_M4/conf/mbed_app.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
"target_overrides": {
33
"*": {
44
"target.printf_lib": "std",
5+
"platform.stdio-buffered-serial": false,
56
"target.usb_speed": "USE_USB_OTG_FS",
67
"platform.stdio-baud-rate": 115200,
78
"platform.default-serial-baud-rate": 115200,
89
"platform.callback-nontrivial": true,
10+
"platform.all-stats-enabled": true,
911
"rtos.main-thread-stack-size": 32768,
1012
"cordio.max-connections": 5,
1113
"target.macros_add": [
12-
"MBED_HEAP_STATS_ENABLED=1",
13-
"MBED_STACK_STATS_ENABLED=1",
14-
"MBED_MEM_TRACING_ENABLED=1",
1514
"METAL_INTERNAL",
1615
"VIRTIO_SLAVE_ONLY",
1716
"NO_ATOMIC_64_SUPPORT",

variants/PORTENTA_H7_M7/conf/mbed_app.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
"target_overrides": {
33
"*": {
44
"target.printf_lib": "std",
5-
"platform.stdio-buffered-serial": true,
5+
"platform.stdio-buffered-serial": false,
66
"platform.stdio-baud-rate": 115200,
77
"platform.default-serial-baud-rate": 115200,
88
"platform.callback-nontrivial": true,
9+
"platform.all-stats-enabled": true,
10+
"platform.memory-tracing-enabled": true,
911
"rtos.main-thread-stack-size": 32768,
1012
"cordio.max-connections": 5,
1113
"target.mbed_app_start": "0x8040000",
1214
"target.macros_add": [
13-
"MBED_HEAP_STATS_ENABLED=1",
14-
"MBED_STACK_STATS_ENABLED=1",
15-
"MBED_MEM_TRACING_ENABLED=1",
1615
"METAL_INTERNAL",
1716
"VIRTIO_MASTER_ONLY",
1817
"NO_ATOMIC_64_SUPPORT",

0 commit comments

Comments
 (0)