fix rp2040 examples build from local tinyusb tree
This commit is contained in:
parent
f5572e24b2
commit
8782d0b8df
|
@ -17,7 +17,7 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake)
|
||||||
|
|
||||||
# TOP is absolute path to root directory of TinyUSB git repo
|
# TOP is absolute path to root directory of TinyUSB git repo
|
||||||
set(TOP "../../..")
|
set(TOP "${CMAKE_CURRENT_LIST_DIR}/../../..")
|
||||||
get_filename_component(TOP "${TOP}" REALPATH)
|
get_filename_component(TOP "${TOP}" REALPATH)
|
||||||
|
|
||||||
if (NOT PICO_TINYUSB_PATH)
|
if (NOT PICO_TINYUSB_PATH)
|
||||||
|
|
Loading…
Reference in New Issue