To the libraries list, you’ll need to add emonLibDB and RFM69_LPL
You won’t need RFu_JeeLib or GLCD_ST7565, and I can’t see why it’s asking for EEPROM.h because that’s not asked for in the source file I think you’re using. SPI.h is part of the Arduino IDE, as far as I’m aware.
only change was [Preformatted text](https://github.com/openenergymonitor/EmonLibCM#avrdb) to [Preformatted text](https://github.com/openenergymonitor/emonLibDB) which is clearly the correct one now for my set up.
Tantalizingly close, the attempt to compile leaves only the one error looking for EEPROM.h which seems to be sourced from emonEProm.cpp.o (that’s probably the wrong terminology):
This must be another fault in platromio. I don’t use it because it’s malware in my book: when I tried it, it moved my downloaded stuff from Github - proof was scripts to do the download suddenly stopped because the destination directory wasn’t there.
Your work-around will be to copy EEPROM.h into the same place as all your OEM libraries.
Ouch, not a pleasant experience! I see why you stay away from it.
Regarding EEPROM.h, the weird thing is I do already have it sitting in the root directory with the other header files. I can’t remember where I grabbed it from, certainly could not be the file that is expected.
Thanks for your help. Maybe Trystan will be able to pop back here and sort me out.
If not I guess I’ll try to set up Arduino IDE. Maybe I’ll try the ‘portable’ linux download and run it on the machine that the emonTx4 is actually connected to.
Ok… after one newbie hurdle (or two) I got my custom firmware compiled using the legacy version of Arduino IDE and uploaded using avrdude on the machine that runs emonhub. Thanks for your help Robert!
I’m very pleased and can finally close some browsers windows I had open for reference!