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.
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.