Skip to content

Commit 6fe4b5f

Browse files
committed
ports/stm32/boards: Configure Arduino Portenta ETH DMA buffer sections.
Signed-off-by: Kwabena W. Agyeman <kwagyeman@live.com>
1 parent 78759e4 commit 6fe4b5f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ extern struct _spi_bdev_t spi_bdev;
325325
#define MICROPY_HW_ETH_RMII_TXD0 (pin_G13)
326326
#define MICROPY_HW_ETH_RMII_TXD1 (pin_G12)
327327

328+
#define MICROPY_HW_ETH_DMA_ATTR_SECTION __attribute__((section(".dma_buffer")))
329+
328330
#define MICROPY_HW_USB_VID 0x2341
329331
#define MICROPY_HW_USB_PID 0x045B
330332
#define MICROPY_HW_USB_PID_CDC_MSC (MICROPY_HW_USB_PID)

0 commit comments

Comments
 (0)