Browse Source

ka

webserver_config
agr 4 years ago
parent
commit
e249d8f18e
3 changed files with 20 additions and 4 deletions
  1. +9
    -3
      .cproject
  2. +10
    -0
      .project
  3. +1
    -1
      struct.h

+ 9
- 3
.cproject View File

@@ -22,10 +22,12 @@
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/core}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/core}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/variant}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/variant}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/PubSubClient/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/PubSubClient/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFi/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/Ethernet/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/Ethernet/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/SPI/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/SPI/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/EEPROM/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/EEPROM/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/ESP32/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFiEsp/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFi/src}&quot;"/>
</option> </option>
<inputType id="io.sloeber.compiler.cpp.sketch.input.937136842" name="CPP source files" superClass="io.sloeber.compiler.cpp.sketch.input"/> <inputType id="io.sloeber.compiler.cpp.sketch.input.937136842" name="CPP source files" superClass="io.sloeber.compiler.cpp.sketch.input"/>
</tool> </tool>
@@ -34,10 +36,12 @@
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/core}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/core}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/variant}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/variant}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/PubSubClient/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/PubSubClient/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFi/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/Ethernet/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/Ethernet/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/SPI/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/SPI/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/EEPROM/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/EEPROM/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/ESP32/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFiEsp/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFi/src}&quot;"/>
</option> </option>
<inputType id="io.sloeber.compiler.c.sketch.input.1969354592" name="C Source Files" superClass="io.sloeber.compiler.c.sketch.input"/> <inputType id="io.sloeber.compiler.c.sketch.input.1969354592" name="C Source Files" superClass="io.sloeber.compiler.c.sketch.input"/>
</tool> </tool>
@@ -46,10 +50,12 @@
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/core}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/core}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/variant}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/core/variant}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/PubSubClient/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/PubSubClient/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFi/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/Ethernet/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/Ethernet/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/SPI/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/SPI/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/EEPROM/src}&quot;"/> <listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/EEPROM/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/ESP32/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFiEsp/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/esp32MQTT/libraries/WiFi/src}&quot;"/>
</option> </option>
<inputType id="io.sloeber.compiler.S.sketch.input.132653342" name="Assembly source files" superClass="io.sloeber.compiler.S.sketch.input"/> <inputType id="io.sloeber.compiler.S.sketch.input.132653342" name="Assembly source files" superClass="io.sloeber.compiler.S.sketch.input"/>
</tool> </tool>


+ 10
- 0
.project View File

@@ -46,6 +46,11 @@
<type>2</type> <type>2</type>
<locationURI>ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/EEPROM</locationURI> <locationURI>ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/EEPROM</locationURI>
</link> </link>
<link>
<name>libraries/ESP32</name>
<type>2</type>
<locationURI>ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/ESP32</locationURI>
</link>
<link> <link>
<name>libraries/Ethernet</name> <name>libraries/Ethernet</name>
<type>2</type> <type>2</type>
@@ -66,5 +71,10 @@
<type>2</type> <type>2</type>
<locationURI>ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi</locationURI> <locationURI>ECLIPSE_HOME/arduinoPlugin/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi</locationURI>
</link> </link>
<link>
<name>libraries/WiFiEsp</name>
<type>2</type>
<locationURI>ECLIPSE_HOME/arduinoPlugin/libraries/WiFiEsp/2.2.2</locationURI>
</link>
</linkedResources> </linkedResources>
</projectDescription> </projectDescription>

+ 1
- 1
struct.h View File

@@ -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) int EEPROM_readAnything(int ee, config_t& value)
{ {


Loading…
Cancel
Save