# CMake file for VCC-GND Studio YD-RP2040 boards # The VCC-GND Studio boards don't have official pico-sdk support so we define it # See also: https://github.com/raspberrypi/pico-sdk/tree/master/src/boards/include/boards list(APPEND PICO_BOARD_HEADER_DIRS ${MICROPY_BOARD_DIR}) # Freeze board.py set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) # Provide different variants for the downloads page set(BOARD_VARIANTS "flash_4mb flash_8mb flash_16mb") # Select the 4MB variant as the default set(PICO_BOARD "vccgndstudio_4mb") if("${BOARD_VARIANT}" STREQUAL "flash_8mb") set(PICO_BOARD "vccgndstudio_8mb") endif() if("${BOARD_VARIANT}" STREQUAL "flash_16mb") set(PICO_BOARD "vccgndstudio_16mb") endif()