Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Mar 9, 2021
0 parents commit 15c268f
Show file tree
Hide file tree
Showing 454 changed files with 40,787 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CMakeLists.txt
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)
Loading

0 comments on commit 15c268f

Please sign in to comment.