abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.03k stars 321 forks source link

Possible issue with including board specific headers #160

Closed j4cobgarby closed 4 years ago

j4cobgarby commented 4 years ago

This is my first time using LUFA so it's likely this isn't an actual issue, but I'm trying to compile the Keyboard ClassDriver demo project, and I want to compile it for my homemade microcontroller PCB, using an atmega32u4. I changed the makefile so that the microcontroller being used is the atmega32u4, and also changed the board to USER (I read somewhere this is what I should do). When I then type make, I immediately get an error about Board/Joystick.h not found. I tracked this down to Drivers/Board/Joystick.h, line 126, I think that line should say #include "Joystick.h" instead of #include "Board/Joystick.h". When I make this change manually, the project compiles successfully. Have I made a mistake here, or is this in fact an issue? Should I submit a pull request?

j4cobgarby commented 4 years ago

Now I'm on my desktop I can better clarify what I'm trying to say. This problem isn't specific to Joystick.h

j4cobgarby commented 4 years ago

whoops, didn't mean to close the issue. I'm really making a mess of this, sorry

j4cobgarby commented 4 years ago

Nevermind, turns out I can't read, I'm meant to set the board as BOARD_NONE.