ports: Make all network-capable boards use bundle-networking.
This will ensure that any board with networking support gets: - webrepl - mip - urequests - ntptime This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
parent
c9baf498c8
commit
6250337c9c
@ -1,15 +1,14 @@
|
||||
freeze("$(PORT_DIR)/modules")
|
||||
include("$(MPY_DIR)/extmod/uasyncio")
|
||||
|
||||
# Useful networking-related packages.
|
||||
require("bundle-networking")
|
||||
|
||||
# Require some micropython-lib modules.
|
||||
require("dht")
|
||||
require("ds18x20")
|
||||
require("mip")
|
||||
require("neopixel")
|
||||
require("ntptime")
|
||||
require("onewire")
|
||||
require("umqtt.robust")
|
||||
require("umqtt.simple")
|
||||
require("upysh")
|
||||
require("urequests")
|
||||
require("webrepl")
|
||||
|
@ -1,8 +1,6 @@
|
||||
freeze("$(PORT_DIR)/modules")
|
||||
require("bundle-networking")
|
||||
require("dht")
|
||||
require("ds18x20")
|
||||
require("mip")
|
||||
require("neopixel")
|
||||
require("ntptime")
|
||||
require("onewire")
|
||||
require("webrepl")
|
||||
|
3
ports/mimxrt/boards/MIMXRT1020_EVK/manifest.py
Normal file
3
ports/mimxrt/boards/MIMXRT1020_EVK/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("../manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -13,6 +13,8 @@ MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|
||||
|
||||
JLINK_PATH ?= /media/RT1020-EVK/
|
||||
JLINK_COMMANDER_SCRIPT = $(BUILD)/script.jlink
|
||||
|
||||
|
3
ports/mimxrt/boards/MIMXRT1050_EVK/manifest.py
Normal file
3
ports/mimxrt/boards/MIMXRT1050_EVK/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("../manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -12,3 +12,5 @@ MICROPY_HW_SDRAM_SIZE = 0x2000000 # 32MB
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|
||||
|
3
ports/mimxrt/boards/MIMXRT1060_EVK/manifest.py
Normal file
3
ports/mimxrt/boards/MIMXRT1060_EVK/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("../manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -13,6 +13,8 @@ MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|
||||
|
||||
JLINK_PATH ?= /media/RT1060-EVK/
|
||||
JLINK_COMMANDER_SCRIPT = $(BUILD)/script.jlink
|
||||
|
||||
|
3
ports/mimxrt/boards/MIMXRT1064_EVK/manifest.py
Normal file
3
ports/mimxrt/boards/MIMXRT1064_EVK/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("../manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -13,6 +13,8 @@ MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|
||||
|
||||
JLINK_PATH ?= /media/RT1064-EVK/
|
||||
|
||||
deploy: $(BUILD)/firmware.bin
|
||||
|
3
ports/mimxrt/boards/MIMXRT1170_EVK/manifest.py
Normal file
3
ports/mimxrt/boards/MIMXRT1170_EVK/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("../manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -15,6 +15,8 @@ MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|
||||
|
||||
CFLAGS += -DCPU_MIMXRT1176DVMAA_cm7 \
|
||||
-DMIMXRT117x_SERIES \
|
||||
-DENET_ENHANCEDBUFFERDESCRIPTOR_MODE=1 \
|
||||
|
3
ports/mimxrt/boards/SEEED_ARCH_MIX/manifest.py
Normal file
3
ports/mimxrt/boards/SEEED_ARCH_MIX/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("../manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -13,4 +13,6 @@ MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
CFLAGS += -DSPI_RETRY_TIMES=1000000
|
||||
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|
||||
|
||||
CFLAGS += -DSPI_RETRY_TIMES=1000000
|
||||
|
3
ports/mimxrt/boards/TEENSY41/manifest.py
Normal file
3
ports/mimxrt/boards/TEENSY41/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("../manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -11,5 +11,7 @@ MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|
||||
|
||||
deploy: $(BUILD)/firmware.hex
|
||||
teensy_loader_cli --mcu=imxrt1062 -v -w $<
|
||||
|
@ -1,9 +1,7 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
|
||||
# Networking
|
||||
require("webrepl")
|
||||
require("urequests")
|
||||
require("ntptime")
|
||||
require("bundle-networking")
|
||||
|
||||
# Drivers
|
||||
require("lsm6dsox")
|
||||
|
@ -1,5 +1,3 @@
|
||||
include("../manifest.py")
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
|
||||
require("mip")
|
||||
require("ntptime")
|
||||
require("urequests")
|
||||
require("bundle-networking")
|
||||
|
@ -3,4 +3,4 @@ set(MICROPY_PY_LWIP ON)
|
||||
set(MICROPY_PY_NETWORK_CYW43 ON)
|
||||
|
||||
# Board specific version of the frozen manifest
|
||||
set(MICROPY_FROZEN_MANIFEST ${CMAKE_SOURCE_DIR}/boards/PICO_W/manifest.py)
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
|
3
ports/rp2/boards/W5100S_EVB_PICO/manifest.py
Normal file
3
ports/rp2/boards/W5100S_EVB_PICO/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -2,3 +2,4 @@
|
||||
set(PICO_BOARD wiznet_w5100s_evb_pico)
|
||||
set(MICROPY_PY_NETWORK_WIZNET5K W5100S)
|
||||
set(MICROPY_PY_LWIP 1)
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
|
3
ports/rp2/boards/W5500_EVB_PICO/manifest.py
Normal file
3
ports/rp2/boards/W5500_EVB_PICO/manifest.py
Normal file
@ -0,0 +1,3 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
|
||||
require("bundle-networking")
|
@ -2,3 +2,4 @@
|
||||
set(PICO_BOARD wiznet_w5100s_evb_pico)
|
||||
set(MICROPY_PY_NETWORK_WIZNET5K W5500)
|
||||
set(MICROPY_PY_LWIP 1)
|
||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|
||||
|
@ -1,9 +1,7 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
|
||||
# Networking
|
||||
require("webrepl")
|
||||
require("urequests")
|
||||
require("ntptime")
|
||||
require("bundle-networking")
|
||||
|
||||
# Utils
|
||||
require("logging")
|
||||
|
2
ports/stm32/boards/NUCLEO_F429ZI/manifest.py
Normal file
2
ports/stm32/boards/NUCLEO_F429ZI/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -9,3 +9,5 @@ TEXT1_ADDR = 0x08020000
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/NUCLEO_F439ZI/manifest.py
Normal file
2
ports/stm32/boards/NUCLEO_F439ZI/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -9,3 +9,5 @@ TEXT1_ADDR = 0x08020000
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/NUCLEO_F746ZG/manifest.py
Normal file
2
ports/stm32/boards/NUCLEO_F746ZG/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -9,3 +9,5 @@ TEXT1_ADDR = 0x08020000
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/NUCLEO_F756ZG/manifest.py
Normal file
2
ports/stm32/boards/NUCLEO_F756ZG/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -9,3 +9,5 @@ TEXT1_ADDR = 0x08020000
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/NUCLEO_F767ZI/manifest.py
Normal file
2
ports/stm32/boards/NUCLEO_F767ZI/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -10,3 +10,5 @@ TEXT1_ADDR = 0x08020000
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/NUCLEO_H743ZI/manifest.py
Normal file
2
ports/stm32/boards/NUCLEO_H743ZI/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -21,3 +21,5 @@ MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
MICROPY_VFS_LFS2 = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/OLIMEX_E407/manifest.py
Normal file
2
ports/stm32/boards/OLIMEX_E407/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -1,3 +1,3 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
include("$(PORT_DIR)/boards/manifest_pyboard.py")
|
||||
require("webrepl")
|
||||
require("bundle-networking")
|
||||
|
2
ports/stm32/boards/STM32F769DISC/manifest.py
Normal file
2
ports/stm32/boards/STM32F769DISC/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -44,3 +44,5 @@ endif
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/STM32F7DISC/manifest.py
Normal file
2
ports/stm32/boards/STM32F7DISC/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -9,3 +9,5 @@ TEXT1_ADDR = 0x08020000
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
2
ports/stm32/boards/VCC_GND_F407ZG/manifest.py
Normal file
2
ports/stm32/boards/VCC_GND_F407ZG/manifest.py
Normal file
@ -0,0 +1,2 @@
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
require("bundle-networking")
|
@ -8,3 +8,5 @@ TEXT1_ADDR = 0x08020000
|
||||
MICROPY_PY_LWIP = 1
|
||||
MICROPY_PY_USSL = 1
|
||||
MICROPY_SSL_MBEDTLS = 1
|
||||
|
||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||
|
Loading…
Reference in New Issue
Block a user