xous-core/services/early_settings
bunnie 83e26ff4c7 update num-derive dependency
this became mandatory in 1.83 to remove warnings. I think it
should have no impact on functionality.
2024-12-02 18:52:59 +08:00
..
src update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
Cargo.toml update num-derive dependency 2024-12-02 18:52:59 +08:00
README.md document how everything works a little more 2023-04-24 20:18:57 +02:00

early_settings

This crate provides a service and API to access settings stored in the first 4096 bytes of FLASH.

Settings stored there do not contain any personal identifiable information.

Settings currently stored here:

  • keymap
  • early sleep flag

Do not store any personal informations here, user settings must go into libs/userprefs!

This scratch area is provided for extreme edge cases:

  • keymap must live here because users need to write their password in order to mount PDDB
  • early sleep is used in the "lock device" lifecycle, placing it here is the most convenient thing to do to achieve that use-case

If you're thinking of placing something in here please open an issue or shoot us a Matrix message on #xous-apps:matrix.org.