← index #4238PR #16633
Related · medium · value 0.119
QUERY · ISSUE

[STM32] DTCM buffer incorrect sized for processor type

openby rolandvsopened 2018-10-14updated 2018-10-15
port-stm32

In flashbdev.clocation and below the used DTCM is 64kByte, however the STM32F76xxx and STM32F77xxx feature a DTCM of 128kByte, whereas the STM32F75xx and STM32F74xx have a 64kByte DTCM.

CANDIDATE · PULL REQUEST

ports/stm32: Make ETH DMA buffer attributes configurable.

closedby kwagyemanopened 2025-01-24updated 2025-02-04
port-stm32

This commit allows the attributes for the eth_dma buffer to be overridden by a port.

OpenMV's firmware for the Arduino Portenta stores .data in the DTCM which is inaccessible by the ethernet controller. By overriding the buffer's attributes with alignment and section specifications, we can place the ethernet buffer in the right SRAM location.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied