diff --git a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py index dbd45fa408e63..5061e2cf0516a 100644 --- a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py +++ b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py @@ -3,9 +3,14 @@ # Networking require("webrepl") require("urequests") +require("ntptime") # Drivers require("lsm6dsox") +require("espflash") + +# Utils +require("logging") # Bluetooth require("aioble", client=True, central=True, l2cap=True, security=True) diff --git a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h index 5ea9b8cdb850f..1818b56a689fe 100644 --- a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h +++ b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h @@ -7,6 +7,9 @@ // Enable networking. #define MICROPY_PY_NETWORK (1) +// Enable MD5 hash. +#define MICROPY_PY_UHASHLIB_MD5 (1) + // Disable internal error numbers. #define MICROPY_USE_INTERNAL_ERRNO (0) diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/deploy.md b/ports/stm32/boards/ARDUINO_PORTENTA_H7/deploy.md index 8de726b43b4c3..7f738c5791584 100644 --- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/deploy.md +++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/deploy.md @@ -4,7 +4,7 @@ This board can programmed via DFU bootloader, using e.g. [dfu-util](http://dfu-u To enter the DFU bootloader, double tap the reset (blue) button, or you can use `machine.bootloader()` from the MicroPython REPL. ```bash -dfu-util -w -d 2341:035b -a 0 -d 0x8040000 -D firmware.dfu +dfu-util -w -a 0 -d 2341:035b -D build-ARDUINO_PORTENTA_H7/firmware.dfu ``` Or from MicroPython source repository: diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/manifest.py b/ports/stm32/boards/ARDUINO_PORTENTA_H7/manifest.py index 4fa92b7205327..3041e77fdb048 100644 --- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/manifest.py +++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/manifest.py @@ -1,3 +1,12 @@ include("$(PORT_DIR)/boards/manifest.py") + +# Networking require("webrepl") +require("urequests") +require("ntptime") + +# Utils +require("logging") + +# Bluetooth require("aioble", client=True, central=True, l2cap=True, security=True) diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h b/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h index 31e19c9eb51ab..a2981352a1b80 100644 --- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h +++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h @@ -159,6 +159,9 @@ extern struct _spi_bdev_t spi_bdev; #define MICROPY_HW_UART7_CTS (pyb_pin_BT_CTS) // I2C busses +#define MICROPY_HW_I2C1_SCL (pin_B6) +#define MICROPY_HW_I2C1_SDA (pin_B7) + #define MICROPY_HW_I2C3_SCL (pin_H7) #define MICROPY_HW_I2C3_SDA (pin_H8) @@ -206,8 +209,8 @@ extern struct _spi_bdev_t spi_bdev; #define MICROPY_HW_USB_HS_ULPI_DIR (pin_I11) #define MICROPY_HW_USB_HS_ULPI3320 (1) -#define MICROPY_HW_USB_CDC_RX_DATA_SIZE (512) -#define MICROPY_HW_USB_CDC_TX_DATA_SIZE (512) +#define MICROPY_HW_USB_CDC_RX_DATA_SIZE (1024) +#define MICROPY_HW_USB_CDC_TX_DATA_SIZE (1024) #define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1) #define GPIO_AF10_OTG_HS (GPIO_AF10_OTG2_HS) diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv b/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv index b22da66dd4c08..6ab00f02ec402 100644 --- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv +++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv @@ -231,3 +231,4 @@ I2C3_SCL,PH7 -QSPI2_D1,PD12 -QSPI2_D2,-PF7 -QSPI2_D3,PD13 +-SE05X_EN,-PI12