mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-26 10:06:51 +00:00
esp_rom: extract common ets apis into esp_rom_sys.h
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_system.h"
|
||||
#include "esp_rom_sys.h"
|
||||
|
||||
#if CONFIG_COMPILER_STACK_CHECK
|
||||
|
||||
@@ -32,7 +33,7 @@ __esp_stack_guard_setup (void)
|
||||
|
||||
void __stack_chk_fail (void)
|
||||
{
|
||||
ets_printf("\r\nStack smashing protect failure!\r\n\r\n");
|
||||
esp_rom_printf("\r\nStack smashing protect failure!\r\n\r\n");
|
||||
abort();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user