diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/deploy.md b/ports/stm32/boards/ARDUINO_PORTENTA_H7/deploy.md index 8de726b43b..7f738c5791 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 4fa92b7205..3041e77fdb 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 31e19c9eb5..a2981352a1 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 b22da66dd4..6ab00f02ec 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