cmake_minimum_required(VERSION 3.13) include(pico_sdk_import.cmake) project(Protothreads_2_core) pico_sdk_init() add_executable(Protothreads_2_core DMA_machine_test3.c # DMA_machine.c ) pico_enable_stdio_usb(Protothreads_2_core 0) pico_enable_stdio_uart(Protothreads_2_core 1) pico_add_extra_outputs(Protothreads_2_core) target_link_libraries(Protothreads_2_core pico_stdlib pico_multicore hardware_dma hardware_gpio hardware_spi pico_bootsel_via_double_reset )