add_executable(final_lab) add_compile_options(-Ofast) # must match with pio filename and executable name from above pico_generate_pio_header(final_lab ${CMAKE_CURRENT_LIST_DIR}/hsync.pio) pico_generate_pio_header(final_lab ${CMAKE_CURRENT_LIST_DIR}/vsync.pio) pico_generate_pio_header(final_lab ${CMAKE_CURRENT_LIST_DIR}/rgb.pio) # must match with executable name and source file names target_sources(final_lab PRIVATE main.c vga_graphics.c menu.c bluetooth.c) # Pull in our pico_stdlib which pulls in commonly used features target_link_libraries(final_lab PRIVATE pico_stdlib pico_divider pico_multicore pico_bootsel_via_double_reset hardware_pio hardware_dma hardware_adc hardware_irq hardware_clocks hardware_pll) # create map/bin/hex file etc. pico_add_extra_outputs(final_lab)