mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-05-22 23:49:41 +02:00
22 lines
401 B
CMake
22 lines
401 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
include(pico_sdk_import.cmake)
|
|
project(0x0017_constant C CXX ASM)
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
pico_sdk_init()
|
|
|
|
add_executable(0x0017_constant
|
|
main.c
|
|
)
|
|
|
|
pico_enable_stdio_usb(0x0017_constant 1)
|
|
pico_enable_stdio_uart(0x0017_constant 1)
|
|
|
|
pico_add_extra_outputs(0x0017_constant)
|
|
|
|
target_link_libraries(0x0017_constant
|
|
pico_stdlib
|
|
)
|