generated from Weckyy702/pico-nix
By just counting the gpio mask up, we can see the different voltages update they should :^)
24 lines
362 B
CMake
24 lines
362 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
include(pico_sdk_import.cmake)
|
|
|
|
project(PicoVGA C CXX ASM)
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
pico_sdk_init()
|
|
|
|
add_executable(main
|
|
src/main.cpp
|
|
)
|
|
|
|
target_link_libraries(main
|
|
pico_stdlib
|
|
hardware_gpio
|
|
)
|
|
|
|
pico_add_extra_outputs(main)
|
|
pico_enable_stdio_usb(main 0)
|
|
pico_enable_stdio_uart(main 1)
|