stm32/boards/ARDUINO_PORTENTA_H7: Add more modules, I2C1 and SE pin.
Changes in this commit are: - Increase CDC buffer size. - Define I2C1 SCL/SDA pins. - Add crypto device enable pin to board pins. - Update deploy instructions. - Add ntptime, urequests and logging to manifest.
This commit is contained in:
parent
dbb0019666
commit
8ddb4567ff
@ -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:
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -231,3 +231,4 @@ I2C3_SCL,PH7
|
||||
-QSPI2_D1,PD12
|
||||
-QSPI2_D2,-PF7
|
||||
-QSPI2_D3,PD13
|
||||
-SE05X_EN,-PI12
|
||||
|
|
Loading…
x
Reference in New Issue
Block a user