Fix ESP32 build.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
07415e6e8b
commit
e18f192edf
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ set(LIBRARIES
|
|||
)
|
||||
|
||||
set(IS_CYW43 0)
|
||||
if (NOT ENABLE_EMULATION)
|
||||
if (NOT ENABLE_EMULATION AND NOT ESP_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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue