mirror of
https://github.com/espressif/esp-idf
synced 2025-03-11 10:09:08 -04:00
Merge branch 'docs/add_bootloader_override_warning' into 'master'
bootloader: add warning about loader segment in bootloader override example README Closes IDFGH-8098 See merge request espressif/esp-idf!20765
This commit is contained in:
commit
2e298bf85a
@ -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…
x
Reference in New Issue
Block a user