Merge branch 'feature/add_user_data_to_bin_header' into 'master'

feat: add user data to bin header

See merge request sdk/ESP8266_RTOS_SDK!698
This commit is contained in:
Wu Jian Gang
2019-01-21 16:27:34 +08:00
2 changed files with 4 additions and 0 deletions

View File

@ -46,4 +46,7 @@
// Forces read-only data into RTC memory.
#define RTC_RODATA_ATTR __attribute__((section(".rtc.rodata")))
// Forces to put some user defined data in the binary file header, the offset is 0x10.
#define USER_DATA_ATTR __attribute__((section(".user.data")))
#endif /* __ESP_ATTR_H__ */