[Photon/P1] Fixes handling of invalid WiFi access point config entries in DCT #1976
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.
Problem
Solution
dct_prep.bin
. Previously this list should have been initialized withNVMEM_SPARK_Reset_SysFlag
system flag set, however (unconfirmed, most likely) due to restructuring of the factory image in Changes to support building combined Photon and P1 images for the recent releases #1887 andNVMEM_SPARK_Reset_SysFlag
being used to perform a factory reset in the bootloader (after which it's reset), the system no longer runswlan_reset_credentials_store()
.wlan_hal
.Steps to Test
Sanity checks
Factory image
Follow the steps in #1887, get the device to boot into DeviceOS, put into DFU mode, get a full two-page DCT dump (
dfu-util -d 2b04:c006 -s 0x08004000:0x8000 -a 0 -U dct_dump_full.bin
), make sure that0x4a30
-0x4a90
and0x8a30
-0x8a90
are zero-initialized.Example App
N/A
References
Completeness