Closed MattsBos closed 2 years ago
No need to change anything, just use the correct board URL that is also mentioned in our manual. Otherwise the Arduino IDE does not use the most recent ESP32 SDK. For PlatformIO you have to make the corresponding changes to platformio.ini, but this is beyond the scope of our support. If you don't get it to run with PlatformIO, use the Arduino IDE.
Hi,
I've been trying to get the build for BSB-LAN to work for this entire weekend already and I just can't seem to make it work. I've followed the steps from the manual but during the build I get the following output:
C:/Dev/BSB-LAN/BSB-LAN/BSB_LAN.ino:518:29: error: invalid conversion from 'const char*' to 'uint32_t {aka unsigned int}' [-fpermissive] Compiling .pio\build\esp32-evb\src\src\SdFat\MinimumSerial.cpp.o EEPROMClass EEPROM_ESP("nvs"); ^ In file included from C:/Dev/BSB-LAN/BSB-LAN/BSB_LAN.ino:509:0: C:\Users\User\.platformio\packages\framework-arduinoespressif32\libraries\EEPROM\src/EEPROM.h:37:5: note: initializing argument 1 of 'EEPROMClass::EEPROMClass(uint32_t)' EEPROMClass(uint32_t sector); ^
As you can see I've already tried to adjust
Class EEPROM_ESP((const char *)PSTR("nvs"));
toEEPROMClass EEPROM_ESP("nvs");
based on the only issue I could find containing EEPROM #420, but that doesn't change anything.