diff options
author | Dean Camera <[email protected]> | 2010-05-27 10:36:21 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-05-27 10:36:21 +0000 |
commit | 3b95b8dedced6c118cfb2cd7fc72c696c076119e (patch) | |
tree | 7e1f25f5fa95b9e295d490a61ab6e040588b7649 /Projects/XPLAINBridge/makefile | |
parent | 8d993afc5388c5f3d0ff568c607f7fed6bb7390e (diff) | |
download | qmk_firmware-3b95b8dedced6c118cfb2cd7fc72c696c076119e.tar.gz qmk_firmware-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/XPLAINBridge/makefile')
-rw-r--r-- | Projects/XPLAINBridge/makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Projects/XPLAINBridge/makefile b/Projects/XPLAINBridge/makefile index c68c91da14..1aefdcad4b 100644 --- a/Projects/XPLAINBridge/makefile +++ b/Projects/XPLAINBridge/makefile @@ -201,6 +201,8 @@ CDEFS += -DAUX_LINE_PIN=PINB CDEFS += -DAUX_LINE_DDR=DDRB CDEFS += -DAUX_LINE_MASK="(1 << 4)" CDEFS += -DVTARGET_ADC_CHANNEL=2 +CDEFS += -DVTARGET_REF_VOLTS=3.3 +CDEFS += -DVTARGET_SCALE_FACTOR=2 #CDEFS += -DLIBUSB_DRIVER_COMPAT |