samv7: add support for user signature area in embedded flash #12417
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Embedded flash can have user signature area on SAMv7. This is a 512 bytes large page whose data are not erased by asserting ERASE pin or by software ERASE command.
This commit adds arch to board interface for this area. It is possible to perform read, write and erase operation.
SAMV7_USER_SIGNATURE
option has to be set in the configuration.Impact
New feature for SAMv7
Testing
Tested on SAMv7 evaluation kit with progmem and mcuboot.