aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-13 23:29:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-13 23:29:11 +0000
commit7b79325aa037db9786f0da069c11315a3f6d9721 (patch)
treec7cecdb1ed159e7f9c2331cb159e8b39bb6a8316 /Bootloaders
parent19ecd04f37f68c0674f1194aa8d8a4fc94d6168b (diff)
downloadlufa-7b79325aa037db9786f0da069c11315a3f6d9721.tar.gz
lufa-7b79325aa037db9786f0da069c11315a3f6d9721.tar.bz2
lufa-7b79325aa037db9786f0da069c11315a3f6d9721.zip
Removed two-step endpoint/pipe bank clear and switch sequence for smaller, faster endpoint/pipe code.
Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
Diffstat (limited to 'Bootloaders')
-rw-r--r--Bootloaders/TeensyHID/TeensyHID.c3
-rw-r--r--Bootloaders/TeensyHID/TeensyHID.txt2
2 files changed, 1 insertions, 4 deletions
diff --git a/Bootloaders/TeensyHID/TeensyHID.c b/Bootloaders/TeensyHID/TeensyHID.c
index 6cacfaf1e..2317ea4e5 100644
--- a/Bootloaders/TeensyHID/TeensyHID.c
+++ b/Bootloaders/TeensyHID/TeensyHID.c
@@ -68,9 +68,6 @@ void SetupHardware(void)
MCUSR &= ~(1 << WDRF);
wdt_disable();
- /* Disable clock division */
- clock_prescale_set(clock_div_1);
-
/* Relocate the interrupt vector table to the bootloader section */
MCUCR = (1 << IVCE);
MCUCR = (1 << IVSEL);
diff --git a/Bootloaders/TeensyHID/TeensyHID.txt b/Bootloaders/TeensyHID/TeensyHID.txt
index d102eacf2..52b6327dc 100644
--- a/Bootloaders/TeensyHID/TeensyHID.txt
+++ b/Bootloaders/TeensyHID/TeensyHID.txt
@@ -47,7 +47,7 @@
* This bootloader enumerates to the host as a HID Class device, allowing for Teensy compatible programming
* software to load firmware onto the AVR, such as the official software at <a>http://www.pjrc.com/teensy/</a>.
*
- * Out of the box this bootloader builds for the ATMEGA32U4, and will fit into 4KB of bootloader space. For other
+ * Out of the box this bootloader builds for the ATMEGA32U4, and will fit into 2-4KB of bootloader space. For other
* devices, the makefile will need to be updated to reflect the altered MCU model and bootloader start address. When
* calculating the bootloader start address, use (TARGET_FLASH_SIZE_BYTES - 4096).
*