summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: e372541c8a36cfe5f54038176a25aebe4437b036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
add_executable(ads
               active_drag_system.cpp
               spi_flash.c
               imu.cpp
               pwm.cpp
               altimeter.cpp
               kalman_filter.cpp
)

target_link_libraries(ads pico_stdlib pico_multicore pico_sync hardware_i2c hardware_spi hardware_pwm hardware_adc pico_cyw43_arch_none ${Eigen_LIBRARIES})
target_include_directories(ads PUBLIC ../include)

pico_enable_stdio_usb(ads 0)
pico_enable_stdio_uart(ads 0)

pico_add_extra_outputs(ads)