This commit is contained in:
Crispy 2025-06-10 23:53:19 +02:00
commit 06509795a2
5 changed files with 165 additions and 0 deletions

21
CMakeLists.txt Normal file
View file

@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.13...3.27)
# initialize the SDK based on PICO_SDK_PATH
# note: this must happen before project()
include(pico_sdk_import.cmake)
project(Bunger)
# initialize the Raspberry Pi Pico SDK
pico_sdk_init()
# rest of your project
add_executable(bunger
src/main.c
)
# Add pico_stdlib library which aggregates commonly used features
target_link_libraries(bunger pico_stdlib)
# create map/bin/hex/uf2 file in addition to ELF.
pico_add_extra_outputs(bunger)