You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem with ASF and LUFA fighting for what the ISR() has to be. Both actually end up defining the same thing at the end, but ASF does it using ISR macro with 3 parameters (out of which 2 are not used ...).
The text was updated successfully, but these errors were encountered:
My current workaround is to modify the asf.h file each time it is generated and insert
#undef ISR
right before LUFA include files are loaded.
Like:
...
// From module: Interrupt management - UC3 implementation
#include <interrupt.h>
#undef ISR
// From module: LUFA Common Infrastructure
#include <LUFA/Common/Common.h>
#include <LUFA/Version.h>
...
...
This allows LUFA and ASF co-exist. (I am using only ISR() macro from LUFA, so I have not tested if any of the interrupt-driven ASF component fails on that or not)
There is a problem with ASF and LUFA fighting for what the ISR() has to be. Both actually end up defining the same thing at the end, but ASF does it using ISR macro with 3 parameters (out of which 2 are not used ...).
The text was updated successfully, but these errors were encountered: