aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-03-09 11:11:05 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-03-09 11:11:05 +0000
commitd5cff25cd14053965fcf072a7109493155a531c3 (patch)
treedc244bc48a35fc75ac7abcae4f0ff92a1a406ad9
parente62e50c66360669d5e64d61f615d9b4ee24ca59f (diff)
downloadlufa-d5cff25cd14053965fcf072a7109493155a531c3.tar.gz
lufa-d5cff25cd14053965fcf072a7109493155a531c3.tar.bz2
lufa-d5cff25cd14053965fcf072a7109493155a531c3.zip
Update Bootloader buld test to generate bootloaders using the new Printer class bootloader. Optimize incomplete Mass Storage bootloader LUFA configuration.
-rw-r--r--Bootloaders/Incomplete/MassStorage/Config/LUFAConfig.h6
-rw-r--r--BuildTests/BootloaderTest/BootloaderDeviceMap.cfg38
2 files changed, 40 insertions, 4 deletions
diff --git a/Bootloaders/Incomplete/MassStorage/Config/LUFAConfig.h b/Bootloaders/Incomplete/MassStorage/Config/LUFAConfig.h
index b1ae7b521..b6f4020c6 100644
--- a/Bootloaders/Incomplete/MassStorage/Config/LUFAConfig.h
+++ b/Bootloaders/Incomplete/MassStorage/Config/LUFAConfig.h
@@ -57,13 +57,13 @@
// #define NO_CLASS_DRIVER_AUTOFLUSH
/* General USB Driver Related Tokens: */
-// #define ORDERED_EP_CONFIG
+ #define ORDERED_EP_CONFIG
#define USE_STATIC_OPTIONS (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)
#define USB_DEVICE_ONLY
// #define USB_HOST_ONLY
// #define USB_STREAM_TIMEOUT_MS {Insert Value Here}
// #define NO_LIMITED_CONTROLLER_CONNECT
-// #define NO_SOF_EVENTS
+ #define NO_SOF_EVENTS
/* USB Device Mode Driver Related Tokens: */
#define USE_RAM_DESCRIPTORS
@@ -71,7 +71,7 @@
// #define USE_EEPROM_DESCRIPTORS
// #define NO_INTERNAL_SERIAL
#define FIXED_CONTROL_ENDPOINT_SIZE 8
-// #define DEVICE_STATE_AS_GPIOR {Insert Value Here}
+ #define DEVICE_STATE_AS_GPIOR 0
#define FIXED_NUM_CONFIGURATIONS 1
// #define CONTROL_ONLY_DEVICE
#define INTERRUPT_CONTROL_ENDPOINT
diff --git a/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg b/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg
index 0921de34e..5d49d4847 100644
--- a/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg
+++ b/BuildTests/BootloaderTest/BootloaderDeviceMap.cfg
@@ -114,4 +114,40 @@ HID = AVR8 : at90usb162 : NONE : 16 : 2 : 16 :
HID = AVR8 : at90usb162 : NONE : 16 : 4 : 16 :
HID = AVR8 : at90usb162 : NONE : 16 : 2 : 16 :
HID = AVR8 : at90usb162 : NONE : 16 : 4 : 16 :
-# \ No newline at end of file
+#
+# ---------- Printer Bootloader ------------------
+Printer = AVR8 : at90usb1287 : XPLAIN : 128 : 8 : 8 :
+Printer = AVR8 : at90usb1287 : NONE : 128 : 8 : 8 :
+Printer = AVR8 : at90usb1287 : NONE : 128 : 4 : 8 :
+Printer = AVR8 : at90usb647 : NONE : 64 : 4 : 8 :
+Printer = AVR8 : at90usb1286 : NONE : 128 : 8 : 8 :
+Printer = AVR8 : at90usb1286 : NONE : 128 : 4 : 8 :
+Printer = AVR8 : at90usb646 : NONE : 64 : 4 : 8 :
+Printer = AVR8 : atmega32u4 : NONE : 32 : 4 : 8 :
+Printer = AVR8 : atmega16u4 : NONE : 16 : 4 : 8 :
+Printer = AVR8 : atmega32u2 : NONE : 32 : 4 : 8 :
+Printer = AVR8 : atmega16u2 : NONE : 16 : 4 : 8 :
+Printer = AVR8 : atmega8u2 : NONE : 8 : 4 : 8 :
+Printer = AVR8 : at90usb162 : NONE : 16 : 4 : 8 :
+Printer = AVR8 : at90usb82 : NONE : 8 : 4 : 8 :
+Printer = AVR8 : at90usb1287 : NONE : 128 : 8 : 16 :
+Printer = AVR8 : at90usb1287 : NONE : 128 : 4 : 16 :
+Printer = AVR8 : at90usb647 : NONE : 64 : 4 : 16 :
+Printer = AVR8 : at90usb1286 : NONE : 128 : 8 : 16 :
+Printer = AVR8 : at90usb1286 : NONE : 128 : 4 : 16 :
+Printer = AVR8 : at90usb646 : NONE : 64 : 4 : 16 :
+Printer = AVR8 : atmega32u4 : NONE : 32 : 4 : 16 :
+Printer = AVR8 : atmega16u4 : NONE : 16 : 4 : 16 :
+Printer = AVR8 : atmega32u2 : NONE : 32 : 4 : 16 :
+Printer = AVR8 : atmega16u2 : NONE : 16 : 4 : 16 :
+Printer = AVR8 : atmega8u2 : NONE : 8 : 4 : 16 :
+Printer = AVR8 : at90usb162 : NONE : 16 : 4 : 16 :
+Printer = AVR8 : at90usb82 : NONE : 8 : 4 : 16 :
+#
+# ---------- Mass Storage Bootloader -----------------
+#Incomplete/MassStorage = AVR8 : at90usb1287 : XPLAIN : 128 : 8 : 8 :
+#Incomplete/MassStorage = AVR8 : at90usb1287 : NONE : 128 : 8 : 8 :
+#Incomplete/MassStorage = AVR8 : at90usb1286 : NONE : 128 : 8 : 8 :
+#Incomplete/MassStorage = AVR8 : at90usb1287 : NONE : 128 : 8 : 16 :
+#Incomplete/MassStorage = AVR8 : at90usb1286 : NONE : 128 : 8 : 16 :
+#