mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-10 18:06:29 +00:00
feat(esp_tee): Support for ESP-TEE - esp_system component
This commit is contained in:
@@ -63,6 +63,12 @@ ESP_SYSTEM_INIT_FN(init_show_cpu_freq, CORE, BIT(0), 10)
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
/* NOTE: When ESP-TEE is enabled, the Brownout Detection module is part
|
||||
* of the TEE and is initialized in the TEE startup routine itself.
|
||||
* It is protected from all REE accesses through memory protection mechanisms,
|
||||
* as it is a critical module for device functioning.
|
||||
*/
|
||||
#if !CONFIG_SECURE_ENABLE_TEE
|
||||
ESP_SYSTEM_INIT_FN(init_brownout, CORE, BIT(0), 104)
|
||||
{
|
||||
// [refactor-todo] leads to call chain rtc_is_register (driver) -> esp_intr_alloc (esp32/esp32s2) ->
|
||||
@@ -76,6 +82,7 @@ ESP_SYSTEM_INIT_FN(init_brownout, CORE, BIT(0), 104)
|
||||
#endif // CONFIG_ESP_BROWNOUT_DET
|
||||
return ESP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
ESP_SYSTEM_INIT_FN(init_newlib_time, CORE, BIT(0), 105)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user