Code: Select all
set (CMAKE_EXE_LINKER_FLAGS "-Wl,--build-id=sha1")
Code: Select all
.gnu_build_id :
{
_gnu_build_id_start = ABSOLUTE(.);
. = ALIGN(8);
*(.note.gnu.build-id)
_gnu_build_id_end = ABSOLUTE(.);
} > flash_text
Code: Select all
set (CMAKE_EXE_LINKER_FLAGS "-Wl,--build-id=sha1")
Code: Select all
.gnu_build_id :
{
_gnu_build_id_start = ABSOLUTE(.);
. = ALIGN(8);
*(.note.gnu.build-id)
_gnu_build_id_end = ABSOLUTE(.);
} > flash_text
There's a section in that document called "Embedding Binary Data". If you read through that section, it explains how it works and it has a link to an example CMakeList.txt.tkvjkl wrote: ↑Mon Dec 26, 2022 7:57 pmThe link you shared above take me to this page https://docs.espressif.com/projects/esp ... embed-data
Do you have a github page where I can see how you add data to the bin file ?
Users browsing this forum: MicroController and 101 guests