mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 20:35:08 +02:00
startup: Add assertion checks around various initialisation sequences
These may fail if close to 192KB of static RAM is allocated (remaining early heap RAM is too small.)
This commit is contained in:
committed by
Angus Gratton
parent
2b0f623259
commit
99fe61716c
@@ -173,7 +173,8 @@ static void dport_access_init_core(void *arg)
|
||||
/* Defer initialisation until after scheduler is running */
|
||||
void esp_dport_access_int_init(void)
|
||||
{
|
||||
xTaskCreatePinnedToCore(&dport_access_init_core, "dport", configMINIMAL_STACK_SIZE, NULL, 5, NULL, xPortGetCoreID());
|
||||
portBASE_TYPE res = xTaskCreatePinnedToCore(&dport_access_init_core, "dport", configMINIMAL_STACK_SIZE, NULL, 5, NULL, xPortGetCoreID());
|
||||
assert(res == pdTRUE);
|
||||
}
|
||||
|
||||
void esp_dport_access_int_deinit(void)
|
||||
|
||||
Reference in New Issue
Block a user