comparison CMakeLists.txt @ 16:56a79dce90e9

Commit WIP ctrl code
author Daniel O'Connor <darius@dons.net.au>
date Tue, 25 Feb 2025 13:31:27 +1030
parents 3acdebd7eec7
children
comparison
equal deleted inserted replaced
15:bf483219cb12 16:56a79dce90e9
24 set_source_files_properties(q/q.c PROPERTIES COMPILE_OPTIONS -DQVERSION=0x902) 24 set_source_files_properties(q/q.c PROPERTIES COMPILE_OPTIONS -DQVERSION=0x902)
25 # XXX: this didn't work - everything got the flags 25 # XXX: this didn't work - everything got the flags
26 #target_compile_options(${NAME} PRIVATE -Wall -Wextra -Werror) 26 #target_compile_options(${NAME} PRIVATE -Wall -Wextra -Werror)
27 27
28 pico_generate_pio_header(${NAME} ${CMAKE_CURRENT_LIST_DIR}/dac.pio) 28 pico_generate_pio_header(${NAME} ${CMAKE_CURRENT_LIST_DIR}/dac.pio)
29 pico_generate_pio_header(${NAME} ${CMAKE_CURRENT_LIST_DIR}/ctrl.pio)
29 pico_generate_pio_header(${NAME} ${CMAKE_CURRENT_LIST_DIR}/trigger.pio) 30 pico_generate_pio_header(${NAME} ${CMAKE_CURRENT_LIST_DIR}/trigger.pio)
30 31
31 target_link_libraries(${NAME} 32 target_link_libraries(${NAME}
32 pico_stdlib 33 pico_stdlib
33 hardware_clocks 34 hardware_clocks