From d5cff25cd14053965fcf072a7109493155a531c3 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 9 Mar 2013 11:11:05 +0000 Subject: [PATCH] Update Bootloader buld test to generate bootloaders using the new Printer class bootloader. Optimize incomplete Mass Storage bootloader LUFA configuration. --- .../MassStorage/Config/LUFAConfig.h | 6 +-- .../BootloaderTest/BootloaderDeviceMap.cfg | 38 ++++++++++++++++++- 2 files changed, 40 insertions(+), 4 deletions(-) diff --git a/Bootloaders/Incomplete/MassStorage/Config/LUFAConfig.h b/Bootloaders/Incomplete/MassStorage/Config/LUFAConfig.h index b1ae7b5213..b6f4020c6a 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 0921de34eb..5d49d48476 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 : +#