You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a config option for the following values:
MBED_SYS_STATS_ENABLED
MBED_STACK_STATS_ENABLED
MBED_CPU_STATS_ENABLED
MBED_HEAP_STATS_ENABLED
MBED_THREAD_STATS_ENABLED
MBED_CONF_APP_MAIN_STACK_SIZE
MBED_CONF_APP_TIMER_THREAD_STACK_SIZE
MBED_CONF_APP_IDLE_THREAD_STACK_SIZE
MBED_CONF_APP_THREAD_STACK_SIZE
To maintain backwards compatibility inside the RTOS both
APP and RTOS config values can be used.
Copy file name to clipboardExpand all lines: platform/mbed_lib.json
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,31 @@
70
70
"help": "Enable tracing of each memory call by invoking a callback on each memory operation. See mbed_mem_trace.h in the HAL API for more information",
71
71
"value": false
72
72
},
73
+
"sys-stats-enabled": {
74
+
"macro_name": "MBED_SYS_STATS_ENABLED",
75
+
"help": "Set to 1 to enable system stats. When enabled the function mbed_stats_sys_get returns non-zero data. See mbed_stats.h for more information",
76
+
"value": null
77
+
},
78
+
"stack-stats-enabled": {
79
+
"macro_name": "MBED_STACK_STATS_ENABLED",
80
+
"help": "Set to 1 to enable stack stats. When enabled the functions mbed_stats_stack_get and mbed_stats_stack_get_each return non-zero data. See mbed_stats.h for more information",
81
+
"value": null
82
+
},
83
+
"cpu-stats-enabled": {
84
+
"macro_name": "MBED_CPU_STATS_ENABLED",
85
+
"help": "Set to 1 to enable cpu stats. When enabled the function mbed_stats_cpu_get returns non-zero data. See mbed_stats.h for more information",
86
+
"value": null
87
+
},
88
+
"heap-stats-enabled": {
89
+
"macro_name": "MBED_HEAP_STATS_ENABLED",
90
+
"help": "Set to 1 to enable heap stats. When enabled the function mbed_stats_heap_get returns non-zero data. See mbed_stats.h for more information",
91
+
"value": null
92
+
},
93
+
"thread-stats-enabled": {
94
+
"macro_name": "MBED_THREAD_STATS_ENABLED",
95
+
"help": "Set to 1 to enable thread stats. When enabled the function mbed_stats_thread_get_each returns non-zero data. See mbed_stats.h for more information",
96
+
"value": null
97
+
},
73
98
"error-decode-http-url-str": {
74
99
"help": "HTTP URL string for ARM Mbed-OS Error Decode microsite",
75
100
"value": "\"\\nFor more info, visit: https:/\\/armmbed.github.io/mbedos-error/?error=0x%08X\""
0 commit comments