adding more cmake support
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -28,6 +28,8 @@ cov-int
|
|||||||
*-build-dir
|
*-build-dir
|
||||||
/_bin/
|
/_bin/
|
||||||
__pycache__
|
__pycache__
|
||||||
|
cmake-build-*
|
||||||
|
sdkconfig
|
||||||
|
|
||||||
# submodules
|
# submodules
|
||||||
hw/mcu/allwinner
|
hw/mcu/allwinner
|
||||||
|
9
examples/CMakeLists.txt
Normal file
9
examples/CMakeLists.txt
Normal file
@@ -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)
|
3
hw/bsp/rp2040/rp2040-openocd.cfg
Normal file
3
hw/bsp/rp2040/rp2040-openocd.cfg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
source [find interface/cmsis-dap.cfg]
|
||||||
|
adapter speed 5000
|
||||||
|
source [find target/rp2040.cfg]
|
Reference in New Issue
Block a user