Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible issue with including board specific headers #160

Closed
j4cobgarby opened this issue Mar 3, 2020 · 3 comments
Closed

Possible issue with including board specific headers #160

j4cobgarby opened this issue Mar 3, 2020 · 3 comments

Comments

@j4cobgarby
Copy link

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
Copy link
Author

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 j4cobgarby reopened this Mar 3, 2020
@j4cobgarby
Copy link
Author

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

@j4cobgarby
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant