Add XMEGA TWI to the ModuleTest build test.
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 13 Aug 2013 19:35:21 +0000 (21:35 +0200)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 13 Aug 2013 19:35:21 +0000 (21:35 +0200)
BuildTests/ModuleTest/Modules.h

index c0b9388..2af314c 100644 (file)
@@ -30,6 +30,8 @@
 
 #include <LUFA/Common/Common.h>
 
+#include <LUFA/Platform/Platform.h>
+
 #include <LUFA/Drivers/USB/USB.h>
 #include <LUFA/Drivers/Misc/RingBuffer.h>
 #include <LUFA/Drivers/Misc/TerminalCodes.h>
                #include <LUFA/Drivers/Peripheral/ADC.h>
        #endif
 
-       #include <LUFA/Drivers/Peripheral/Serial.h>     
+       #include <LUFA/Drivers/Peripheral/Serial.h>
        #include <LUFA/Drivers/Peripheral/SPI.h>
        #include <LUFA/Drivers/Peripheral/SerialSPI.h>
 #elif (ARCH == ARCH_XMEGA)
+       #include <LUFA/Drivers/Peripheral/TWI.h>
        #include <LUFA/Drivers/Peripheral/Serial.h>
        #include <LUFA/Drivers/Peripheral/SPI.h>
        #include <LUFA/Drivers/Peripheral/SerialSPI.h>
-       
-       #include <LUFA/Platform/XMEGA/ClockManagement.h>
-#elif (ARCH == ARCH_UC3)
-       #include <LUFA/Platform/UC3/ClockManagement.h>
-       #include <LUFA/Platform/UC3/InterruptManagement.h>
-#endif
\ No newline at end of file
+#endif