Merge branch 'bugfix/bootloader_assert_v4.4' into 'release/v4.4'

bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set (v4.4)

See merge request espressif/esp-idf!19943
pull/9840/head
morris 2022-09-05 15:47:15 +08:00
commit 55039da3e5
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -12,7 +12,11 @@
void __assert_func(const char *file, int line, const char *func, const char *expr)
{
#if !CONFIG_OPTIMIZATION_ASSERTIONS_SILENT
esp_rom_printf("Assert failed in %s, %s:%d (%s)\r\n", func, file, line, expr);
#endif
while (1) {
}
}