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
pull/9839/head
Zim Kalinowski 2022-10-25 15:32:33 +08:00
commit 2e298bf85a
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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