mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Fix non-pico build.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -319,7 +319,7 @@ set(LIBRARIES
|
||||
)
|
||||
|
||||
set(IS_CYW43 0)
|
||||
if (NOT ENABLE_EMULATION AND NOT ESP_PLATFORM)
|
||||
if (PICO_PLATFORM)
|
||||
file(READ ${PICO_SDK_PATH}/src/boards/include/boards/${PICO_BOARD}.h content)
|
||||
string(REGEX MATCHALL "CYW43_WL_GPIO_LED_PIN" _ ${content})
|
||||
if (CMAKE_MATCH_0)
|
||||
|
||||
Reference in New Issue
Block a user