aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-08 18:29:17 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-08 18:29:17 +0000
commit18b82b3575162c2c6d462c8f34a7d942f77a88ec (patch)
tree455e1dc57265a77b4ee653b01d3a5d859b2f7bc7 /Projects/AVRISP-MKII/Lib/V2ProtocolParams.h
parent1482f7782644a8707840508e617be21933cef0bc (diff)
downloadlufa-18b82b3575162c2c6d462c8f34a7d942f77a88ec.tar.gz
lufa-18b82b3575162c2c6d462c8f34a7d942f77a88ec.tar.bz2
lufa-18b82b3575162c2c6d462c8f34a7d942f77a88ec.zip
Updated the AVRISP-MKII Clone programmer project to be compatible with the latest version of AVR Studio (version 5.1).
Changed the AVRISP-MKII Clone programmer project to report a fixed 3.3V VTARGET voltage on USB AVRs lacking an ADC instead of 5V to prevent warnings in AVR Studio 5.1 when programming XMEGA devices.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/V2ProtocolParams.h')
-rw-r--r--Projects/AVRISP-MKII/Lib/V2ProtocolParams.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h b/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h
index d7bc91620..ab47664d3 100644
--- a/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h
+++ b/Projects/AVRISP-MKII/Lib/V2ProtocolParams.h
@@ -59,6 +59,12 @@
/** Total number of parameters in the parameter table */
#define TABLE_PARAM_COUNT (sizeof(ParameterTable) / sizeof(ParameterTable[0]))
+
+ #if (!defined(FIRMWARE_VERSION_MINOR) || defined(__DOXYGEN__))
+ /** Minor firmware version, reported to the host on request; must match the version
+ * the host is expecting, or it (may) reject further communications with the programmer. */
+ #define FIRMWARE_VERSION_MINOR 0x11
+ #endif
/* Type Defines: */
/** Type define for a parameter table entry indicating a PC readable or writable device parameter. */