-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fixes Kconfig options changed in sdk-zephyr #20495
base: main
Are you sure you want to change the base?
Conversation
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 2 projects with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
@@ -14,6 +14,7 @@ CONFIG_SSF_PSA_CRYPTO_SERVICE_ENABLED=y | |||
CONFIG_DCACHE=n | |||
|
|||
# Set the ZMS sector count to match the settings partition size that is 32 kB for this application. | |||
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to just remove this custom count and use the entire partition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Damian-Nordic That's something that I ignore based on each application/sample code.
By default the new backend will use the entire partition.
But I don't know if these applications/sample want to use the entire partition or only the configured number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each team should verify whether this option is needed for their app/sample or not.
But at least using the CUSTOM_CONFIG that won't change anything in the current configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Damian-Nordic should I removed it for matter sample code ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think for Matter it can be safely removed. For others I'm not sure so you're right it's better to leave this decision to app owners :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say we want to use the full partition. I've changed the sector count, because it turned out that backend implementation does not care about partition size and uses only the size determined by sector count Kconfig. So my solution was sort of workaround. If this is fixed now, I don't think we need custom sector count anymore.
You can find the documentation preview for this PR at this link. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 1cd2d30a8cbee649b0ab83c0ba06de908f78c854 more detailssdk-nrf:
matter:
zephyr:
Github labels
List of changed files detected by CI (71)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
c429be1
to
9f25d22
Compare
9f25d22
to
140d3da
Compare
After documentation is built, you will find the preview for this PR here. Preview links for modified nRF Connect SDK documents: https://ncsdoc.z6.web.core.windows.net/PR-20495/nrf/app_dev/device_guides/nrf54l/zms.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since name cache is now replaced by hashing mechanism for ZMS settings backend, the corresponding Kconfig settings are invalid and removed from samples. Looks fine to me.
140d3da
to
d5becbc
Compare
d5becbc
to
646ec80
Compare
646ec80
to
e8f2049
Compare
e8f2049
to
4774cd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed for scope
4774cd9
to
11c4361
Compare
Automatically created by Github Action Signed-off-by: Nordic Builder <[email protected]>
with the new ZMS backend for settings some Kconfig options are not needed and others must be enabled. Signed-off-by: Riadh Ghaddab <[email protected]>
11c4361
to
1cd2d30
Compare
Fixes Kconfig options changed by this PR: nrfconnect/sdk-zephyr#2525