diff --git a/components/esp32/include/esp_attr.h b/components/esp32/include/esp_attr.h index e820d892ca..c9e3879eea 100644 --- a/components/esp32/include/esp_attr.h +++ b/components/esp32/include/esp_attr.h @@ -14,6 +14,8 @@ #ifndef __ESP_ATTR_H__ #define __ESP_ATTR_H__ +#include "sdkconfig.h" + #define ROMFN_ATTR //Normally, the linker script will put all code and rodata in flash,