Merge branch 'feature/storage_nvs_bootloader' into 'master'

feat(storage/nvs): NVS bootloader support

See merge request espressif/esp-idf!31753
This commit is contained in:
Radek Tandler
2024-11-15 00:12:18 +08:00
41 changed files with 1980 additions and 70 deletions

View File

@@ -184,6 +184,8 @@ The current bootloader implementation allows a project to extend it or modify it
* :example:`custom_bootloader/bootloader_hooks` presents how to connect some hooks to the bootloader initialization
* :example:`custom_bootloader/bootloader_override` presents how to override the bootloader implementation
In the bootloader space, you cannot use the drivers and functions from other components. If necessary, then the required functionality should be placed in the project's `bootloader_components` directory (note that this will increase its size).
In the bootloader space, you cannot use the drivers and functions from other components unless they explicitly support run in bootloader. If necessary, then the required functionality should be placed in the project's `bootloader_components` directory (note that this will increase its size). Examples of components that can be used in the bootloader are:
* :example:`storage/nvs_bootloader`
If the bootloader grows too large then it can collide with the partition table, which is flashed at offset 0x8000 by default. Increase the :ref:`partition table offset <CONFIG_PARTITION_TABLE_OFFSET>` value to place the partition table later in the flash. This increases the space available for the bootloader.