mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(esp_common): Add esp_fault_internal.h for use by G0 components
In release/v5.x, esp_fault.h resides in the esp_hw_support (G1) component, so the G0 components (hal, esp_rom) must not depend on it. Copy its contents to esp_common as esp_fault_internal.h, keep esp_fault.h as a compatibility wrapper around it, and switch the hal and esp_rom ECDSA/ECC code to the internal header.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "esp_rom_caps.h"
|
||||
#if ESP_ROM_ECDSA_VERIFY_PATCH
|
||||
#include "soc/soc_caps.h"
|
||||
#include "esp_fault.h"
|
||||
#include "esp_fault_internal.h"
|
||||
#include "rom/ecdsa.h"
|
||||
|
||||
#define VALID_MAGIC_OK 0x6A6A6A6AU
|
||||
|
||||
Reference in New Issue
Block a user