Replies: 1 comment
-
Hi,
No check done.
Yes you can redefine some definitions, mainly |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Not sure if I understand it correctly: EEPROM library always uses the last sector of flash, and erase the entire sector when
eeprom_buffered_flush()
is called.I'm using STM32F410rb, and its flash is orgnaized as follow:
The last sector is 64kB, which is erased by EEPROM, and my code can only use the lower 64kB of flash. My questions:
I found a solution using a constant array to tell compiler where the eeprom sector is. Then compiler will put code outside this area, and the code size limit because of the usage of EEPROM is visible.
But when I don't use EEPROM, I wonder if the array will still be there, costing my flash space?
Beta Was this translation helpful? Give feedback.
All reactions