RyoKosaka / HelloDrum-arduino-Library

This is a library for making E-Drum with arduino.
https://open-e-drums.com/
MIT License
234 stars 57 forks source link

fixes RP2040 build #47

Open SunboX opened 2 years ago

SunboX commented 2 years ago

This PR fixes issue #46 by disabling EEPROM / setting storage support for RP2040 boards for now. The build does not work at all / fails. The feature must be added for RP2040 boards later on.

RP2040 boards do not come with a build in EEPROM. But the Arduino EEPROM library in general does support those boards thought. They use some Flash storage to emulate the EEPROM. But it's not recommended to do it this way, because Flash storage wears out quicker than an EEPROM does.

Preferred way would be, to add an SD-Card Reader for storing the settings. For this, some generic setting handler / adapter / plugin handler would be required.