diff --git a/platformio.ini b/platformio.ini index 5cef2822b..816373ace 100644 --- a/platformio.ini +++ b/platformio.ini @@ -188,6 +188,7 @@ extends = nrf52_base board = rak815 debug_tool = jlink upload_protocol = jlink +monitor_port = /dev/ttyUSB0 # For experimenting with RAM sizes # board_build.ldscript = linker/nrf52840_s140_sim832.ld diff --git a/src/configuration.h b/src/configuration.h index 69a62e9c4..d51978afb 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -305,7 +305,13 @@ along with this program. If not, see . // What platforms should use SEGGER? #ifdef NRF52_SERIES + +// nrf52 gets its settings via variant files +#ifndef PIN_SERIAL_RX +// No serial ports on this board - use segger in memory console #define USE_SEGGER +#endif + #else #define SERIAL0_RX_GPIO 3 // Always GPIO3 on ESP32 #endif