kopia lustrzana https://github.com/micropython/micropython
ports/rp2: Move Pico W ext pins to board config.
Signed-off-by: Phil Howard <phil@gadgetoid.com>pull/12394/head
rodzic
3637252b7b
commit
3e7f5ea541
|
@ -297,10 +297,6 @@ if (MICROPY_PY_NETWORK_CYW43)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND MICROPY_SOURCE_PORT
|
|
||||||
machine_pin_cyw43.c
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(${MICROPY_TARGET}
|
target_link_libraries(${MICROPY_TARGET}
|
||||||
cyw43_driver_picow
|
cyw43_driver_picow
|
||||||
cmsis_core
|
cmsis_core
|
||||||
|
@ -371,6 +367,7 @@ endif()
|
||||||
list(APPEND MICROPY_SOURCE_QSTR
|
list(APPEND MICROPY_SOURCE_QSTR
|
||||||
${MICROPY_SOURCE_EXTMOD}
|
${MICROPY_SOURCE_EXTMOD}
|
||||||
${MICROPY_SOURCE_USERMOD}
|
${MICROPY_SOURCE_USERMOD}
|
||||||
|
${MICROPY_SOURCE_BOARD}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Define mpy-cross flags
|
# Define mpy-cross flags
|
||||||
|
@ -389,6 +386,7 @@ target_sources(${MICROPY_TARGET} PRIVATE
|
||||||
${MICROPY_SOURCE_LIB}
|
${MICROPY_SOURCE_LIB}
|
||||||
${MICROPY_SOURCE_DRIVERS}
|
${MICROPY_SOURCE_DRIVERS}
|
||||||
${MICROPY_SOURCE_PORT}
|
${MICROPY_SOURCE_PORT}
|
||||||
|
${MICROPY_SOURCE_BOARD}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(${MICROPY_TARGET} micropy_lib_mbedtls)
|
target_link_libraries(${MICROPY_TARGET} micropy_lib_mbedtls)
|
||||||
|
|
|
@ -15,3 +15,7 @@ set(MICROPY_PY_BLUETOOTH_CYW43 ON)
|
||||||
|
|
||||||
# Board specific version of the frozen manifest
|
# 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)
|
||||||
|
|
||||||
|
set(MICROPY_SOURCE_BOARD
|
||||||
|
${MICROPY_BOARD_DIR}/machine_pin_cyw43.c
|
||||||
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue