aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/Printer
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-05-20 16:40:26 +0200
committerDean Camera <dean@fourwalledcubicle.com>2013-05-20 16:40:26 +0200
commitf8353236821c2194f3fffd38c26f77d056e66555 (patch)
treea17706597917aa8ea3f5b22ce93dc4b1afa3fced /Bootloaders/Printer
parentb37bde56753fc19bcab04ab4e24d5922b65026a4 (diff)
parent10448970e5c4c5ad374f0887532fedc0daf97c42 (diff)
downloadlufa-f8353236821c2194f3fffd38c26f77d056e66555.tar.gz
lufa-f8353236821c2194f3fffd38c26f77d056e66555.tar.bz2
lufa-f8353236821c2194f3fffd38c26f77d056e66555.zip
Merge branch 'XMEGA-Demo-Ports-ClockOnly'
Diffstat (limited to 'Bootloaders/Printer')
-rw-r--r--Bootloaders/Printer/BootloaderPrinter.h3
-rw-r--r--Bootloaders/Printer/asf.xml20
2 files changed, 12 insertions, 11 deletions
diff --git a/Bootloaders/Printer/BootloaderPrinter.h b/Bootloaders/Printer/BootloaderPrinter.h
index 67789de0c..1e9128858 100644
--- a/Bootloaders/Printer/BootloaderPrinter.h
+++ b/Bootloaders/Printer/BootloaderPrinter.h
@@ -44,8 +44,9 @@
#include "Descriptors.h"
- #include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Board/LEDs.h>
+ #include <LUFA/Drivers/USB/USB.h>
+ #include <LUFA/Platform/Platform.h>
/* Preprocessor Checks: */
#if !defined(__OPTIMIZE_SIZE__)
diff --git a/Bootloaders/Printer/asf.xml b/Bootloaders/Printer/asf.xml
index 5773bf6ea..b7621ac1b 100644
--- a/Bootloaders/Printer/asf.xml
+++ b/Bootloaders/Printer/asf.xml
@@ -9,8 +9,8 @@
<config name="config.compiler.optimization.level" value="size"/>
- <build type="define" name="F_CPU" value="8000000UL"/>
- <build type="define" name="F_USB" value="8000000UL"/>
+ <build type="define" name="F_CPU" value="16000000UL"/>
+ <build type="define" name="F_USB" value="16000000UL"/>
<build type="define" name="BOOT_START_ADDR" value="0x1F000"/>
<build type="linker-config" subtype="flags" value="--section-start=.text=0x1F000"/>
@@ -33,8 +33,8 @@
<config name="config.compiler.optimization.level" value="size"/>
- <build type="define" name="F_CPU" value="8000000UL"/>
- <build type="define" name="F_USB" value="8000000UL"/>
+ <build type="define" name="F_CPU" value="16000000UL"/>
+ <build type="define" name="F_USB" value="16000000UL"/>
<build type="define" name="BOOT_START_ADDR" value="0xF000"/>
<build type="linker-config" subtype="flags" value="--section-start=.text=0xF000"/>
@@ -57,8 +57,8 @@
<config name="config.compiler.optimization.level" value="size"/>
- <build type="define" name="F_CPU" value="8000000UL"/>
- <build type="define" name="F_USB" value="8000000UL"/>
+ <build type="define" name="F_CPU" value="16000000UL"/>
+ <build type="define" name="F_USB" value="16000000UL"/>
<build type="define" name="BOOT_START_ADDR" value="0x7000"/>
<build type="linker-config" subtype="flags" value="--section-start=.text=0x7000"/>
@@ -81,8 +81,8 @@
<config name="config.compiler.optimization.level" value="size"/>
- <build type="define" name="F_CPU" value="8000000UL"/>
- <build type="define" name="F_USB" value="8000000UL"/>
+ <build type="define" name="F_CPU" value="16000000UL"/>
+ <build type="define" name="F_USB" value="16000000UL"/>
<build type="define" name="BOOT_START_ADDR" value="0x3000"/>
<build type="linker-config" subtype="flags" value="--section-start=.text=0x3000"/>
@@ -105,8 +105,8 @@
<config name="config.compiler.optimization.level" value="size"/>
- <build type="define" name="F_CPU" value="8000000UL"/>
- <build type="define" name="F_USB" value="8000000UL"/>
+ <build type="define" name="F_CPU" value="16000000UL"/>
+ <build type="define" name="F_USB" value="16000000UL"/>
<build type="define" name="BOOT_START_ADDR" value="0x1000"/>
<build type="linker-config" subtype="flags" value="--section-start=.text=0x1000"/>