mrrwa / NmraDcc

NMRA Digital Command Control (DCC) Library
GNU Lesser General Public License v2.1
135 stars 53 forks source link

platfromio 6.1.6 Add NMRADCC library No corresponding EEPROM library found #70

Closed murarduino closed 1 year ago

murarduino commented 1 year ago

I developed NMRADCC based on EPS32 and added NMRADCC in Platfromio (version:2.0.15) library, but during compilation, it was discovered that the EEPROM library could not be found. I found a lot of EEPROM related libraries in the PlatformIO library manager, and I 'm not sure which one to choose.

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/denky_d4.html PLATFORM: Espressif 32 (4.1.0) > Denky D4 (PICO-V3-02) HARDWARE: ESP32 240MHz, 320KB RAM, 8MB Flash DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:


kiwi64ajs commented 1 year ago

Hmmm... I've never tried to use Platformio so I'm unlikely to be of much help but does this solution mean anything to you? https://community.platformio.org/t/missing-eeprom-h/23547

murarduino commented 1 year ago

Thanks for the tip. I tried to force the EEPROM in lib_ldf_mode and the compilation passed. Perhaps there was a problem with the PlatformIO update synchronizing with the framework-arduionoespressif32 library, however, forcing the addition of the EEPROM will get the platform compiled.

platfromio.ini: [env:denky_d4] platform = espressif32 board = denky_d4 framework = arduino lib_deps = EEPROM ;forced addition mrrwa/NmraDcc@^2.0.15