feat(logging): board-specific log backends (RTT for buzzy, UART for DK)
This commit is contained in:
7
firmware/boards/buzzy_nrf52840.conf
Normal file
7
firmware/boards/buzzy_nrf52840.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
### Console / Logging: RTT (no UART on buzzy)
|
||||||
|
CONFIG_UART_CONSOLE=n
|
||||||
|
CONFIG_CONSOLE=y
|
||||||
|
CONFIG_RTT_CONSOLE=y
|
||||||
|
CONFIG_USE_SEGGER_RTT=y
|
||||||
|
CONFIG_LOG_BACKEND_RTT=y
|
||||||
|
CONFIG_LOG_BACKEND_UART=n
|
||||||
4
firmware/boards/nrf52840dk_nrf52840.conf
Normal file
4
firmware/boards/nrf52840dk_nrf52840.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
### Console / Logging: UART
|
||||||
|
CONFIG_UART_CONSOLE=y
|
||||||
|
CONFIG_LOG_BACKEND_UART=y
|
||||||
|
CONFIG_LOG_BACKEND_RTT=n
|
||||||
Reference in New Issue
Block a user