Fix unexpected (CMake) behavior with PICO_BOARD variable. (#1050)
* Fix unexpected (CMake) behaviour with PICO_BOARD variable. Changing PICO_BOARD value from "pico_w" to "pico" did not unset PICO_CYW43_SUPPORTED variable. Which could lead CYW43 driver included in builds for "pico". solution: make PICO_CYW43_SUPPORTED a non cache variable Co-authored-by: Graham Sanderson <graham.sanderson@raspberrypi.com>
This commit is contained in:
parent
16ab2b21ba
commit
e50e107d91
@ -1,2 +1,3 @@
|
|||||||
set(PICO_CYW43_SUPPORTED "1" CACHE INTERNAL "Try to add support for PICO_CYW43")
|
set(PICO_CYW43_SUPPORTED "1")
|
||||||
|
pico_register_common_scope_var(PICO_CYW43_SUPPORTED)
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/generic_board.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/generic_board.cmake)
|
||||||
|
Loading…
Reference in New Issue
Block a user