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.

TARGET_USENSE/mbed_lib.json

Committer:
AnnaBridge
Date:
2018-09-06
Revision:
170:e95d10626187
Parent:
169:a7c7b631e539

File content as of revision 170:e95d10626187:

{
    "name": "platform",
    "config": {
        "stdio-convert-newlines": {
            "help": "Enable conversion to standard newlines on stdin/stdout/stderr",
            "value": false
        },

        "stdio-convert-tty-newlines": {
            "help": "Enable conversion to standard newlines on any tty FILE stream",
            "value": false
        },

        "stdio-buffered-serial": {
            "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.",
            "value": false
        },

        "stdio-baud-rate": {
            "help": "Baud rate for stdio",
            "value": 9600
        },

        "stdio-flush-at-exit": {
            "help": "Enable or disable the flush of standard I/O's at exit.",
            "value": true
        },

        "default-serial-baud-rate": {
            "help": "Default baud rate for a Serial or RawSerial instance (if not specified in the constructor)",
            "value": 9600
        },

        "force-non-copyable-error": {
            "help": "Force compile time error when a NonCopyable object is copied",
            "value": false
        },

        "poll-use-lowpower-timer": {
            "help": "Enable use of low power timer class for poll(). May cause missing events.",
            "value": false
        },
        
        "error-hist-enabled": {
            "help": "Enable for error history tracking.",
            "value": false
        },
        
        "error-hist-size": {
            "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.",
            "value": 4
        },
        
        "error-filename-capture-enabled": {
            "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",
            "value": false
        },
        
        "error-all-threads-info": {
            "help": "Reports all the threads in the system as part of error report.",
            "value": false
        },
        
        "max-error-filename-len": {
            "help": "Sets the maximum length of buffer used for capturing the filename in error context. This needs error-filename-capture-enabled feature.",
            "value": 16
        }
    },
    "target_overrides": {
        "EFM32": {
            "stdio-baud-rate": 115200
        },
        "EFR32": {
            "stdio-baud-rate": 115200
        }
    }
}