cpu/esp32: enable puf_sram feature #17671
Merged
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.
Contribution description
This pull request enables the
puf_sram
feature for ESP32 platforms.Testing procedure
Execute tests/puf_sram on a ESP32 board as explained in the test README. I have used the
esp32-wroom-32
board.Run the example test script alike
python tests/example_test.py -n 100
. This produces 100 SRAM based seeds with a power-off time of 1 second. It should produce outputs similar to:Note: The reset button (EN pin) disables a voltage regulator which causes a hard reset. Hence, pressing reset on that board will not trigger the soft reset detection.
Issues/PRs references
#17665