bootloader: add warning about loader segment in bootloader override example README

Closes https://github.com/espressif/esp-idf/issues/9599
This commit is contained in:
Marius Vikhammer 2022-10-25 12:22:55 +08:00
parent 310a18e59f
commit a95e4d8b85

View File

@ -7,7 +7,7 @@
The purpose of this example is to show how to override the second stage bootloader from a regular project.
**NOTE**: Overriding the bootloader is not supported with `Makefile` build system, it is only available with `CMake`.
**NOTE**: Functions called during the loading stage of the bootloader are expected to be placed in the iram_loader_seg to avoid being overwritten during loading. If you are overriding functions which are called during this stage then special care needs to be taken to avoid issues, e.g. by providing your own linkerscript which places the required functions in the correct sections.
## How to use example
@ -40,8 +40,8 @@ Below is a short explanation of files in the project folder.
│   └── main.c User application
├── bootloader_components
│   └── main
│   ├── component.mk
│   ├── CMakeLists.txt
│   ├── component.mk
│   ├── CMakeLists.txt
│   ├── ld/
│   │ └── ...
│   └── bootloader_start.c Implementation of the second stage bootloader