SubMarine icon indicating copy to clipboard operation
SubMarine copied to clipboard

Compilation error - SPIFFS.h and BluetoothSerial.h

Open gorizilla opened this issue 2 years ago • 5 comments

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"

gorizilla avatar May 18 '23 16:05 gorizilla

Do you use an ESP32 or any other board ?

simondankelmann avatar May 19 '23 06:05 simondankelmann

Esp32 Wroom

gorizilla avatar May 19 '23 06:05 gorizilla

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 :)

simondankelmann avatar May 19 '23 08:05 simondankelmann

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.

gorizilla avatar May 21 '23 21:05 gorizilla

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?

simondankelmann avatar Jun 02 '23 07:06 simondankelmann