mirror of
https://github.com/arduino/Arduino.git
synced 2025-04-06 21:57:57 +02:00
Added bossa binary for Windows
This commit is contained in:
parent
bc76145d4b
commit
d059beaa72
0
app/src/processing/app/debug/AvrdudeUploader.java
Executable file → Normal file
0
app/src/processing/app/debug/AvrdudeUploader.java
Executable file → Normal file
@ -43,8 +43,7 @@ public class BossaCUploader extends Uploader {
|
|||||||
String port = Preferences.get("serial.port");
|
String port = Preferences.get("serial.port");
|
||||||
if (port.startsWith("/dev/"))
|
if (port.startsWith("/dev/"))
|
||||||
port = port.substring(5);
|
port = port.substring(5);
|
||||||
commandDownloader.add("--port=" + (Base.isWindows() ? "\\\\.\\" : "")
|
commandDownloader.add("--port=" + port);
|
||||||
+ port);
|
|
||||||
commandDownloader.add("-e");
|
commandDownloader.add("-e");
|
||||||
commandDownloader.add("-w");
|
commandDownloader.add("-w");
|
||||||
commandDownloader.add("-s");
|
commandDownloader.add("-s");
|
||||||
@ -76,8 +75,6 @@ public class BossaCUploader extends Uploader {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
String avrBasePath = Base.getHardwarePath() + "/tools/";
|
String avrBasePath = Base.getHardwarePath() + "/tools/";
|
||||||
if (!Base.isLinux())
|
|
||||||
avrBasePath += "avr/bin/";
|
|
||||||
|
|
||||||
String[] cmdArray = cmdParams.toArray(new String[0]);
|
String[] cmdArray = cmdParams.toArray(new String[0]);
|
||||||
cmdArray[0] = avrBasePath + cmdArray[0];
|
cmdArray[0] = avrBasePath + cmdArray[0];
|
||||||
|
0
app/src/processing/app/debug/Uploader.java
Executable file → Normal file
0
app/src/processing/app/debug/Uploader.java
Executable file → Normal file
@ -445,6 +445,10 @@
|
|||||||
<fileset file="windows/eeprom.h" />
|
<fileset file="windows/eeprom.h" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
|
<copy todir="windows/work/hardware/tools">
|
||||||
|
<fileset file="windows/bossac.exe" />
|
||||||
|
</copy>
|
||||||
|
|
||||||
<antcall target="assemble">
|
<antcall target="assemble">
|
||||||
<param name="target.path" value="windows/work" />
|
<param name="target.path" value="windows/work" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
BIN
build/windows/bossac.exe
Executable file
BIN
build/windows/bossac.exe
Executable file
Binary file not shown.
48
build/windows/dist/drivers/bossa.inf
vendored
Executable file
48
build/windows/dist/drivers/bossa.inf
vendored
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
[Version] ; Version section
|
||||||
|
Signature="$Chicago$" ; All Windows versions
|
||||||
|
Class=Ports ; This is a serial port driver
|
||||||
|
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ; Associated GUID
|
||||||
|
Provider=%SHUMATECH% ; Driver is provided by SHUMATECH
|
||||||
|
DriverVer=05/18/2011,1.0 ; Driver version
|
||||||
|
|
||||||
|
[DestinationDirs] ; DestinationDirs section
|
||||||
|
DefaultDestDir=12 ; Default install directory is \drivers or \IOSubSys
|
||||||
|
|
||||||
|
[Manufacturer] ; Manufacturer section
|
||||||
|
%SHUMATECH%=ShumaTech,NTamd64 ; Only one manufacturer (SHUMATECH), models section is named
|
||||||
|
; ShumaTech
|
||||||
|
|
||||||
|
[ShumaTech] ; Models section corresponding to SHUMATECH
|
||||||
|
%BOSSA%=BOSSA.Install,USB\VID_03EB&PID_6124 ; Identifies a device with Vendor ID (03EBh) and
|
||||||
|
; Product ID equal to 6124h. Corresponding Install section
|
||||||
|
; is named BOSSA.Install
|
||||||
|
|
||||||
|
[ShumaTech.NTamd64] ; Models section corresponding to SHUMATECH
|
||||||
|
%BOSSA%=BOSSA.Install,USB\VID_03EB&PID_6124 ; Identifies a device with Vendor ID (03EBh) and
|
||||||
|
; Product ID equal to 6124h. Corresponding Install section
|
||||||
|
; is named BOSSA.Install
|
||||||
|
|
||||||
|
[BOSSA.Install] ; Install section
|
||||||
|
include=mdmcpq.inf
|
||||||
|
CopyFiles=FakeModemCopyFileSection
|
||||||
|
AddReg=BOSSA.AddReg ; Registry keys to add are listed in BOSSA.AddReg
|
||||||
|
|
||||||
|
[BOSSA.AddReg] ; AddReg section
|
||||||
|
HKR,,DevLoader,,*ntkern
|
||||||
|
HKR,,NTMPDriver,,usbser.sys
|
||||||
|
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
||||||
|
|
||||||
|
[BOSSA.Install.Services] ; Services section
|
||||||
|
AddService=usbser,0x00000002,BOSSA.AddService ; Assign usbser as the PnP driver for the device
|
||||||
|
|
||||||
|
[BOSSA.AddService] ; Service install section
|
||||||
|
DisplayName=%USBSer% ; Name of the serial driver
|
||||||
|
ServiceType=1 ; Service kernel driver
|
||||||
|
StartType=3 ; Driver is started by the PnP manager
|
||||||
|
ErrorControl=1 ; Warn about errors
|
||||||
|
ServiceBinary=%12%\usbser.sys ; Driver filename
|
||||||
|
|
||||||
|
[Strings] ; Strings section
|
||||||
|
SHUMATECH="ShumaTech" ; String value for the SHUMATECH symbol
|
||||||
|
BOSSA="BOSSA Program Port" ; String value for the BOSSA symbol
|
||||||
|
USBSer="USB Serial Driver" ; String value for the USBSer symbol
|
Loading…
x
Reference in New Issue
Block a user