Closed flohoff closed 2 years ago
Hi,
I can't say anything about the third issue, but the first two issues may be caused by not (re)moving the WiFiSpi folder from src before compiling for ESP32..!?!
See step 5 of the installation guide in Kapitel 2.1.2 or chapter 2.1.2 of the manual:
5. Remove (or move) the two folders “ArduinoMDNS” and “WiFiSpi” from the BSB-LAN subfolder “src” - these must not be present in the “BSB-LAN” or “src” folder!
Exactly. Reading the manual would have helped in all three cases, the third one is caused by not using the ESP framwork 2.0 or above, because it says 1.0.6 here.
@1coderookie: I know it's even mentioned in the Quick Start section of the manual, but maybe we should add as first entry in the FAQ the entry "Compilation fails" and list a few of the most common problems there (like the two that occurred here)?
For example like this: The error mentions something about "WiFiSPI"? If on ESP32, remove the WiFiSPI folder. The error mentions something about "ArduinoMDNS"? If on ESP32, remove the ArduinoMDNS folder. The error mentions something about "EEPROMClass"? Make sure you have the correct ESP32 framework installed (1.0.6 is too old).
Yepp, I just thought the same, I'll send you a mail.. ;)
BSB-LAN Version
define MAJOR "2"
define MINOR "1"
define PATCH "8"
define COMPILETIME "20220731102301"
flo@p5:~/projects/BSB/BSB-LAN/BSB_LAN$ git describe --long --all tags/v2.1-0-g4c932876
I had some compile issues which seem to be incompatibilities in the BSB-LAN and the respective libraries.
I am building for esp32 with arduino-cli
arduino-cli compile -b esp32:esp32:esp32 -v
Issue 1
espspi_proxy.cpp uses LOW and HIGH without including Arduino.h
Issue 2
Initializing with 0UL (unsigned long) does not work as there is only a method for uint32_t.
Issue 3
For obvious reasons this does not compile. But i have no clue what the correct argument would be. I need to dig in further. Just getting past this by passing a 1 results in an image, although the EEPROM issue might break (Not tested)