aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2015-05-20 17:20:27 +1000
committerDean Camera <dean@fourwalledcubicle.com>2015-05-20 17:20:27 +1000
commit8fb0b4905ae95a1c5dce72a1b679dd1aea6481f0 (patch)
tree55574d2ac2388faaacf2e082f4d0f57b31a3173b /Projects
parent1d2680b3582107fc14e6d9db1204670fa52272bd (diff)
downloadlufa-8fb0b4905ae95a1c5dce72a1b679dd1aea6481f0.tar.gz
lufa-8fb0b4905ae95a1c5dce72a1b679dd1aea6481f0.tar.bz2
lufa-8fb0b4905ae95a1c5dce72a1b679dd1aea6481f0.zip
Add conflict warning to the AVRISP-MKII Clone project.
Diffstat (limited to 'Projects')
-rw-r--r--Projects/AVRISP-MKII/AVRISP-MKII.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.c b/Projects/AVRISP-MKII/AVRISP-MKII.c
index 82325e55e..6d4bc89ae 100644
--- a/Projects/AVRISP-MKII/AVRISP-MKII.c
+++ b/Projects/AVRISP-MKII/AVRISP-MKII.c
@@ -36,6 +36,16 @@
#include "AVRISP-MKII.h"
+#if (BOARD != BOARD_NONE)
+ /* Some board hardware definitions (e.g. the Arduino Micro) have their LEDs defined on the same pins
+ as the ISP, PDI or TPI interfaces (see the accompanying project documentation). If a board other
+ than NONE is selected (to enable the LED driver with the programmer) you should double-check that
+ no conflicts will occur. If there is a conflict, turn off the LEDs (set BOARD to NONE in the makefile)
+ or define a custom board driver (see the LUFA manual) with alternative LED mappings.
+ */
+ #warning Board specific drivers have been selected; make sure the board LED driver does not conflict with the programmer ISP/PDI/TPI interfaces.
+#endif
+
/** Main program entry point. This routine contains the overall program flow, including initial
* setup of all components and the main program loop.
*/