Merge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'

app_update: fix intermittent failure with firmware updates (backport v3.1)

See merge request idf/esp-idf!3419
This commit is contained in:
Ivan Grokhotkov
2018-10-16 10:58:24 +08:00
4 changed files with 50 additions and 19 deletions

View File

@@ -55,4 +55,7 @@
// after restart or during a deep sleep / wake cycle.
#define RTC_NOINIT_ATTR __attribute__((section(".rtc_noinit")))
// Forces to not inline function
#define NOINLINE_ATTR __attribute__((noinline))
#endif /* __ESP_ATTR_H__ */