# cmake version cmake_minimum_required(VERSION 3.13) # include the sdk.cmake file include(pico_sdk_import.cmake) # give the project a name (anything you want) project(vga16-graphics-project) # initialize the sdk pico_sdk_init() ####### # name anything you want add_executable(graphics_test) # must match with executable name and source file names target_sources(graphics_test PRIVATE serial_cmd.c ) # must match with executable name target_link_libraries(graphics_test PRIVATE pico_stdlib pico_bootsel_via_double_reset hardware_pio hardware_dma hardware_adc hardware_sync hardware_irq hardware_pwm hardware_spi pico_multicore) # must match with executable name pico_add_extra_outputs(graphics_test) add_compile_options(-Ofast)