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

boards: qemu_cortex_m0: minor cleanups #67866

Closed

Conversation

JordanYates
Copy link
Collaborator

Don't set arbitrary low values for LOG_BUFFER_SIZE in boards.
Correct the .erase_value parameter for nRF SoC flash when running in emulation.

Setting an extremely low value by default on two boards doesn't seem
like the right thing to do. The defaults were added with the v1 logging
subsystem in zephyrproject-rtos#8023.

Signed-off-by: Jordan Yates <[email protected]>
When running under qemu (for example `qemu_cortex_m0`), the erase value
of the flash is 0x00, not 0xFF.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates
Copy link
Collaborator Author

So this is not the right approach for the nRF flash, as it does still erase to 0xFF.
It always boots as 0x00 however. Any ideas would be appreciated. The current state means NVS always fails to initialise on qemu_cortex_m0.

@JordanYates JordanYates deleted the 240120_qemu_m0 branch January 24, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARM ARM (32-bit) Architecture area: Flash
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants