Hi
I am using ESP32-MINI-1 board. I am implementing the Firmware upgrade.
I have defined some custom header according our application. I taken reference from ESP-Programming guide link
https://docs.espressif.com/projects/esp ... pplication.
We have added like this way in .cpp file
const __attribute__((section(".rodata_CUSTOM_HEADER"))) custom_header CUSTOM_HEADER
In CMakeLists.txt file I have followed like this
target_link_libraries(${COMPONENT_TARGET} "-u CUSTOM_HEADER")
>> fw_header is our custom header structure.
I am not able to get this header in .rodata section in .map file. Neither I am able to get in debug logs on terminal.
Please help me on this, how to link custom header properly with memory.
Thanks
Vimal
Adding custom header in ESP32 for Firmware upgrade
Re: Adding custom header in ESP32 for Firmware upgrade
Hi ESP Team,
I have gone through given below link
https://www.esp32.com/viewtopic.php?f=1 ... 1530e24523
I have got my answer but I wanted to use this in .cpp file. I am not able to create the custom header in .cpp file.
Please guide me on this.
Thanks
Vimal
I have gone through given below link
https://www.esp32.com/viewtopic.php?f=1 ... 1530e24523
I have got my answer but I wanted to use this in .cpp file. I am not able to create the custom header in .cpp file.
Please guide me on this.
Thanks
Vimal
Who is online
Users browsing this forum: mahone and 232 guests