From fab980729d2aee17258146cb6f3c7d8ed0f2e4e3 Mon Sep 17 00:00:00 2001 From: Luc <8822552+luc-github@users.noreply.github.com> Date: Fri, 4 Dec 2020 15:37:46 +0100 Subject: [PATCH] Update platformio.ini enable serial monitor in platformIO and exception decoder (not tested yet) --- platformio.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 41c6c4b1..94a2ebf2 100644 --- a/platformio.ini +++ b/platformio.ini @@ -22,6 +22,8 @@ platform = https://github.com/platformio/platform-espressif32.git board = esp32dev framework = arduino monitor_speed = 115200 +monitor_flags = --echo +monitor_filters = send_on_enter, colorize, esp32_exception_decoder ; set frequency to 240MHz board_build.f_cpu = 240000000L ; set frequency to 80MHz @@ -39,12 +41,14 @@ platform = https://github.com/platformio/platform-espressif8266.git board = esp12e framework = arduino monitor_speed = 115200 +monitor_flags = --echo +monitor_filters = send_on_enter, colorize, esp8266_exception_decoder ; set frequency to 160MHz board_build.f_cpu = 160000000L ; set frequency to 40MHz board_build.f_flash = 40000000L board_build.flash_mode = dout -upload_resetmethod = ck +upload_resetmethod = nodemcu board_build.ldscript = eagle.flash.4m2m.ld build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY @@ -64,6 +68,8 @@ platform = https://github.com/platformio/platform-espressif8266.git board = esp12e framework = arduino monitor_speed = 115200 +monitor_flags = --echo +monitor_filters = send_on_enter, colorize, esp8266_exception_decoder ; set frequency to 160MHz board_build.f_cpu = 160000000L ; set frequency to 40MHz