-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Config Manager on the Darwin platform to store Discriminator in RAM #10584
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is temporary until Darwin implements a proper ReadConfigValueconnectedhomeip/src/platform/Darwin/PosixConfig.h Lines 104 to 108 in af05143
This comment was generated by todo based on a
|
PR #10584: Size comparison from efc17de to 31fe790 5 builds
|
tcarmelveilleux
approved these changes
Oct 15, 2021
PR #10584: Size comparison from efc17de to 437a3a7 1 build
4 builds
|
PR #10584: Size comparison from efc17de to 70de8f9 16 builds
6 builds
12 builds
|
PR #10584: Size comparison from efc17de to 382854b 20 builds
2 builds
12 builds
|
pullapprove
bot
requested review from
anush-apple,
balducci-apple,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chulspro,
Damian-Nordic,
franck-apple,
hawk248,
jelderton and
jepenven-silabs
October 18, 2021 13:57
pullapprove
bot
requested review from
jmartinez-silabs,
LuDuda,
msandstedt,
pan-apple,
sagar-apple,
saurabhst,
shana-apple,
vivien-apple,
wbschiller and
woody-apple
October 18, 2021 13:57
carol-apple
approved these changes
Oct 20, 2021
andy31415
approved these changes
Oct 20, 2021
andy31415
reviewed
Oct 20, 2021
jmartinez-silabs
approved these changes
Oct 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Config manager on Darwin Platform returns an error when setting the Discriminator value. This is due to the fact that this and most other config keys are stored in the NVM and Darwin does not have an NVM implementation.
Change overview
Allow Config Manager on the Darwin platform to store Discriminator in RAM. Add a mPosixSetupDiscriminator member to the PosixConfig class for Darwin. This is a temporary solution until Darwin implements NVM or Configuration manager is reworked to not rely on NVM for the Discriminator.
Testing
Carol Yang verified that the ota-requestor application on Mac initializes without errors