Enable all RAM on STM32H7 #16753
Replies: 1 comment
-
The RAM and RAM_D2 regions aren't contiguous (RAM ends at 0x24080000 and RAM_D2 doesn't start until 0x3000000). This is why setting the heap to span both regions doesn't work. (The stack is also placed after the heap in the main RAM region.) We have support in MicroPython for discontinuous heap regions (look for (Note also that, as far as I understand the STM32H7 architecture, the D2 region is going to be slower for the CPU to access compared to the main SRAM region.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I enable all available RAM on a STM32H743/STM32H753?
The default linker script in the repo is:
Since i don't need ethernet, I want to get rid of the
.eth_buffers
section and use all the available RAM as application RAM in micropython. Is this possible? I already tried to delete the eth_buffer section and altered the _heap_end like so:_heap_end = ORIGIN(RAM_D2) + LENGTH(RAM_D2);
but no luck. Tips?
Beta Was this translation helpful? Give feedback.
All reactions