From 5cb7bd5cca1ac34fe7c32bb730b98e5e1744dbb5 Mon Sep 17 00:00:00 2001 From: Hugues Kamba Date: Wed, 29 Apr 2020 16:00:03 +0100 Subject: [PATCH] Convert newlines on all terminal (tty) devices by default Applications can reduce their ROM usage by replacing "\r\n" by "\n". --- platform/mbed_lib.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/mbed_lib.json b/platform/mbed_lib.json index 250ef92f99e..e5482ed8c4b 100644 --- a/platform/mbed_lib.json +++ b/platform/mbed_lib.json @@ -3,12 +3,12 @@ "config": { "stdio-convert-newlines": { "help": "Enable conversion to standard newlines on stdin/stdout/stderr", - "value": false + "value": true }, "stdio-convert-tty-newlines": { "help": "Enable conversion to standard newlines on any tty FILE stream", - "value": false + "value": true }, "stdio-buffered-serial": {