aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/CDC
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-04-18 18:59:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-04-18 18:59:40 +0000
commit1ab76048c9c727a588a0cc0fab285222b5916df5 (patch)
tree20112dede85e3f2a27aabcef2087ed64c87cd94a /Bootloaders/CDC
parentb42642a5d6011f84422d338e38a2bfca46ed3ee8 (diff)
downloadlufa-1ab76048c9c727a588a0cc0fab285222b5916df5.tar.gz
lufa-1ab76048c9c727a588a0cc0fab285222b5916df5.tar.bz2
lufa-1ab76048c9c727a588a0cc0fab285222b5916df5.zip
Alter the bootloader section sizes to all be 8KB, to be in line with the default AT90USB1287 fuses, as that is the default target MCU. Add instructions to the documentation to clarify this for the user (thanks to Georg Glock).
Diffstat (limited to 'Bootloaders/CDC')
-rw-r--r--Bootloaders/CDC/BootloaderCDC.txt6
-rw-r--r--Bootloaders/CDC/makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.txt b/Bootloaders/CDC/BootloaderCDC.txt
index 276a0c9c4..618b95d25 100644
--- a/Bootloaders/CDC/BootloaderCDC.txt
+++ b/Bootloaders/CDC/BootloaderCDC.txt
@@ -47,9 +47,9 @@
* This bootloader enumerates to the host as a CDC Class device (virtual serial port), allowing for AVR109
* protocol compatible programming software to load firmware onto the AVR.
*
- * Out of the box this bootloader builds for the AT90USBUSB1287, and will fit into 4KB of bootloader space.
- * If you wish to enlarge this space and/or change the AVR model, you will need to edit the MCU, FLASH_SIZE_KB
- * and BOOT_SECTION_SIZE_KB values in the accompanying makefile.
+ * Out of the box this bootloader builds for the AT90USB1287 with an 8KB bootloader section size, and will fit
+ * into 4KB of bootloader space. If you wish to alter this size and/or change the AVR model, you will need to
+ * edit the MCU, FLASH_SIZE_KB and BOOT_SECTION_SIZE_KB values in the accompanying makefile.
*
* When the bootloader is running, the board's LED(s) will flash at regular intervals to distinguish the
* bootloader from the normal user application.
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile
index 066fb8884..a92172d54 100644
--- a/Bootloaders/CDC/makefile
+++ b/Bootloaders/CDC/makefile
@@ -95,7 +95,7 @@ F_USB = $(F_CPU)
# Note that the bootloader size and start address given in AVRStudio is in words and not
# bytes, and so will need to be doubled to obtain the byte address needed by AVR-GCC.
FLASH_SIZE_KB = 128
-BOOT_SECTION_SIZE_KB = 4
+BOOT_SECTION_SIZE_KB = 8
# Formulas used to calculate the starting address of the Bootloader section, and the User Application