soc: espressif: update restart procedure

Use esp_restart call to guarantee and registered
shutdown handlers will be triggered before rebooting.
This guarantees that subsystems like Wi-Fi and BLE
will deinit correctly.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2025-04-01 13:42:04 -03:00 committed by Benjamin Cabé
commit ac0705d59b
9 changed files with 9 additions and 9 deletions

View file

@ -63,5 +63,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -102,5 +102,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -50,5 +50,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -51,5 +51,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -50,5 +50,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -78,5 +78,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -90,5 +90,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -87,5 +87,5 @@ int IRAM_ATTR arch_printk_char_out(int c)
void sys_arch_reboot(int type)
{
esp_restart_noos();
esp_restart();
}

View file

@ -162,7 +162,7 @@ manifest:
groups:
- hal
- name: hal_espressif
revision: c33e522158d69417c4a66d07b5009b35c52481f8
revision: dbc28ad4c1bdcdb25e79ca225cb5528a75d8dc91
path: modules/hal/espressif
west-commands: west/west-commands.yml
groups: