-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 15c268f
Showing
454 changed files
with
40,787 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
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(hid) | ||
|
||
# initialize the Raspberry Pi Pico SDK | ||
pico_sdk_init() | ||
|
||
# rest of your project | ||
|
||
add_executable(hid | ||
hid.c | ||
) | ||
|
||
target_link_libraries(hid pico_stdlib tinyusb_device tinyusb_board) | ||
|
||
include_directories(hid PRIVATE ${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
# create map/bin/hex/uf2 file in addition to ELF. | ||
pico_add_extra_outputs(hid) |
Oops, something went wrong.