STM32F0 memory usage skyrockets with very little code. #2102
Closed
XanCraft21
started this conversation in
General
Replies: 1 comment 6 replies
-
https://github.com/stm32duino/Arduino_Core_STM32/wiki/Custom-definitions#custom-pinmap-array |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please, before reporting any issue
https://github.com/stm32duino/Arduino_Core_STM32/releases/latest
Any questions/feedback/suggestions should be discussed on the stm32duino forum:
⚠ When reporting any issue, please try to provide all relevant information to help on its resolution.
Describe the bug
Hello, i am having a problem with memory usage on my STM32F030 board. This is just for compiling and not for uploading. When i write a very small amount of code, i noticed that the used memory after a compile rapidly increases, even just to blink an LED is already at 66% flash usage. And a bare bones sketch already uses 49%. This value increases unusually quickly and i have never seen this happen with my other boards packages before. If anyone can help me figure this out i will gladly appreciate it, thank you foe your help.
To Reproduce
There is really no good code to show, just write as you go and frequently verify the code.
Steps to reproduce the behavior:
Expected behavior
Memory usage goes up slowly as more code is being added, and not very quickly.
Screenshots
Will add soon.
Desktop (please complete the following information):
Board (please complete the following information):
Additional context
Uploading to the board works fine, it’s just the memory usage on the Arduino side is crazy, even for a very tiny code. I believe my other STM32 boards don’t have this issue. I am not sure if these memory problems are normal, but I believe i’m the only person with this issue. I truly believe this is a real bug, and as far as i can tell no-one else posted anything about this problem. I hope a solution can be made to fix this problem. Thank you again for your help.
Beta Was this translation helpful? Give feedback.
All reactions