diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | examples/CMakeLists.txt | 9 | ||||
| -rw-r--r-- | hw/bsp/rp2040/rp2040-openocd.cfg | 3 |
3 files changed, 14 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index bd4271925..268decfc6 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,8 @@ cov-int *-build-dir /_bin/ __pycache__ +cmake-build-* +sdkconfig # submodules hw/mcu/allwinner diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 000000000..8f5626fa9 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.5) + +include(${CMAKE_CURRENT_SOURCE_DIR}/../hw/bsp/family_support.cmake) + +project(tinyusb_examples) + +add_subdirectory(device) +add_subdirectory(dual) +add_subdirectory(host) diff --git a/hw/bsp/rp2040/rp2040-openocd.cfg b/hw/bsp/rp2040/rp2040-openocd.cfg new file mode 100644 index 000000000..3364c595e --- /dev/null +++ b/hw/bsp/rp2040/rp2040-openocd.cfg @@ -0,0 +1,3 @@ +source [find interface/cmsis-dap.cfg] +adapter speed 5000 +source [find target/rp2040.cfg] |
