diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 13:06:11 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 13:06:11 +0000 |
commit | 380f014c4c7b3e317181654577b24c41c266bf8f (patch) | |
tree | c2b820da79d77809c0001f16527c902b27fdbe7f /BuildTests/BoardDriverTest | |
parent | 96fd39eda86e963177cb7895f6c2216ecb9c732a (diff) | |
download | lufa-380f014c4c7b3e317181654577b24c41c266bf8f.tar.gz lufa-380f014c4c7b3e317181654577b24c41c266bf8f.tar.bz2 lufa-380f014c4c7b3e317181654577b24c41c266bf8f.zip |
Added build test to verify correct compilation of all bootloaders using all supported devices.
Fixed compile error with the unreleased ATMEGA32U6 device.
Diffstat (limited to 'BuildTests/BoardDriverTest')
-rw-r--r-- | BuildTests/BoardDriverTest/BoardDeviceMap.cfg | 3 | ||||
-rw-r--r-- | BuildTests/BoardDriverTest/makefile | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/BuildTests/BoardDriverTest/BoardDeviceMap.cfg b/BuildTests/BoardDriverTest/BoardDeviceMap.cfg index 683b1819d..b566ce6bf 100644 --- a/BuildTests/BoardDriverTest/BoardDeviceMap.cfg +++ b/BuildTests/BoardDriverTest/BoardDeviceMap.cfg @@ -1,4 +1,5 @@ # BOARD DEFINE = {ARCH} : {MCU} :
+
BOARD_USER = avr8 : at90usb1287 :
BOARD_NONE = avr8 : at90usb1287 :
BOARD_USBKEY = avr8 : at90usb1287 :
@@ -48,4 +49,4 @@ BOARD_MULTIO = avr8 : at90usb162 : BOARD_BIGMULTIO = avr8 : atmega32u4 :
BOARD_DUCE = avr8 : atmega32u2 :
BOARD_OLIMEX32U4 = avr8 : atmega32u4 :
-BOARD_OLIMEXT32U4 = avr8 : atmega32u4 :
\ No newline at end of file +BOARD_OLIMEXT32U4 = avr8 : atmega32u4 :
diff --git a/BuildTests/BoardDriverTest/makefile b/BuildTests/BoardDriverTest/makefile index 598d953b6..bc4d55977 100644 --- a/BuildTests/BoardDriverTest/makefile +++ b/BuildTests/BoardDriverTest/makefile @@ -29,11 +29,11 @@ makeboardlist: @grep "BOARD_" $(LUFA_ROOT_PATH)/LUFA/Common/BoardTypes.h | cut -d'#' -f2 | cut -d' ' -f2 | grep "BOARD_" > BoardList.txt
testboards:
- echo "buildtest:" > BuildMakefile
+ @echo "buildtest:" > BuildMakefile
@while read line; \
do \
- build_cfg=`grep "$$line " BoardDeviceMap.cfg | sed 's/ //g' | cut -d'=' -f2-`; \
+ build_cfg=`grep "$$line " BoardDeviceMap.cfg | sed 's/ //g' | grep -v "#" | cut -d'=' -f2-`; \
\
build_board=$$line; \
build_arch=`echo $$build_cfg | cut -d':' -f1`; \
|