comparison CMakeLists.txt @ 9:3acdebd7eec7

Make it actually work
author Daniel O'Connor <darius@dons.net.au>
date Fri, 21 Feb 2025 17:27:22 +1030
parents 2db42eaba3c8
children 56a79dce90e9
comparison
equal deleted inserted replaced
8:0249d0cecac4 9:3acdebd7eec7
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}/trigger.pio)
29 30
30 target_link_libraries(${NAME} 31 target_link_libraries(${NAME}
31 pico_stdlib 32 pico_stdlib
32 hardware_clocks 33 hardware_clocks
33 hardware_dma 34 hardware_dma