Skip to content
Snippets Groups Projects
Commit 9c22c773 authored by ebp1g21's avatar ebp1g21
Browse files

Upload New File

parents
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.13)
# initialize the SDK based on PICO_SDK_PATH
# note: this must happen before project()
include(pico_sdk_import.cmake)
project(my_project)
# initialize the Raspberry Pi Pico SDK
pico_sdk_init()
# rest of your project
add_executable(main
solution.c # change this to stub if using the stub file
)
# Add pico_stdlib library which aggregates commonly used features
target_link_libraries(main
pico_stdlib
hardware_pwm
hardware_clocks
)
# create map/bin/hex/uf2 file in addition to ELF.
pico_add_extra_outputs(main)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment