Update ModuleTest to compile for each sub-family within each architecture, to ensure that the code compiles for all devices (not just for one device in each architecture).

This commit is contained in:
Dean Camera 2012-03-04 14:43:14 +00:00
parent 7416ebd7c6
commit eb1275890a
3 changed files with 35 additions and 14 deletions

View file

@ -35,9 +35,15 @@
#include <LUFA/Drivers/Misc/TerminalCodes.h>
#if (ARCH == ARCH_AVR8)
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Peripheral/TWI.h>
#include <LUFA/Drivers/Peripheral/ADC.h>
#if defined(TWCR)
#include <LUFA/Drivers/Peripheral/TWI.h>
#endif
#if defined(ADC)
#include <LUFA/Drivers/Peripheral/ADC.h>
#endif
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Peripheral/SPI.h>
#include <LUFA/Drivers/Peripheral/SerialSPI.h>
#elif (ARCH == ARCH_XMEGA)