Go Down

Topic: ESP8266 Installation (Read 102 times) previous topic - next topic

Shandy

Please move if this is in the wrong section my thought process was its the arduino IDE, its my installation and its troubleshooting and without further a due.

I am trying to use an ESP8266 node MCU on the arduino IDE however after going into the preferences and inserting "https://dl.espressif.com/dl/package_esp32_index.json" among others and installing the relevant board manager download i am plagued with an error.

I want to connect to WiFi, thats works fine.
I want to create an access point, fine.
I want to make a porn website, not really but would work fine.

Now i want to put a file in the SPIFFS womfur and well "SPIFFS.h: No such file or directory" this also applies for "ESPAsyncWebServer.h" i can replicate this by creating a sketch with nothing but 2 includes to these two files inside of it and the FS.h file aswell.

I have tried reinstalling the arduino IDE (Microsoft app) i have tried dropping in different versions manually into the arduinos directory, i have tried hitting it, copying and pasting links to all JSON files i can find that look slightly like they may work and nope same issue.

Any of you technical masterminds mind telling me which particular gremlin is causing my issues? Thanks in advance.

Juraj

#1
Apr 14, 2019, 06:01 pm Last Edit: Apr 14, 2019, 06:02 pm by Juraj
esp8266 or esp32?

http://arduino.esp8266.com/stable/package_esp8266com_index.json
install 2.4.2, not 2.5.0
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Shandy

esp8266 and already tried version 2.4.2 just uninstalled and tried that for a second time though since you said it and nope still the same result it cant find the SPIFFS.h or others.

Juraj

esp8266 and already tried version 2.4.2 just uninstalled and tried that for a second time though since you said it and nope still the same result it cant find the SPIFFS.h or others.
only esp32 has SPIFFS.h. esp8266 has only FS.h.
your example is for esp32
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Shandy

#4
Apr 14, 2019, 10:51 pm Last Edit: Apr 14, 2019, 10:57 pm by Shandy
Are you sure i definitely have a esp8266 and even selecting a esp8266 generic board on the IDE gives options for SPIFFS, a quick google returned dozens of tutorials for "ESP8266" and SPIFFS here is one such tutorial. Video

Edit: You may be on to something a further look into this reveals that although both have SPIFFS they use different libraries depending upon whether you are using a esp8266 or esp32 i guess, so in my case i have a esp8266 board and i am following a tutorial that is for a esp32.

Go Up