Skip to content

Commit e980082

Browse files
author
Jakub Rzeszutko
committed
boards: add rtt console to nrf52 boards
Added RTT Console to following boards: - nrf52_pca10040 - nrf52840_pca10056 Signed-off-by: Jakub Rzeszutko <[email protected]>
1 parent 2b9458c commit e980082

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ CONFIG_BOARD_NRF52840_PCA10056=y
77
# Enable MPU
88
CONFIG_ARM_MPU=y
99

10+
# Enable RTT
11+
CONFIG_HAS_SEGGER_RTT=y
12+
CONFIG_USE_SEGGER_RTT=y
13+
1014
# enable uart driver
1115
CONFIG_SERIAL=y
1216
CONFIG_UART_0_NRF_UART=y
1317

1418
# enable console
1519
CONFIG_CONSOLE=y
1620
CONFIG_UART_CONSOLE=y
21+
CONFIG_RTT_CONSOLE=y
1722

1823
# additional board options
1924
CONFIG_GPIO_AS_PINRESET=y

boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ CONFIG_BOARD_NRF52_PCA10040=y
77
# Enable MPU
88
CONFIG_ARM_MPU=y
99

10+
# Enable RTT
11+
CONFIG_HAS_SEGGER_RTT=y
12+
CONFIG_USE_SEGGER_RTT=y
13+
1014
# enable uart driver
1115
CONFIG_SERIAL=y
1216
CONFIG_UART_0_NRF_UART=y
1317

1418
# enable console
1519
CONFIG_CONSOLE=y
1620
CONFIG_UART_CONSOLE=y
21+
CONFIG_RTT_CONSOLE=y
1722

1823
# additional board options
1924
CONFIG_GPIO_AS_PINRESET=y

0 commit comments

Comments
 (0)