Comments (4)
Just yesterday I tried compiling my project with INTERRUPT_CONTROL_ENDPOINT defined, and the resulting binary did not work.
from lufa.
There should not be a duplicate definition; one is USB_GEN_vect
, while the other is USB_COM_vect
. These are different vectors in the device, and the handlers will be called under different circumstances.
-
USB_GEN is the USB General Interrupt Vector, called when the device/host is suspended, reset, VBUS changes, etc.
-
USB_COM is the USB Common Interrupt Vector, called when an endpoint or pipe whose interrupts are enabled fires
from lufa.
from lufa.
It turns out that my problem was unrelated. It seems that HID_Device_USBTask() cannot be called from an interrupt when INTERRUPT_CONTROL_ENDPOINT is defined.
@abcminiuser Where would be the right place for me to add a note about this?
from lufa.
Related Issues (20)
- Possible issue with including board specific headers HOT 3
- MassStorageBootloader: Linux (Manjaro) is not working
- Hi, what about add demo for 3 in 1 device: mouse+keyboard+mass storage ? HOT 1
- blocking mode for bulk transfers possible? HOT 1
- teensy-ee targets fail to build for BulkVendor, VirtualSerial, and others HOT 5
- USB 3.0 Support HOT 1
- Implementación LUFA a MPLAB X HOT 2
- Need help for midi
- LUFA extension Atmel Studio 7 - update for version 210130 HOT 2
- multiple buffer overflow vulnerabilities in lufa HOT 3
- Some confusions please help: LUFA code vs. atmel spec sheets HOT 3
- Configuration variables cannot be set/overridden by target specific variable values HOT 1
- Mass storage device m16u2, issues with larger size file HOT 2
- LUFA USB CDC - connection with serial application fails after disconnect and reconnect HOT 2
- HID Parser Not Returning All Collections
- Mass storage, eject/unmount detection? HOT 1
- Unknown reference to "UpdateCurrentCompatibilityMode" HOT 2
- AVRISP-MKII Clone avrdude: stk500v2_command(): error in CMD_XPROG: Timeout
- How would I go about using a USB Host sheild with LUFA?
- compile error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lufa.