Compare commits
2 Commits
842b204d36
...
b005fd5c11
| Author | SHA1 | Date |
|---|---|---|
|
|
b005fd5c11 | |
|
|
6c15b7021f |
|
|
@ -2,9 +2,8 @@ cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
# Point BOARD_ROOT and DTS_ROOT to the 'software' directory, which contains 'boards'.
|
# Point BOARD_ROOT and DTS_ROOT to the 'software' directory, which contains 'boards'.
|
||||||
list(APPEND BOARD_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
list(APPEND BOARD_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
||||||
list(APPEND DTS_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
|
||||||
|
|
||||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||||
project(slave_node)
|
project(slave_node)
|
||||||
|
|
||||||
target_sources(app PRIVATE src/main.c)
|
target_sources(app PRIVATE src/main.c)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
# --- Base Slave Node Config ---
|
# Enable Console and printk for logging
|
||||||
CONFIG_GPIO=y
|
CONFIG_CONSOLE=y
|
||||||
|
CONFIG_PRINTK=y
|
||||||
|
|
||||||
# Use RTT for console output instead of UART
|
# Enable UART console
|
||||||
CONFIG_USE_SEGGER_RTT=y
|
CONFIG_UART_CONSOLE=y
|
||||||
CONFIG_RTT_CONSOLE=y
|
|
||||||
CONFIG_UART_CONSOLE=n
|
# Disable RTT console to avoid conflicts
|
||||||
|
CONFIG_RTT_CONSOLE=n
|
||||||
Loading…
Reference in New Issue