mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
310a18e59f
commit
a95e4d8b85
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user