Arduino FW 'no Lufa.h' found
Maybe I'm at fault, but after doing a complete proper reinstall of Arduino IDE, I'm still getting the following message from Arduino when I try to program the Micro:
C:\Users\Willbot\Documents\Arduino\libraries\TripleController-main\TripleController-main\3dapter_FW-Switch\SegaController32U4.cpp:31:10: fatal error: EEPROM.h: No such file or directory #include <EEPROM.h> ^~~~~~~~~~ compilation terminated. exit status 1
Compilation error: EEPROM.h: No such file or directory
Just tried it on my install on Arduino 1.8.19 and it's building OK - have you selected the correct board type?
I have not tested it on Arduino 2.X
Thanks, I have the AVR Boards and LUFA Leopard as the selected Board. Before I installed to the most recent IDE, the headr <LUFA.h> wasn't being found. There seems to always be a .h type file that goes amiss, maybe Arduino reorganized the folders over the years. I might try a legacy version and report back.
I installed 1.8.19 on a different PC, uploaded the .json and installed the AVR boards. I get the same no 'Lufa.h' found error. Within the Switch FW folder, there is no Lufa.h file, but there is a Lufa.c.
The other header files seem to all be in the Switch FW folder, so I'm uncertain where to find Lufa.h? Is it missing from the Switch FW, or does Arduino put it in to some folder and I need to copy it over?
I am using User/Documents/Arduino to Store the Triple Controller folder.
I just tried everything on a clean Windows 11 machine with a clean Arduino 1.8.19 install.
I only had to add the boards JSON, install the LUFA AVR Boards 0.93.0 version, select Arduino Leonardo (LUFA) as the board type, and then compile the project (which was on my Desktop in the structure of the GitHub ZIP folder). Everything compiled without issue.
I'm not sure if it's a permissions issue, but the Lufa.h file is what comes with the boards installation, so it's not included with the project. But I can't seem to recreate this issue at the moment.
Ok thanks for helping. I'll wait for another ATMegu32U4 to be shipped and retry, it should be working and doesn't seem like a common error, so maybe I have a software bug of some sort.
I don't think it'll be anything related to the hardware - it should be compiling (building) without any hardware attached.
Maybe try enabling verbose logging for compilation: https://support.arduino.cc/hc/en-us/articles/4407705216274-Use-verbose-output-in-the-Arduino-IDE
Then post your output here and maybe I can help (or someone else looking) might be able to point out where the issue is.