mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
fc51026aa7078112b161fb925c4221ee56098c21
This patch provides support for Garmin USB1 sticks under Windows. Since the device does not present a serial port this code uses the USBXpress API from SiLabs that the Garmin device uses. Support for USB2 sticks is pending. To build you will need to download and install the SiLabs development kit from http://www.silabs.com/products/mcu/Pages/USBXpress.aspx and set USBXPRESS_INSTALL appropriately in gcconfig.pri. I have provided instructions in gcconfig.pri.in. At runtime the SiUSBXp.dll will need to be in the path, I will assume that Gareth will fix up the windows installer for this, but for now just copy the file manually. Tested with a GARMIN USB1 stick on Windows 7 with SRM, Garmin HR and a GSC-10 dual speed/cadence device. There are other minor fixes to the ANTMessage code in this patch related to decoding of calibration messages.
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%