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

Error compiling for arduino zero #93

Open
2018robert opened this issue Oct 27, 2024 · 1 comment
Open

Error compiling for arduino zero #93

2018robert opened this issue Oct 27, 2024 · 1 comment

Comments

@2018robert
Copy link

Trying to compile your gamport code on arduino ide for resulted in an error - see below. I would greatly appreciate any ideas on how to fix or investigate this issue.

HidDevice.h:159:21: error: 'EP_TYPE_INTERRUPT_IN' was not declared in this scope
uint8_t epType[1]{EP_TYPE_INTERRUPT_IN};

full error here:

error.txt

I want to compile for arduino zero because the SAMD21G18A chip has a lot more memory than the ATmega32U4. This should allow me to run the code necessary for a midi interface to operate on the gameport at the same time as joystick code.

@necroware
Copy link
Owner

I'm afraid you can't just take it and compile for another platform. You will have to implement USB HID registration, since the Arduino code will most probably not work with SAM D21 as is.

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

2 participants