Only 30kB of memory available on reset on a STM32F407VE board (BLACK_F407VE) #17524
Unanswered
hacksterous
asked this question in
STM32 / Pyboard
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I flashed the standard BLACK_F407VE firmware image from the top-of-the-tree code and see only 30kB free memory on an SoC that provides 192kB.
What macros can I set to compile out unnecessary features and how? I don't need networking, webrepl, LWIP, SPI and I2C possibly more.
I have tried setting defines in
ports/stm32/boards/BLACK_F407VE/mpconfigboard.h
such as below and regenerating the firmware, but it didn't help.So, even though this board provides a goodly amount of memory, I can't even run the MicroPython editor here -- fails with memory allocate error.
How do I reduce the memory footprint on this board?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions