mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
dd849ffc26
It is now possible to have any alignment restriction on rodata in the user applicaiton. It will not affect the first section which must be aligned on a 16-byte bound. Closes https://github.com/espressif/esp-idf/issues/6719 |
||
---|---|---|
.. | ||
main | ||
check_alignment.py | ||
CMakeLists.txt | ||
README.txt |
Runs a build test to check alignment and position of `.flash.appdesc` and `.flash.rodata` sections. Indeed, `.flash.appdesc` shall ALWAYS be aligned on a 16-byte bounds, whereas `.flash.rodata` can have any alignment. In any case, the end address of first one shall match the start address of the second one. This will let both of them be merged when generating the final bin image. The Python script that performs the checks, `check_alignment.py`, automatically runs after the app is built.