CI: Enable py_decl filesystem overlap check.
This commit is contained in:
parent
4da946a4ca
commit
7bf9f40cc0
@ -7,10 +7,6 @@ find_package (Python COMPONENTS Interpreter Development)
|
||||
message("dir2uf2/py_decl: Using Python ${Python_EXECUTABLE}")
|
||||
MESSAGE("dir2uf2/py_decl: Using pimoroni tools dir ${PIMORONI_TOOLS_DIR}")
|
||||
|
||||
# Convert supplies paths to absolute, for a quieter life
|
||||
get_filename_component(PIMORONI_UF2_MANIFEST ${PIMORONI_UF2_MANIFEST} REALPATH)
|
||||
get_filename_component(PIMORONI_UF2_DIR ${PIMORONI_UF2_DIR} REALPATH)
|
||||
|
||||
if (EXISTS "${PIMORONI_TOOLS_DIR}/py_decl/py_decl.py")
|
||||
MESSAGE("py_decl: py_decl.py found, will verify uf2.")
|
||||
add_custom_target("${MICROPY_TARGET}-verify" ALL
|
||||
@ -21,6 +17,12 @@ if (EXISTS "${PIMORONI_TOOLS_DIR}/py_decl/py_decl.py")
|
||||
)
|
||||
endif()
|
||||
|
||||
if(DEFINED PIMORONI_UF2_MANIFEST AND DEFINED PIMORONI_UF2_DIR)
|
||||
|
||||
# Convert supplies paths to absolute, for a quieter life
|
||||
get_filename_component(PIMORONI_UF2_MANIFEST ${PIMORONI_UF2_MANIFEST} REALPATH)
|
||||
get_filename_component(PIMORONI_UF2_DIR ${PIMORONI_UF2_DIR} REALPATH)
|
||||
|
||||
if (EXISTS "${PIMORONI_TOOLS_DIR}/dir2uf2/dir2uf2" AND EXISTS "${PIMORONI_UF2_MANIFEST}" AND EXISTS "${PIMORONI_UF2_DIR}")
|
||||
MESSAGE("dir2uf2: Using manifest ${PIMORONI_UF2_MANIFEST}.")
|
||||
MESSAGE("dir2uf2: Using root ${PIMORONI_UF2_DIR}.")
|
||||
@ -34,4 +36,6 @@ if (EXISTS "${PIMORONI_TOOLS_DIR}/dir2uf2/dir2uf2" AND EXISTS "${PIMORONI_UF2_MA
|
||||
else()
|
||||
MESSAGE("dir2uf2: Could not find manifest ${PIMORONI_UF2_MANIFEST}")
|
||||
MESSAGE(" and/or root ${PIMORONI_UF2_DIR}.")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
@ -40,4 +40,4 @@ set(MICROPY_PY_BLUETOOTH_CYW43 ON)
|
||||
# MICROPY_HW_ENABLE_PSRAM=1
|
||||
set(MICROPY_HW_ENABLE_PSRAM ON)
|
||||
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake)
|
||||
|
||||
@ -35,3 +35,4 @@ set(MICROPY_BLUETOOTH_BTSTACK ON)
|
||||
# MICROPY_PY_BLUETOOTH_CYW43 = 1
|
||||
set(MICROPY_PY_BLUETOOTH_CYW43 ON)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake)
|
||||
|
||||
@ -6,3 +6,5 @@ set(PICO_PLATFORM "rp2350")
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
|
||||
set(MICROPY_C_HEAP_SIZE 4096)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake)
|
||||
|
||||
@ -13,4 +13,6 @@ if (PICO_CYW43_SUPPORTED)
|
||||
set(PICO_PINS_CSV_NAME pins_cyw43.csv)
|
||||
endif()
|
||||
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake)
|
||||
|
||||
@ -11,4 +11,6 @@ set(MICROPY_PY_LWIP ON)
|
||||
include(enable_cyw43.cmake)
|
||||
|
||||
# Board specific version of the frozen manifest
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake)
|
||||
|
||||
@ -10,3 +10,5 @@ set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
set(MICROPY_C_HEAP_SIZE 4096)
|
||||
|
||||
set(PICO_NUM_GPIOS 48)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user