refactoring

This commit is contained in:
2024-02-05 18:56:51 +03:00
parent b1007e815d
commit 194095da7d
11 changed files with 147 additions and 219 deletions

View File

@@ -19,7 +19,12 @@ project(ValveController C CXX ASM)
# Initialise the Raspberry Pi Pico SDK
pico_sdk_init()
add_executable(ValveController ValveController.cpp)
add_executable(ValveController)
file(GLOB SRCS "*.cpp" "*.c")
file(GLOB HDRS "*.h")
message("SOURCES=${SRCS}")
target_sources(ValveController PRIVATE ${SRCS} ${HDRS})
pico_set_program_name(ValveController "ValveController")
pico_set_program_version(ValveController "0.1")