simondankelmann / SubMarine

185 stars 14 forks source link

Compilation error - SPIFFS.h and BluetoothSerial.h #6

Open gorizilla opened 1 year ago

gorizilla commented 1 year ago

The includes are not found in the .ino file. Can you explain how to get it running?

SubMarine:2:10: fatal error: SPIFFS.h: No such file or directory 2 | #include "SPIFFS.h"

simondankelmann commented 1 year ago

Do you use an ESP32 or any other board ?

gorizilla commented 1 year ago

Esp32 Wroom

simondankelmann commented 1 year ago

so on my ubuntu machine the SPIFFS.h file is at:

~/.arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SPIFFS/src/

and BluetoothSerial.h is at:

~/.arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/BluetoothSerial/src/

so i guess you need to install the ESP32 package by adding this line:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

to Preferences->"Additional Boardmanager URLs" in your Arduino IDE

hope this helps :)

gorizilla commented 1 year ago

So far so good. It was the wrong board. But... The app crashes often. After the crash occurred it is impossible to reconnect to submarine so that I have to disconnect power and close app. The only thing that works is detect signal. Radar gets nothing. Record gets nothing. Load .sub icon says import but nothing to see in the list and when I press send nothing happens. Do you have any clue? Maybe wiring is wrong or so on. Please help.

It would be really nice when we got an easy and cheap alternative to flipper zero subG. My hope is an complete subg substitute for the flipper zero based on esp32 via web interface or Android app.

simondankelmann commented 1 year ago

Sry for the late response. Maybe it is due to the wiring, can you See any Output in the arduino serial Monitor regarding the cc1101 Connection?