mbed_lib.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "platform",
  3. "config": {
  4. "stdio-convert-newlines": {
  5. "help": "Enable conversion to standard newlines on stdin/stdout/stderr",
  6. "value": false
  7. },
  8. "stdio-convert-tty-newlines": {
  9. "help": "Enable conversion to standard newlines on any tty FILE stream",
  10. "value": false
  11. },
  12. "stdio-buffered-serial": {
  13. "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.",
  14. "value": false
  15. },
  16. "stdio-baud-rate": {
  17. "help": "Baud rate for stdio",
  18. "value": 9600
  19. },
  20. "stdio-flush-at-exit": {
  21. "help": "Enable or disable the flush of standard I/O's at exit.",
  22. "value": true
  23. },
  24. "default-serial-baud-rate": {
  25. "help": "Default baud rate for a Serial or RawSerial instance (if not specified in the constructor)",
  26. "value": 9600
  27. },
  28. "force-non-copyable-error": {
  29. "help": "Force compile time error when a NonCopyable object is copied",
  30. "value": false
  31. },
  32. "poll-use-lowpower-timer": {
  33. "help": "Enable use of low power timer class for poll(). May cause missing events.",
  34. "value": false
  35. },
  36. "error-hist-enabled": {
  37. "help": "Enable for error history tracking.",
  38. "value": false
  39. },
  40. "error-hist-size": {
  41. "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.",
  42. "value": 4
  43. },
  44. "error-filename-capture-enabled": {
  45. "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",
  46. "value": false
  47. },
  48. "error-all-threads-info": {
  49. "help": "Reports all the threads in the system as part of error report.",
  50. "value": false
  51. },
  52. "max-error-filename-len": {
  53. "help": "Sets the maximum length of buffer used for capturing the filename in error context. This needs error-filename-capture-enabled feature.",
  54. "value": 16
  55. }
  56. },
  57. "target_overrides": {
  58. "EFM32": {
  59. "stdio-baud-rate": 115200
  60. },
  61. "EFR32": {
  62. "stdio-baud-rate": 115200
  63. }
  64. }
  65. }