openrcore/CMakeLists.txt
Aaron Cook 8f0f0a0535 Add basic ADC support
Planning on abstracting this behind hardware setup APIs, but this works
for a simple demo until then
2025-09-08 15:38:08 -05:00

20 lines
398 B
CMake

cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(openrcore)
target_include_directories(app PRIVATE .)
target_sources(app PRIVATE
core/main.c
core/ble.c
core/routine.c
core/hardware/adc.c
)
# User routines to compile
target_sources(app PRIVATE
routines/routine_list.c
routines/input_echo.c
routines/photosensor.c
)