esp32: esp_attr.h should include sdkconfig.h

Reported on forum https://esp32.com/viewtopic.php?f=13&t=8669#p36395
This commit is contained in:
Angus Gratton 2019-01-02 17:04:53 +11:00 committed by Angus Gratton
parent 6578673ed4
commit 4a42827c4a

View File

@ -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,