The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Wed Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 171:3a7713b1edbc 1 {
AnnaBridge 171:3a7713b1edbc 2 "name": "platform",
AnnaBridge 171:3a7713b1edbc 3 "config": {
AnnaBridge 171:3a7713b1edbc 4 "stdio-convert-newlines": {
AnnaBridge 171:3a7713b1edbc 5 "help": "Enable conversion to standard newlines on stdin/stdout/stderr",
AnnaBridge 171:3a7713b1edbc 6 "value": false
AnnaBridge 171:3a7713b1edbc 7 },
AnnaBridge 171:3a7713b1edbc 8
AnnaBridge 171:3a7713b1edbc 9 "stdio-convert-tty-newlines": {
AnnaBridge 171:3a7713b1edbc 10 "help": "Enable conversion to standard newlines on any tty FILE stream",
AnnaBridge 171:3a7713b1edbc 11 "value": false
AnnaBridge 171:3a7713b1edbc 12 },
AnnaBridge 171:3a7713b1edbc 13
AnnaBridge 171:3a7713b1edbc 14 "stdio-buffered-serial": {
AnnaBridge 171:3a7713b1edbc 15 "help": "Use UARTSerial driver to obtain buffered serial I/O on stdin/stdout/stderr. If false, unbuffered serial_getc and serial_putc are used directly.",
AnnaBridge 171:3a7713b1edbc 16 "value": false
AnnaBridge 171:3a7713b1edbc 17 },
AnnaBridge 171:3a7713b1edbc 18
AnnaBridge 171:3a7713b1edbc 19 "stdio-baud-rate": {
AnnaBridge 171:3a7713b1edbc 20 "help": "Baud rate for stdio",
AnnaBridge 171:3a7713b1edbc 21 "value": 9600
AnnaBridge 171:3a7713b1edbc 22 },
AnnaBridge 171:3a7713b1edbc 23
AnnaBridge 171:3a7713b1edbc 24 "stdio-flush-at-exit": {
AnnaBridge 171:3a7713b1edbc 25 "help": "Enable or disable the flush of standard I/O's at exit.",
AnnaBridge 171:3a7713b1edbc 26 "value": true
AnnaBridge 171:3a7713b1edbc 27 },
AnnaBridge 171:3a7713b1edbc 28
AnnaBridge 171:3a7713b1edbc 29 "default-serial-baud-rate": {
AnnaBridge 171:3a7713b1edbc 30 "help": "Default baud rate for a Serial or RawSerial instance (if not specified in the constructor)",
AnnaBridge 171:3a7713b1edbc 31 "value": 9600
AnnaBridge 171:3a7713b1edbc 32 },
AnnaBridge 171:3a7713b1edbc 33
AnnaBridge 171:3a7713b1edbc 34 "force-non-copyable-error": {
AnnaBridge 171:3a7713b1edbc 35 "help": "Force compile time error when a NonCopyable object is copied",
AnnaBridge 171:3a7713b1edbc 36 "value": false
AnnaBridge 171:3a7713b1edbc 37 },
AnnaBridge 171:3a7713b1edbc 38
AnnaBridge 171:3a7713b1edbc 39 "poll-use-lowpower-timer": {
AnnaBridge 171:3a7713b1edbc 40 "help": "Enable use of low power timer class for poll(). May cause missing events.",
AnnaBridge 171:3a7713b1edbc 41 "value": false
AnnaBridge 171:3a7713b1edbc 42 },
AnnaBridge 172:65be27845400 43
AnnaBridge 171:3a7713b1edbc 44 "error-hist-enabled": {
AnnaBridge 171:3a7713b1edbc 45 "help": "Enable for error history tracking.",
AnnaBridge 171:3a7713b1edbc 46 "value": false
AnnaBridge 171:3a7713b1edbc 47 },
AnnaBridge 172:65be27845400 48
AnnaBridge 171:3a7713b1edbc 49 "error-hist-size": {
AnnaBridge 171:3a7713b1edbc 50 "help": "Set the number of most recent errors the system keeps in its history, needs error-hist-enabled set to true for this to work.",
AnnaBridge 171:3a7713b1edbc 51 "value": 4
AnnaBridge 171:3a7713b1edbc 52 },
AnnaBridge 172:65be27845400 53
AnnaBridge 171:3a7713b1edbc 54 "error-filename-capture-enabled": {
AnnaBridge 171:3a7713b1edbc 55 "help": "Enables capture of filename and line number as part of error context capture, this works only for debug and develop builds. On release builds, filename capture is always disabled",
AnnaBridge 171:3a7713b1edbc 56 "value": false
AnnaBridge 171:3a7713b1edbc 57 },
AnnaBridge 172:65be27845400 58
AnnaBridge 171:3a7713b1edbc 59 "error-all-threads-info": {
AnnaBridge 171:3a7713b1edbc 60 "help": "Reports all the threads in the system as part of error report.",
AnnaBridge 171:3a7713b1edbc 61 "value": false
AnnaBridge 171:3a7713b1edbc 62 },
AnnaBridge 172:65be27845400 63
AnnaBridge 171:3a7713b1edbc 64 "max-error-filename-len": {
AnnaBridge 171:3a7713b1edbc 65 "help": "Sets the maximum length of buffer used for capturing the filename in error context. This needs error-filename-capture-enabled feature.",
AnnaBridge 171:3a7713b1edbc 66 "value": 16
AnnaBridge 171:3a7713b1edbc 67 },
AnnaBridge 172:65be27845400 68
AnnaBridge 171:3a7713b1edbc 69 "memory-tracing-enabled": {
AnnaBridge 171:3a7713b1edbc 70 "macro_name": "MBED_MEM_TRACING_ENABLED",
AnnaBridge 171:3a7713b1edbc 71 "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",
AnnaBridge 172:65be27845400 72 "value": null
AnnaBridge 171:3a7713b1edbc 73 },
AnnaBridge 172:65be27845400 74
AnnaBridge 172:65be27845400 75 "all-stats-enabled": {
AnnaBridge 172:65be27845400 76 "macro_name": "MBED_ALL_STATS_ENABLED",
AnnaBridge 172:65be27845400 77 "help": "Set to 1 to enable all platform stats. When enabled the functions mbed_stats_*_get returns non-zero data. See mbed_stats.h for more information",
AnnaBridge 172:65be27845400 78 "value": null
AnnaBridge 172:65be27845400 79 },
AnnaBridge 172:65be27845400 80
AnnaBridge 171:3a7713b1edbc 81 "sys-stats-enabled": {
AnnaBridge 171:3a7713b1edbc 82 "macro_name": "MBED_SYS_STATS_ENABLED",
AnnaBridge 171:3a7713b1edbc 83 "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",
AnnaBridge 171:3a7713b1edbc 84 "value": null
AnnaBridge 171:3a7713b1edbc 85 },
AnnaBridge 172:65be27845400 86
AnnaBridge 171:3a7713b1edbc 87 "stack-stats-enabled": {
AnnaBridge 171:3a7713b1edbc 88 "macro_name": "MBED_STACK_STATS_ENABLED",
AnnaBridge 171:3a7713b1edbc 89 "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",
AnnaBridge 171:3a7713b1edbc 90 "value": null
AnnaBridge 171:3a7713b1edbc 91 },
AnnaBridge 172:65be27845400 92
AnnaBridge 171:3a7713b1edbc 93 "cpu-stats-enabled": {
AnnaBridge 171:3a7713b1edbc 94 "macro_name": "MBED_CPU_STATS_ENABLED",
AnnaBridge 171:3a7713b1edbc 95 "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",
AnnaBridge 171:3a7713b1edbc 96 "value": null
AnnaBridge 171:3a7713b1edbc 97 },
AnnaBridge 172:65be27845400 98
AnnaBridge 171:3a7713b1edbc 99 "heap-stats-enabled": {
AnnaBridge 171:3a7713b1edbc 100 "macro_name": "MBED_HEAP_STATS_ENABLED",
AnnaBridge 171:3a7713b1edbc 101 "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",
AnnaBridge 171:3a7713b1edbc 102 "value": null
AnnaBridge 171:3a7713b1edbc 103 },
AnnaBridge 172:65be27845400 104
AnnaBridge 171:3a7713b1edbc 105 "thread-stats-enabled": {
AnnaBridge 171:3a7713b1edbc 106 "macro_name": "MBED_THREAD_STATS_ENABLED",
AnnaBridge 171:3a7713b1edbc 107 "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",
AnnaBridge 171:3a7713b1edbc 108 "value": null
AnnaBridge 171:3a7713b1edbc 109 },
AnnaBridge 172:65be27845400 110
AnnaBridge 171:3a7713b1edbc 111 "error-decode-http-url-str": {
AnnaBridge 171:3a7713b1edbc 112 "help": "HTTP URL string for ARM Mbed-OS Error Decode microsite",
AnnaBridge 171:3a7713b1edbc 113 "value": "\"\\nFor more info, visit: https://armmbed.github.io/mbedos-error/?error=0x%08X\""
AnnaBridge 172:65be27845400 114 },
AnnaBridge 172:65be27845400 115
AnnaBridge 172:65be27845400 116 "cthunk_count_max": {
AnnaBridge 172:65be27845400 117 "help": "The maximum CThunk objects used at the same time. This must be greater than 0 and less 256",
AnnaBridge 172:65be27845400 118 "value": 8
AnnaBridge 172:65be27845400 119 },
AnnaBridge 172:65be27845400 120 "crash-capture-enabled": {
AnnaBridge 172:65be27845400 121 "help": "Enables crash context capture when the system enters a fatal error/crash.",
AnnaBridge 172:65be27845400 122 "value": false
AnnaBridge 172:65be27845400 123 },
AnnaBridge 172:65be27845400 124 "error-reboot-max": {
AnnaBridge 172:65be27845400 125 "help": "Maximum number of auto reboots permitted when an error happens.",
AnnaBridge 172:65be27845400 126 "value": 1
AnnaBridge 172:65be27845400 127 },
AnnaBridge 172:65be27845400 128 "fatal-error-auto-reboot-enabled": {
AnnaBridge 172:65be27845400 129 "help": "Setting this to true enables auto-reboot on a fatal error.",
AnnaBridge 172:65be27845400 130 "value": false
AnnaBridge 172:65be27845400 131 },
AnnaBridge 172:65be27845400 132 "use-mpu": {
AnnaBridge 172:65be27845400 133 "help": "Use the MPU if available to fault execution from RAM and writes to ROM. Can be disabled to reduce image size.",
AnnaBridge 172:65be27845400 134 "value": true
AnnaBridge 171:3a7713b1edbc 135 }
AnnaBridge 171:3a7713b1edbc 136 },
AnnaBridge 171:3a7713b1edbc 137 "target_overrides": {
AnnaBridge 171:3a7713b1edbc 138 "EFM32": {
AnnaBridge 171:3a7713b1edbc 139 "stdio-baud-rate": 115200
AnnaBridge 171:3a7713b1edbc 140 },
AnnaBridge 171:3a7713b1edbc 141 "EFR32": {
AnnaBridge 171:3a7713b1edbc 142 "stdio-baud-rate": 115200
AnnaBridge 172:65be27845400 143 },
AnnaBridge 172:65be27845400 144 "UNO_91H": {
AnnaBridge 172:65be27845400 145 "stdio-baud-rate": 115200
AnnaBridge 172:65be27845400 146 },
AnnaBridge 172:65be27845400 147 "DISCO_L475VG_IOT01A": {
AnnaBridge 172:65be27845400 148 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 149 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 150 },
AnnaBridge 172:65be27845400 151 "K64F": {
AnnaBridge 172:65be27845400 152 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 153 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 154 },
AnnaBridge 172:65be27845400 155 "K66F": {
AnnaBridge 172:65be27845400 156 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 157 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 158 },
AnnaBridge 172:65be27845400 159 "NUCLEO_F429ZI": {
AnnaBridge 172:65be27845400 160 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 161 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 162 },
AnnaBridge 172:65be27845400 163 "NUCLEO_F746ZG": {
AnnaBridge 172:65be27845400 164 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 165 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 166 },
AnnaBridge 172:65be27845400 167 "NUCLEO_F767ZI": {
AnnaBridge 172:65be27845400 168 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 169 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 170 },
AnnaBridge 172:65be27845400 171 "NUCLEO_H743ZI": {
AnnaBridge 172:65be27845400 172 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 173 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 174 },
AnnaBridge 172:65be27845400 175 "NUCLEO_F439ZI": {
AnnaBridge 172:65be27845400 176 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 177 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 178 },
AnnaBridge 172:65be27845400 179 "UBLOX_EVK_ODIN_W2": {
AnnaBridge 172:65be27845400 180 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 181 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 182 },
AnnaBridge 172:65be27845400 183 "UBLOX_C030_U201": {
AnnaBridge 172:65be27845400 184 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 185 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 186 },
AnnaBridge 172:65be27845400 187 "NUMAKER_PFM_M487": {
AnnaBridge 172:65be27845400 188 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 189 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 190 },
AnnaBridge 172:65be27845400 191 "NRF52840_DK": {
AnnaBridge 172:65be27845400 192 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 193 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 194 },
AnnaBridge 172:65be27845400 195 "NUCLEO_L476RG": {
AnnaBridge 172:65be27845400 196 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 197 "fatal-error-auto-reboot-enabled": true
AnnaBridge 172:65be27845400 198 },
AnnaBridge 172:65be27845400 199 "NUCLEO_F411RE": {
AnnaBridge 172:65be27845400 200 "crash-capture-enabled": true,
AnnaBridge 172:65be27845400 201 "fatal-error-auto-reboot-enabled": true
AnnaBridge 171:3a7713b1edbc 202 }
AnnaBridge 171:3a7713b1edbc 203 }
AnnaBridge 171:3a7713b1edbc 204 }