Merge remote-tracking branch 'origin/remove-iram-attr-yield-delay' into integration

This commit is contained in:
J. Nick Koston
2026-02-18 15:00:36 -06:00
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ void arch_init() {
esp_ota_mark_app_valid_cancel_rollback();
#endif
}
void IRAM_ATTR HOT arch_feed_wdt() { esp_task_wdt_reset(); }
void HOT arch_feed_wdt() { esp_task_wdt_reset(); }
uint8_t progmem_read_byte(const uint8_t *addr) { return *addr; }
uint32_t arch_get_cpu_cycle_count() { return esp_cpu_get_cycle_count(); }
+1 -1
View File
@@ -27,7 +27,7 @@ void arch_restart() {
}
}
void arch_init() {}
void IRAM_ATTR HOT arch_feed_wdt() { system_soft_wdt_feed(); }
void HOT arch_feed_wdt() { system_soft_wdt_feed(); }
uint8_t progmem_read_byte(const uint8_t *addr) {
return pgm_read_byte(addr); // NOLINT
+1 -1
View File
@@ -48,7 +48,7 @@ void arch_restart() { exit(0); }
void arch_init() {
// pass
}
void IRAM_ATTR HOT arch_feed_wdt() {
void HOT arch_feed_wdt() {
// pass
}
+1 -1
View File
@@ -30,7 +30,7 @@ void arch_restart() {
while (1) {
}
}
void IRAM_ATTR HOT arch_feed_wdt() { lt_wdt_feed(); }
void HOT arch_feed_wdt() { lt_wdt_feed(); }
uint32_t arch_get_cpu_cycle_count() { return lt_cpu_get_cycle_count(); }
uint32_t arch_get_cpu_freq_hz() { return lt_cpu_get_freq(); }
uint8_t progmem_read_byte(const uint8_t *addr) { return *addr; }
+1 -1
View File
@@ -27,7 +27,7 @@ void arch_init() {
#endif
}
void IRAM_ATTR HOT arch_feed_wdt() { watchdog_update(); }
void HOT arch_feed_wdt() { watchdog_update(); }
uint8_t progmem_read_byte(const uint8_t *addr) {
return pgm_read_byte(addr); // NOLINT
+1 -1
View File
@@ -242,7 +242,7 @@ void Application::process_dump_config_() {
this->dump_config_at_++;
}
void IRAM_ATTR HOT Application::feed_wdt(uint32_t time) {
void HOT Application::feed_wdt(uint32_t time) {
static uint32_t last_feed = 0;
// Use provided time if available, otherwise get current time
uint32_t now = time ? time : millis();