Skip to content

Commit 99315bc

Browse files
committed
adding more cmake support
1 parent 5add4c9 commit 99315bc

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ cov-int
2828
*-build-dir
2929
/_bin/
3030
__pycache__
31+
cmake-build-*
32+
sdkconfig
3133

3234
# submodules
3335
hw/mcu/allwinner

examples/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cmake_minimum_required(VERSION 3.5)
2+
3+
include(${CMAKE_CURRENT_SOURCE_DIR}/../hw/bsp/family_support.cmake)
4+
5+
project(tinyusb_examples)
6+
7+
add_subdirectory(device)
8+
add_subdirectory(dual)
9+
add_subdirectory(host)

hw/bsp/rp2040/rp2040-openocd.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source [find interface/cmsis-dap.cfg]
2+
adapter speed 5000
3+
source [find target/rp2040.cfg]

0 commit comments

Comments
 (0)