aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-11-08 03:41:48 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-11-08 03:41:48 +0000
commit0ce2950d811b8dc11e46602e7490d795d8ddfb5d (patch)
tree3f070d28b9fe15ef998300769c256477669d5848 /LUFA/Common
parentbac860b173c938bda02be4d2b1e6c72d21380a38 (diff)
downloadlufa-0ce2950d811b8dc11e46602e7490d795d8ddfb5d.tar.gz
lufa-0ce2950d811b8dc11e46602e7490d795d8ddfb5d.tar.bz2
lufa-0ce2950d811b8dc11e46602e7490d795d8ddfb5d.zip
Added board hardware driver support for the Adafruit U4 breakout board.
Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
Diffstat (limited to 'LUFA/Common')
-rw-r--r--LUFA/Common/BoardTypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/LUFA/Common/BoardTypes.h b/LUFA/Common/BoardTypes.h
index 602f46207..b5061dc09 100644
--- a/LUFA/Common/BoardTypes.h
+++ b/LUFA/Common/BoardTypes.h
@@ -131,6 +131,9 @@
/** Selects the Minimus specific board drivers, including the Button and LEDs drivers. */
#define BOARD_MINIMUS 22
+ /** Selects the Adafruit U4 specific board drivers, including the Button and LEDs drivers. */
+ #define BOARD_ADAFRUITU4 23
+
#if !defined(__DOXYGEN__)
#define BOARD_ BOARD_NONE