feat: add user data to bin header

user could put some data into bin header by USER_DATA_ATTR attribute, defined in esp_attr.h
This commit is contained in:
Chen Wu
2019-01-04 14:13:25 +08:00
parent c05b1a57f9
commit 68e0a80561
2 changed files with 4 additions and 0 deletions

View File

@ -230,6 +230,7 @@ SECTIONS
.irom0.text : ALIGN(4)
{
_irom0_text_start = ABSOLUTE(.);
*(.user.data)
*(.rodata.* .rodata .irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text)
*(.literal.* .text.*)