Last active
March 11, 2021 02:01
-
-
Save Tamakichi/a9c5c66b5e12df019f767fd6bd82210e to your computer and use it in GitHub Desktop.
Raspberry Pi Pico Lチカ用CMakeファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.13) | |
message("** LEDサンプルプログラム **") | |
# initialize the SDK based on PICO_SDK_PATH | |
# note: this must happen before project() | |
include(pico_sdk_import.cmake) | |
project(led) | |
# initialize the Raspberry Pi Pico SDK | |
pico_sdk_init() | |
add_executable(led | |
led.c | |
) | |
# Pull in our pico_stdlib which pulls in commonly used features | |
target_link_libraries(led pico_stdlib) | |
# create map/bin/hex file etc. | |
pico_add_extra_outputs(led) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment