From 6c15b7021fb0edde5b3af2c2db84c68b19d51874 Mon Sep 17 00:00:00 2001 From: Eduard Iten Date: Tue, 1 Jul 2025 12:09:36 +0200 Subject: [PATCH] refactor(slave_node): Clean up initial configuration - Remove redundant DTS_ROOT from CMakeLists.txt as it's inferred from BOARD_ROOT. - Clear the project configuration (prj.conf) to start with a minimal baseline. --- software/apps/slave_node/CMakeLists.txt | 3 +-- software/apps/slave_node/prj.conf | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/software/apps/slave_node/CMakeLists.txt b/software/apps/slave_node/CMakeLists.txt index 65606a4..85a4f8f 100644 --- a/software/apps/slave_node/CMakeLists.txt +++ b/software/apps/slave_node/CMakeLists.txt @@ -2,9 +2,8 @@ cmake_minimum_required(VERSION 3.20) # Point BOARD_ROOT and DTS_ROOT to the 'software' directory, which contains 'boards'. list(APPEND BOARD_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..) -list(APPEND DTS_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(slave_node) -target_sources(app PRIVATE src/main.c) \ No newline at end of file +target_sources(app PRIVATE src/main.c) diff --git a/software/apps/slave_node/prj.conf b/software/apps/slave_node/prj.conf index 1777e80..e69de29 100644 --- a/software/apps/slave_node/prj.conf +++ b/software/apps/slave_node/prj.conf @@ -1,7 +0,0 @@ -# --- Base Slave Node Config --- -CONFIG_GPIO=y - -# Use RTT for console output instead of UART -CONFIG_USE_SEGGER_RTT=y -CONFIG_RTT_CONSOLE=y -CONFIG_UART_CONSOLE=n