[esp_rom]: fixed S3 longjmp patch

* On S3, the placement of ROM functions is
  ECO-dependent. Hence, we don't jump into
  the middle of the longjmp function in ROM
  on S3 anymore.
  Instead, the whole longjump function is used
  in the patch.

* Also properly excluded the patch from
  bootloader build with Makefiles

Closes IDF-3391
This commit is contained in:
Jakob Hasse
2021-06-11 11:56:58 +08:00
parent 6b468d40fb
commit e32831033a
5 changed files with 97 additions and 11 deletions

View File

@@ -0,0 +1,4 @@
#
# "main" pseudo-component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)

View File

@@ -110,7 +110,7 @@ void app_main(void)
}
vTaskDelay(10000);
printf("stopping timers...\n");
printf("stopping timer...\n");
esp_timer_stop(crash_timer);
esp_timer_delete(crash_timer);