# PICO_CMAKE_CONFIG: PICO_BOARD, The board name being built for. This is overridable from the user environment, type=string, default=rp2040, group=build
if(DEFINEDENV{PICO_BOARD})
set(PICO_BOARD$ENV{PICO_BOARD})
message("Using PICO_BOARD from environment ('${PICO_BOARD}')")
else()
if(NOTPICO_BOARD)
set(PICO_BOARD"pico")
pico_message("Defaulting PICO target board to ${PICO_BOARD} since not specified.")
# PICO_CMAKE_CONFIG: PICO_BOARD_CMAKE_DIRS, Directories to look for <PICO_BOARD>.cmake in. This is overridable from the user environment, type=list, default="", group=build