diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b07cf4..b03226d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,12 +20,11 @@ if(SYSBUILD) endif() # NORDIC SDK APP START +file(GLOB_RECURSE app_sources src/*.c) target_sources(app PRIVATE - src/main.c - src/ads1256.c - src/sensor.c - src/ble_transport.c + ${app_sources} ) + target_include_directories(app PRIVATE inc )