diff options
author | Dean Camera <[email protected]> | 2012-02-18 23:33:12 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2012-02-18 23:33:12 +0000 |
commit | 1132488e8f80b43473ce4e53db9dd8ce12e87e13 (patch) | |
tree | c0d138685f664d079e9218d611227aab5919bc15 /BuildTests/ModuleTest/Modules.h | |
parent | 04b8360b15e3f1a78cb74e97b0c9acbb068f025a (diff) | |
download | qmk_firmware-1132488e8f80b43473ce4e53db9dd8ce12e87e13.tar.gz qmk_firmware-1132488e8f80b43473ce4e53db9dd8ce12e87e13.zip |
Add build tests to verify correct compilation of as many modules as possible under as many architectures as possible.
Fix broken compilation of LUFA under C++ compilers when the Serial peripheral module header file is included in a C++ source file.
Fix missing semicolon in the UC3 architecture host pipe functions.
Fix failed compilation for the XMEGA architecture if USB_DEVICE_ONLY us not specified.
Diffstat (limited to 'BuildTests/ModuleTest/Modules.h')
-rw-r--r-- | BuildTests/ModuleTest/Modules.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/BuildTests/ModuleTest/Modules.h b/BuildTests/ModuleTest/Modules.h new file mode 100644 index 0000000000..9de4d7860f --- /dev/null +++ b/BuildTests/ModuleTest/Modules.h @@ -0,0 +1,19 @@ +#include <LUFA/Common/Common.h>
+
+#include <LUFA/Drivers/USB/USB.h>
+#include <LUFA/Drivers/Misc/RingBuffer.h>
+#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>
+ #include <LUFA/Drivers/Peripheral/SPI.h>
+ #include <LUFA/Drivers/Peripheral/SerialSPI.h>
+#elif (ARCH == ARCH_XMEGA)
+ #include <LUFA/Drivers/Peripheral/Serial.h>
+ #include <LUFA/Drivers/Peripheral/SPI.h>
+ #include <LUFA/Drivers/Peripheral/SerialSPI.h>
+#elif (ARCH == ARCH_UC3)
+
+#endif
\ No newline at end of file |