diff options
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/DoxygenPages/ChangeLog.txt | 3 | ||||
-rw-r--r-- | LUFA/DoxygenPages/CompileTimeTokens.txt | 2 | ||||
-rw-r--r-- | LUFA/Platform/UC3/InterruptManagement.c | 1 | ||||
-rw-r--r-- | LUFA/Platform/UC3/InterruptManagement.h | 6 |
4 files changed, 8 insertions, 4 deletions
diff --git a/LUFA/DoxygenPages/ChangeLog.txt b/LUFA/DoxygenPages/ChangeLog.txt index f55512832..5b8f190cf 100644 --- a/LUFA/DoxygenPages/ChangeLog.txt +++ b/LUFA/DoxygenPages/ChangeLog.txt @@ -22,7 +22,8 @@ * - Added support for the Atmel XMEGA B1 Xplained board * - Added Serial USART peripheral driver for the XMEGA architecture * - Added Master Mode SPI USART peripheral driver for the XMEGA and AVR8 architectures - * - Added build tests to verify correct compilation of as many modules as possible under as many architectures as possible + * - Added build test to verify correct compilation of as many modules as possible under as many architectures as possible under the C and C++ languages + * - Added build test to verify correct compilation of the USB driver when forced into single USB mode under as many architectures as possible * - Library Applications: * - Added User Application APIs to the CDC and DFU class bootloaders * - Added INVERTED_ISP_MISO compile time option to the AVRISP-MKII clone project (thanks to Chuck Rohs) diff --git a/LUFA/DoxygenPages/CompileTimeTokens.txt b/LUFA/DoxygenPages/CompileTimeTokens.txt index 01b09e6f6..61c6f2757 100644 --- a/LUFA/DoxygenPages/CompileTimeTokens.txt +++ b/LUFA/DoxygenPages/CompileTimeTokens.txt @@ -81,7 +81,7 @@ * \section Sec_SummaryUSBTokens General USB Driver Related Tokens * This section describes compile tokens which affect USB driver stack as a whole in the LUFA library. * - * - <b>ORDERED_EP_CONFIG</b> - (\ref Group_EndpointManagement , \ref Group_PipeManagement) - <i>AVR8, UC3</i> \n + * - <b>ORDERED_EP_CONFIG</b> - (\ref Group_EndpointManagement , \ref Group_PipeManagement) - <i>AVR8, UC3</i> \n * The USB AVRs do not allow for Endpoints and Pipes to be configured out of order; they <i>must</i> be configured in an ascending order to * prevent data corruption issues. However, by default LUFA employs a workaround to allow for unordered Endpoint/Pipe initialization. This compile * time token may be used to restrict the initialization order to ascending indexes only in exchange for a smaller compiled binary size. Use diff --git a/LUFA/Platform/UC3/InterruptManagement.c b/LUFA/Platform/UC3/InterruptManagement.c index 3eb211bda..7d883c639 100644 --- a/LUFA/Platform/UC3/InterruptManagement.c +++ b/LUFA/Platform/UC3/InterruptManagement.c @@ -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 */ diff --git a/LUFA/Platform/UC3/InterruptManagement.h b/LUFA/Platform/UC3/InterruptManagement.h index 4c2721077..8dd1dc3d6 100644 --- a/LUFA/Platform/UC3/InterruptManagement.h +++ b/LUFA/Platform/UC3/InterruptManagement.h @@ -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: */ |