diff --git a/.cproject b/.cproject index f6c71a3..d2432ae 100644 --- a/.cproject +++ b/.cproject @@ -22,10 +22,12 @@ - + + + @@ -34,10 +36,12 @@ - + + + @@ -46,10 +50,12 @@ - + + + diff --git a/.project b/.project index 301f100..ad0e5dc 100644 --- a/.project +++ b/.project @@ -46,6 +46,11 @@ 2 ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/EEPROM + + libraries/ESP32 + 2 + ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/ESP32 + libraries/Ethernet 2 @@ -66,5 +71,10 @@ 2 ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi + + libraries/WiFiEsp + 2 + ECLIPSE_HOME/arduinoPlugin/libraries/WiFiEsp/2.2.2 + diff --git a/struct.h b/struct.h index a6a9a12..053e93d 100644 --- a/struct.h +++ b/struct.h @@ -81,7 +81,7 @@ void set_EEPROM_Default() { } -#define P(name) static const unsigned char name[] +#define P(name) static const unsigned char name[] __attribute__(( section(".progmem." #name) )) int EEPROM_readAnything(int ee, config_t& value) {