Skip to content

Commit ef7dc53

Browse files
committed
stm32/boards/ARDUINO_PORTENTA_H7: Update board config files.
* Update pinout, add I2C1 SCL/SDA pins and crypto device enable pin. * Increase CDC buffer size. * Freeze ntptime module from micropython-lib. * Fix floating point implementation.
1 parent 89b3207 commit ef7dc53

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include("$(PORT_DIR)/boards/manifest.py")
22
require("webrepl")
33
require("aioble", client=True, central=True, l2cap=True, security=True)
4+
require("ntptime")

ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ extern struct _spi_bdev_t spi_bdev;
159159
#define MICROPY_HW_UART7_CTS (pyb_pin_BT_CTS)
160160

161161
// I2C busses
162+
#define MICROPY_HW_I2C1_SCL (pin_B6)
163+
#define MICROPY_HW_I2C1_SDA (pin_B7)
164+
162165
#define MICROPY_HW_I2C3_SCL (pin_H7)
163166
#define MICROPY_HW_I2C3_SDA (pin_H8)
164167

@@ -206,8 +209,8 @@ extern struct _spi_bdev_t spi_bdev;
206209
#define MICROPY_HW_USB_HS_ULPI_DIR (pin_I11)
207210
#define MICROPY_HW_USB_HS_ULPI3320 (1)
208211

209-
#define MICROPY_HW_USB_CDC_RX_DATA_SIZE (512)
210-
#define MICROPY_HW_USB_CDC_TX_DATA_SIZE (512)
212+
#define MICROPY_HW_USB_CDC_RX_DATA_SIZE (1024)
213+
#define MICROPY_HW_USB_CDC_TX_DATA_SIZE (1024)
211214
#define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1)
212215
#define GPIO_AF10_OTG_HS (GPIO_AF10_OTG2_HS)
213216

ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BOOTLOADER_DFU_USB_PID = 0x035b
1010
# MCU settings
1111
MCU_SERIES = h7
1212
CMSIS_MCU = STM32H747xx
13-
MICROPY_FLOAT_IMPL = double
13+
MICROPY_FLOAT_IMPL = single
1414
AF_FILE = boards/stm32h743_af.csv
1515
LD_FILES = boards/ARDUINO_PORTENTA_H7/stm32h747.ld
1616
TEXT0_ADDR = 0x08040000

ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,4 @@ I2C3_SCL,PH7
231231
-QSPI2_D1,PD12
232232
-QSPI2_D2,-PF7
233233
-QSPI2_D3,PD13
234+
-SE05X_EN,-PI12

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy