]> granicus.if.org Git - esp-idf/commitdiff
esp32: esp_attr.h should include sdkconfig.h
authorAngus Gratton <angus@espressif.com>
Wed, 2 Jan 2019 06:04:53 +0000 (17:04 +1100)
committerAngus Gratton <gus@projectgus.com>
Wed, 2 Jan 2019 06:04:53 +0000 (17:04 +1100)
Reported on forum https://esp32.com/viewtopic.php?f=13&t=8669#p36395

components/esp32/include/esp_attr.h

index e820d892ca413eecf80cfaf5c4871573c5841312..c9e3879eea3298011d811dec614c35b5227c517f 100644 (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,