diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-27 10:36:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-27 10:36:21 +0000 |
commit | 3b95b8dedced6c118cfb2cd7fc72c696c076119e (patch) | |
tree | 7e1f25f5fa95b9e295d490a61ab6e040588b7649 /Projects/AVRISP-MKII/makefile | |
parent | 8d993afc5388c5f3d0ff568c607f7fed6bb7390e (diff) | |
download | lufa-3b95b8dedced6c118cfb2cd7fc72c696c076119e.tar.gz lufa-3b95b8dedced6c118cfb2cd7fc72c696c076119e.tar.bz2 lufa-3b95b8dedced6c118cfb2cd7fc72c696c076119e.zip |
Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor.
Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host.
Diffstat (limited to 'Projects/AVRISP-MKII/makefile')
-rw-r--r-- | Projects/AVRISP-MKII/makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Projects/AVRISP-MKII/makefile b/Projects/AVRISP-MKII/makefile index 9cba8730a..c6b64dfe1 100644 --- a/Projects/AVRISP-MKII/makefile +++ b/Projects/AVRISP-MKII/makefile @@ -197,6 +197,8 @@ CDEFS += -DAUX_LINE_MASK="(1 << 4)" CDEFS += -DVTARGET_ADC_CHANNEL=2 CDEFS += -DENABLE_ISP_PROTOCOL CDEFS += -DENABLE_XPROG_PROTOCOL +CDEFS += -DVTARGET_REF_VOLTS=5 +CDEFS += -DVTARGET_SCALE_FACTOR=1 #CDEFS += -DNO_VTARGET_DETECT #CDEFS += -DLIBUSB_DRIVER_COMPAT |