Add build test for forced single USB modes.

Fix UC3 Interrupt Management platform driver not compiling under C++.
This commit is contained in:
Dean Camera 2012-02-19 01:17:54 +00:00
parent 1132488e8f
commit 2f036ae2bf
12 changed files with 2024 additions and 6 deletions

View file

@ -28,6 +28,7 @@
this software.
*/
#define __INCLUDE_FROM_INTMANAGEMENT_C
#include "InterruptManagement.h"
/** Interrupt vector table, containing the ISR to call for each interrupt group */

View file

@ -84,9 +84,11 @@
typedef void (*InterruptHandlerPtr_t)(void);
/* External Variables: */
extern const void EVBA_Table;
extern const uint32_t Autovector_Table[];
#if defined(__INCLUDE_FROM_INTMANAGEMENT_C)
extern const void EVBA_Table;
#endif
extern InterruptHandlerPtr_t InterruptHandlers[AVR32_INTC_NUM_INT_GRPS];
extern const uint32_t Autovector_Table[];
#endif
/* Public Interface - May be used in end-application: */