madison-embedded / gcc-builds

For projects built with the GNU toolchain.
GNU General Public License v3.0
11 stars 8 forks source link

Investigate Non-Volatile Parameter Configuration #49

Closed vkottler closed 3 years ago

vkottler commented 7 years ago

Internal flash memory is the best candidate to implement this feature.

First we would need to determine how large of a space (i.e. how many "variables") we want to use for this and then we would likely claim the last sector of flask (may be 4kb minimum) for this purpose.

This would mean refactoring the linker script so that our configuration space section is declared at the correct memory address and the size of flash memory is decreased accordingly.

The HAL Flash driver would be necessary to implement the low-level re-write.

vkottler commented 3 years ago

OBE.