Kconfig 835 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Copyright (c) 2020 Nordic Semiconductor ASA
  3. #
  4. # SPDX-License-Identifier: Apache-2.0
  5. #
  6. menuconfig STREAM_FLASH
  7. bool "Stream to flash"
  8. select FLASH_PAGE_LAYOUT
  9. help
  10. Enable support of stream to flash API
  11. if STREAM_FLASH
  12. config STREAM_FLASH_ERASE
  13. bool "Perform erase operations"
  14. help
  15. If disabled an external actor must erase the flash area being written
  16. to.
  17. config STREAM_FLASH_PROGRESS
  18. bool "Persistent stream write progress"
  19. depends on SETTINGS
  20. depends on !SETTINGS_NONE
  21. help
  22. Enable API for loading and storing the current write progress to flash
  23. using the settings subsystem. In case of power failure or device
  24. reset, the API can be used to resume writing from the latest state.
  25. module = STREAM_FLASH
  26. module-str = stream flash
  27. source "subsys/logging/Kconfig.template.log_config"
  28. endif # STREAM_FLASH