Skip to content
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

soc: riscv: telink: telink_b9x, telink_w91: Auto calculation of SETTINGS_NVS_SECTOR_COUNT #295

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

BorysNykytiuk
Copy link
Collaborator

@BorysNykytiuk BorysNykytiuk commented Aug 13, 2024

Set the sector count of NVS calculation as storage partition size divided by the sector size (4 KB)

@andriy-bilynskyy
Copy link
Collaborator

Code looks fine.
But, please, fix Compliance Checks and we will merge the feature.

- Set the sector count of NVS calculation

- Calculating as storage partition size divided by 4

- 4 means the sector size (4 KB)

Signed-off-by: Borys Nykytiuk <[email protected]>
@BorysNykytiuk BorysNykytiuk force-pushed the telink_nvs_sector_count branch from ba02c5d to 2c26181 Compare August 14, 2024 09:28
@BorysNykytiuk BorysNykytiuk changed the title Telink nvs sector count soc: riscv: telink: telink_b9x, telink_w91: Auto calculation of SETTINGS_NVS_SECTOR_COUNT Aug 14, 2024
@andriy-bilynskyy andriy-bilynskyy merged commit 2b48bbf into develop Aug 14, 2024
14 checks passed
@andriy-bilynskyy andriy-bilynskyy deleted the telink_nvs_sector_count branch August 14, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants