Skip to content

Writing settings during production #60615

Answered by Laczen
allard-potma asked this question in Q&A
Discussion options

You must be logged in to vote

@allard-potma, @RomainPelletant, there are no plans to make a tool that can write a nvs file outside of a device.

Years ago I created a little native_posix application that would be usable to write nvs settings to a bin file (by using the flash simulator): https://github.com/Laczen/zephyrmodules/tree/master/utils/native_posix/settings_preload.

I don't know if this still works, but the principle should still be ok: Make a storage on native posix that replicates the flash, write to this storage and then copy. This utility never made it to the zephyr tree because there was no proper place to put it.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@kartben
Comment options

kartben Aug 15, 2023
Collaborator

@nordicjm
Comment options

Comment options

You must be logged in to vote
8 replies
@JPHutchins
Comment options

@JPHutchins
Comment options

@rettichschnidi
Comment options

@JPHutchins
Comment options

@Laczen
Comment options

Laczen Nov 20, 2024
Collaborator

Answer selected by allard-potma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants