diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-07 20:49:47 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-07 20:49:47 +0000 |
commit | 6e29655b5473c6f8235b72654f9aae9cfeb9b078 (patch) | |
tree | 5912c3a75d29d99ebe618641dc10b44a930fd3de /BuildTests/BootloaderTest | |
parent | 082537f5bd6b0620ff9b712b9370e5d0c01a61e3 (diff) | |
download | lufa-6e29655b5473c6f8235b72654f9aae9cfeb9b078.tar.gz lufa-6e29655b5473c6f8235b72654f9aae9cfeb9b078.tar.bz2 lufa-6e29655b5473c6f8235b72654f9aae9cfeb9b078.zip |
Update SVN line endings property on newer source files to native.
Diffstat (limited to 'BuildTests/BootloaderTest')
-rw-r--r-- | BuildTests/BootloaderTest/BootloaderDeviceMap.cfg | 124 | ||||
-rw-r--r-- | BuildTests/BootloaderTest/makefile | 122 |
2 files changed, 123 insertions, 123 deletions
diff --git a/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg b/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg index b4eacfc37..614b6b564 100644 --- a/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg +++ b/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg @@ -1,63 +1,63 @@ -#
-# LUFA Library
-# Copyright (C) Dean Camera, 2012.
-#
-# dean [at] fourwalledcubicle [dot] com
-# www.lufa-lib.org
-#
-#
-# =============================================================================
-# Bootloader configuration map script, processed with the "BootloaderTest"
-# makefile. This script file defines the targets for each LUFA bootloader,
-# which are then built as part of the build test to ensure that there are no
-# failures on all standard configurations. To add a new build target for a
-# bootloader to this script, use the format:
-#
-# BOOTLOADER = {ARCH} : {MCU} : {BOARD} : {FLASH SIZE KB} : {BOOT SIZE KB} :
-#
-# And re-run the makefile.
-# =============================================================================
-#
-#
-# ------------ CDC Bootloader -------------
-CDC = AVR8 : at90usb1287 : NONE : 128 : 8 :
-CDC = AVR8 : at90usb647 : NONE : 64 : 4 :
-CDC = AVR8 : at90usb1286 : NONE : 128 : 8 :
-CDC = AVR8 : at90usb646 : NONE : 64 : 4 :
-CDC = AVR8 : atmega32u6 : NONE : 32 : 4 :
-CDC = AVR8 : atmega32u4 : NONE : 32 : 4 :
-CDC = AVR8 : atmega16u4 : NONE : 16 : 4 :
-CDC = AVR8 : atmega32u2 : NONE : 32 : 4 :
-CDC = AVR8 : atmega16u2 : NONE : 16 : 4 :
-CDC = AVR8 : atmega8u2 : NONE : 8 : 4 :
-CDC = AVR8 : at90usb162 : NONE : 16 : 4 :
-CDC = AVR8 : at90usb82 : NONE : 8 : 4 :
-#
-# ------------ DFU Bootloader -------------
-DFU = AVR8 : at90usb1287 : NONE : 128 : 8 :
-DFU = AVR8 : at90usb647 : NONE : 64 : 4 :
-DFU = AVR8 : at90usb1286 : NONE : 128 : 8 :
-DFU = AVR8 : at90usb646 : NONE : 64 : 4 :
-DFU = AVR8 : atmega32u6 : NONE : 32 : 4 :
-DFU = AVR8 : atmega32u4 : NONE : 32 : 4 :
-DFU = AVR8 : atmega16u4 : NONE : 16 : 4 :
-DFU = AVR8 : atmega32u2 : NONE : 32 : 4 :
-DFU = AVR8 : atmega16u2 : NONE : 16 : 4 :
-DFU = AVR8 : atmega8u2 : NONE : 8 : 4 :
-DFU = AVR8 : at90usb162 : NONE : 16 : 4 :
-DFU = AVR8 : at90usb82 : NONE : 8 : 4 :
-#
-# ------------ HID Bootloader -------------
-HID = AVR8 : at90usb1287 : NONE : 128 : 4 :
-HID = AVR8 : at90usb647 : NONE : 64 : 4 :
-HID = AVR8 : at90usb1286 : NONE : 128 : 4 :
-HID = AVR8 : at90usb646 : NONE : 64 : 4 :
-HID = AVR8 : atmega32u6 : NONE : 32 : 4 :
-HID = AVR8 : atmega32u4 : NONE : 32 : 4 :
-HID = AVR8 : atmega16u4 : NONE : 16 : 4 :
-HID = AVR8 : atmega32u2 : NONE : 32 : 2 :
-HID = AVR8 : atmega16u2 : NONE : 16 : 2 :
-HID = AVR8 : atmega8u2 : NONE : 8 : 2 :
-HID = AVR8 : at90usb162 : NONE : 16 : 2 :
-HID = AVR8 : at90usb82 : NONE : 8 : 2 :
+# +# LUFA Library +# Copyright (C) Dean Camera, 2012. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# +# +# ============================================================================= +# Bootloader configuration map script, processed with the "BootloaderTest" +# makefile. This script file defines the targets for each LUFA bootloader, +# which are then built as part of the build test to ensure that there are no +# failures on all standard configurations. To add a new build target for a +# bootloader to this script, use the format: +# +# BOOTLOADER = {ARCH} : {MCU} : {BOARD} : {FLASH SIZE KB} : {BOOT SIZE KB} : +# +# And re-run the makefile. +# ============================================================================= +# +# +# ------------ CDC Bootloader ------------- +CDC = AVR8 : at90usb1287 : NONE : 128 : 8 : +CDC = AVR8 : at90usb647 : NONE : 64 : 4 : +CDC = AVR8 : at90usb1286 : NONE : 128 : 8 : +CDC = AVR8 : at90usb646 : NONE : 64 : 4 : +CDC = AVR8 : atmega32u6 : NONE : 32 : 4 : +CDC = AVR8 : atmega32u4 : NONE : 32 : 4 : +CDC = AVR8 : atmega16u4 : NONE : 16 : 4 : +CDC = AVR8 : atmega32u2 : NONE : 32 : 4 : +CDC = AVR8 : atmega16u2 : NONE : 16 : 4 : +CDC = AVR8 : atmega8u2 : NONE : 8 : 4 : +CDC = AVR8 : at90usb162 : NONE : 16 : 4 : +CDC = AVR8 : at90usb82 : NONE : 8 : 4 : +# +# ------------ DFU Bootloader ------------- +DFU = AVR8 : at90usb1287 : NONE : 128 : 8 : +DFU = AVR8 : at90usb647 : NONE : 64 : 4 : +DFU = AVR8 : at90usb1286 : NONE : 128 : 8 : +DFU = AVR8 : at90usb646 : NONE : 64 : 4 : +DFU = AVR8 : atmega32u6 : NONE : 32 : 4 : +DFU = AVR8 : atmega32u4 : NONE : 32 : 4 : +DFU = AVR8 : atmega16u4 : NONE : 16 : 4 : +DFU = AVR8 : atmega32u2 : NONE : 32 : 4 : +DFU = AVR8 : atmega16u2 : NONE : 16 : 4 : +DFU = AVR8 : atmega8u2 : NONE : 8 : 4 : +DFU = AVR8 : at90usb162 : NONE : 16 : 4 : +DFU = AVR8 : at90usb82 : NONE : 8 : 4 : +# +# ------------ HID Bootloader ------------- +HID = AVR8 : at90usb1287 : NONE : 128 : 4 : +HID = AVR8 : at90usb647 : NONE : 64 : 4 : +HID = AVR8 : at90usb1286 : NONE : 128 : 4 : +HID = AVR8 : at90usb646 : NONE : 64 : 4 : +HID = AVR8 : atmega32u6 : NONE : 32 : 4 : +HID = AVR8 : atmega32u4 : NONE : 32 : 4 : +HID = AVR8 : atmega16u4 : NONE : 16 : 4 : +HID = AVR8 : atmega32u2 : NONE : 32 : 2 : +HID = AVR8 : atmega16u2 : NONE : 16 : 2 : +HID = AVR8 : atmega8u2 : NONE : 8 : 2 : +HID = AVR8 : at90usb162 : NONE : 16 : 2 : +HID = AVR8 : at90usb82 : NONE : 8 : 2 : #
\ No newline at end of file diff --git a/BuildTests/BootloaderTest/makefile b/BuildTests/BootloaderTest/makefile index bc59bc46e..baee18e86 100644 --- a/BuildTests/BootloaderTest/makefile +++ b/BuildTests/BootloaderTest/makefile @@ -1,61 +1,61 @@ -#
-# LUFA Library
-# Copyright (C) Dean Camera, 2012.
-#
-# dean [at] fourwalledcubicle [dot] com
-# www.lufa-lib.org
-#
-
-# Makefile for the bootloader build test. This
-# test attempts to build all the bootloaders
-# with all supported device configurations.
-
-# Path to the LUFA library core
-LUFA_PATH = ../../LUFA/
-
-
-all: begin testbootloaders clean end
-
-begin:
- @echo Executing build test "BootloaderTest".
- @echo
-
-end:
- @echo Build test "BootloaderTest" complete.
- @echo
-
-testbootloaders:
- @echo "buildtest:" > BuildMakefile
-
- @while read line; \
- do \
- build_cfg=`echo $$line | grep -v "#" | sed 's/ //g'`; \
- \
- if ( test -n "$$build_cfg" ); then \
- build_bootloader=`echo $$build_cfg | cut -d'=' -f1`; \
- build_cfg=`echo $$build_cfg | cut -d'=' -f2-`; \
- \
- build_arch=`echo $$build_cfg | cut -d':' -f1`; \
- build_mcu=`echo $$build_cfg | cut -d':' -f2`; \
- build_board=`echo $$build_cfg | cut -d':' -f3`; \
- build_flashsize=`echo $$build_cfg | cut -d':' -f4`; \
- build_bootsize=`echo $$build_cfg | cut -d':' -f5`; \
- \
- printf "Found bootloader configuration for bootloader '%s' (FLASH: %3s KB | BOOT: %3s KB | MCU: %12s / %4s)\n" $$build_bootloader $$build_flashsize $$build_bootsize $$build_mcu $$build_arch; \
- \
- printf "\t@echo Building bootloader %s - %s - FLASH: %s KB, BOOT: %s KB\n" $$build_bootloader $$build_mcu $$build_flashsize $$build_bootsize >> BuildMakefile; \
- printf "\t$(MAKE) -s -C $(patsubst %/,%,$(LUFA_PATH))/../Bootloaders/%s/ clean elf ARCH=%s MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s\n\n" $$build_bootloader $$build_arch $$build_mcu $$build_board $$build_flashsize $$build_bootsize >> BuildMakefile; \
- fi; \
- done < BootloaderDeviceMap.cfg
-
- $(MAKE) -f BuildMakefile buildtest
-
-clean:
- rm -f BuildMakefile
-
-%:
-
-.PHONY: all begin end testbootloaders clean
-
-# Include LUFA build script makefiles
-include $(LUFA_PATH)/Build/lufa.core.in
+# +# LUFA Library +# Copyright (C) Dean Camera, 2012. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +# Makefile for the bootloader build test. This +# test attempts to build all the bootloaders +# with all supported device configurations. + +# Path to the LUFA library core +LUFA_PATH = ../../LUFA/ + + +all: begin testbootloaders clean end + +begin: + @echo Executing build test "BootloaderTest". + @echo + +end: + @echo Build test "BootloaderTest" complete. + @echo + +testbootloaders: + @echo "buildtest:" > BuildMakefile + + @while read line; \ + do \ + build_cfg=`echo $$line | grep -v "#" | sed 's/ //g'`; \ + \ + if ( test -n "$$build_cfg" ); then \ + build_bootloader=`echo $$build_cfg | cut -d'=' -f1`; \ + build_cfg=`echo $$build_cfg | cut -d'=' -f2-`; \ + \ + build_arch=`echo $$build_cfg | cut -d':' -f1`; \ + build_mcu=`echo $$build_cfg | cut -d':' -f2`; \ + build_board=`echo $$build_cfg | cut -d':' -f3`; \ + build_flashsize=`echo $$build_cfg | cut -d':' -f4`; \ + build_bootsize=`echo $$build_cfg | cut -d':' -f5`; \ + \ + printf "Found bootloader configuration for bootloader '%s' (FLASH: %3s KB | BOOT: %3s KB | MCU: %12s / %4s)\n" $$build_bootloader $$build_flashsize $$build_bootsize $$build_mcu $$build_arch; \ + \ + printf "\t@echo Building bootloader %s - %s - FLASH: %s KB, BOOT: %s KB\n" $$build_bootloader $$build_mcu $$build_flashsize $$build_bootsize >> BuildMakefile; \ + printf "\t$(MAKE) -s -C $(patsubst %/,%,$(LUFA_PATH))/../Bootloaders/%s/ clean elf ARCH=%s MCU=%s BOARD=%s FLASH_SIZE_KB=%s BOOT_SECTION_SIZE_KB=%s\n\n" $$build_bootloader $$build_arch $$build_mcu $$build_board $$build_flashsize $$build_bootsize >> BuildMakefile; \ + fi; \ + done < BootloaderDeviceMap.cfg + + $(MAKE) -f BuildMakefile buildtest + +clean: + rm -f BuildMakefile + +%: + +.PHONY: all begin end testbootloaders clean + +# Include LUFA build script makefiles +include $(LUFA_PATH)/Build/lufa.core.in |