Added drivers for MKR1000
This commit is contained in:
parent
2d1989253c
commit
e924cfad64
7 changed files with 218 additions and 0 deletions
BIN
drivers/arduino-samd.cat
Normal file
BIN
drivers/arduino-samd.cat
Normal file
Binary file not shown.
112
drivers/arduino-samd.inf
Normal file
112
drivers/arduino-samd.inf
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
;
|
||||
; Copyright 2016 Arduino LLC (http://www.arduino.cc/)
|
||||
;
|
||||
; Arduino is free software; you can redistribute it and/or modify
|
||||
; it under the terms of the GNU General Public License as published by
|
||||
; the Free Software Foundation; either version 2 of the License, or
|
||||
; (at your option) any later version.
|
||||
;
|
||||
; This program is distributed in the hope that it will be useful,
|
||||
; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
; GNU General Public License for more details.
|
||||
;
|
||||
; You should have received a copy of the GNU General Public License
|
||||
; along with this program; if not, write to the Free Software
|
||||
; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
;
|
||||
; As a special exception, you may use this file as part of a free software
|
||||
; library without restriction. Specifically, if other files instantiate
|
||||
; templates or use macros or inline functions from this file, or you compile
|
||||
; this file and link it with other files to produce an executable, this
|
||||
; file does not by itself cause the resulting executable to be covered by
|
||||
; the GNU General Public License. This exception does not however
|
||||
; invalidate any other reasons why the executable file might be covered by
|
||||
; the GNU General Public License.
|
||||
;
|
||||
|
||||
[Strings]
|
||||
DriverPackageDisplayName="Arduino USB Driver (for SAMD boards)"
|
||||
ManufacturerName="Arduino LLC (www.arduino.cc)"
|
||||
ServiceName="USB RS-232 Emulation Driver"
|
||||
bossa.name="Bossa Program Port"
|
||||
mkr1000.sketch.name="Arduino MKR1000"
|
||||
mkr1000.bootloader.name="Arduino MKR1000 bootloader"
|
||||
zero.edbg.name="Atmel Corp. EDBG CMSIS-DAP"
|
||||
zero.sketch.name="Arduino Zero"
|
||||
zero.bootloader.name="Arduino Zero bootloader"
|
||||
sme_fox.sketch.name="SmartEverything Fox"
|
||||
sme_fox.bootloader.name="SmartEverything Fox bootloader"
|
||||
|
||||
[DefaultInstall]
|
||||
CopyINF=arduino-samd.inf
|
||||
|
||||
[Version]
|
||||
Class=Ports
|
||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
||||
Signature="$Windows NT$"
|
||||
Provider=%ManufacturerName%
|
||||
DriverPackageDisplayName=%DriverPackageDisplayName%
|
||||
CatalogFile=arduino-samd.cat
|
||||
; DriverVer date is MM/DD/YYYY
|
||||
DriverVer=02/11/2016,1.0.0.0
|
||||
|
||||
[Manufacturer]
|
||||
%ManufacturerName%=DeviceList, NTamd64, NTia64
|
||||
|
||||
[DestinationDirs]
|
||||
FakeModemCopyFileSection=12
|
||||
DefaultDestDir=12
|
||||
|
||||
[DeviceList]
|
||||
%bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
|
||||
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_804E&MI_00
|
||||
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_004E
|
||||
%zero.edbg.name%=DriverInstall, USB\VID_03EB&PID_2157&MI_01
|
||||
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_804D&MI_00
|
||||
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_004D
|
||||
%sme_fox.sketch.name%=DriverInstall, USB\VID_2341&PID_E002&MI_00
|
||||
%sme_fox.bootloader.name%=DriverInstall, USB\VID_2341&PID_E001
|
||||
|
||||
[DeviceList.NTamd64]
|
||||
%bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
|
||||
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_804E&MI_00
|
||||
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_004E
|
||||
%zero.edbg.name%=DriverInstall, USB\VID_03EB&PID_2157&MI_01
|
||||
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_804D&MI_00
|
||||
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_004D
|
||||
%sme_fox.sketch.name%=DriverInstall, USB\VID_2341&PID_E002&MI_00
|
||||
%sme_fox.bootloader.name%=DriverInstall, USB\VID_2341&PID_E001
|
||||
|
||||
[DeviceList.NTia64]
|
||||
%bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
|
||||
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_804E&MI_00
|
||||
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_004E
|
||||
%zero.edbg.name%=DriverInstall, USB\VID_03EB&PID_2157&MI_01
|
||||
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_804D&MI_00
|
||||
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_004D
|
||||
%sme_fox.sketch.name%=DriverInstall, USB\VID_2341&PID_E002&MI_00
|
||||
%sme_fox.bootloader.name%=DriverInstall, USB\VID_2341&PID_E001
|
||||
|
||||
[DriverInstall]
|
||||
include=mdmcpq.inf,usb.inf
|
||||
CopyFiles = FakeModemCopyFileSection
|
||||
AddReg=DriverAddReg
|
||||
|
||||
[DriverAddReg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,usbser.sys
|
||||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
||||
|
||||
[DriverInstall.Services]
|
||||
include=mdmcpq.inf
|
||||
AddService=usbser, 0x00000002, DriverService
|
||||
|
||||
[DriverService]
|
||||
DisplayName=%ServiceName%
|
||||
ServiceType=1
|
||||
StartType=3
|
||||
ErrorControl=1
|
||||
ServiceBinary=%12%\usbser.sys
|
||||
LoadOrderGroup=Base
|
||||
|
||||
BIN
drivers/dpinst-amd64.exe
Normal file
BIN
drivers/dpinst-amd64.exe
Normal file
Binary file not shown.
BIN
drivers/dpinst-x86.exe
Normal file
BIN
drivers/dpinst-x86.exe
Normal file
Binary file not shown.
BIN
drivers/genuino-samd.cat
Normal file
BIN
drivers/genuino-samd.cat
Normal file
Binary file not shown.
96
drivers/genuino-samd.inf
Normal file
96
drivers/genuino-samd.inf
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
;
|
||||
; Copyright 2016 Arduino LLC (http://www.arduino.cc/)
|
||||
;
|
||||
; Arduino is free software; you can redistribute it and/or modify
|
||||
; it under the terms of the GNU General Public License as published by
|
||||
; the Free Software Foundation; either version 2 of the License, or
|
||||
; (at your option) any later version.
|
||||
;
|
||||
; This program is distributed in the hope that it will be useful,
|
||||
; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
; GNU General Public License for more details.
|
||||
;
|
||||
; You should have received a copy of the GNU General Public License
|
||||
; along with this program; if not, write to the Free Software
|
||||
; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
;
|
||||
; As a special exception, you may use this file as part of a free software
|
||||
; library without restriction. Specifically, if other files instantiate
|
||||
; templates or use macros or inline functions from this file, or you compile
|
||||
; this file and link it with other files to produce an executable, this
|
||||
; file does not by itself cause the resulting executable to be covered by
|
||||
; the GNU General Public License. This exception does not however
|
||||
; invalidate any other reasons why the executable file might be covered by
|
||||
; the GNU General Public License.
|
||||
;
|
||||
|
||||
[Strings]
|
||||
DriverPackageDisplayName="Genuino USB Driver (for SAMD boards)"
|
||||
ManufacturerName="Arduino LLC (www.arduino.cc)"
|
||||
ServiceName="USB RS-232 Emulation Driver"
|
||||
mkr1000.sketch.name="Genuino MKR1000"
|
||||
mkr1000.bootloader.name="Genuino MKR1000 bootloader"
|
||||
zero.sketch.name="Genuino Zero"
|
||||
zero.bootloader.name="Genuino Zero bootloader"
|
||||
|
||||
[DefaultInstall]
|
||||
CopyINF=genuino-samd.inf
|
||||
|
||||
[Version]
|
||||
Class=Ports
|
||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
||||
Signature="$Windows NT$"
|
||||
Provider=%ManufacturerName%
|
||||
DriverPackageDisplayName=%DriverPackageDisplayName%
|
||||
CatalogFile=genuino-samd.cat
|
||||
; DriverVer date is MM/DD/YYYY
|
||||
DriverVer=02/11/2016,1.0.0.0
|
||||
|
||||
[Manufacturer]
|
||||
%ManufacturerName%=DeviceList, NTamd64, NTia64
|
||||
|
||||
[DestinationDirs]
|
||||
FakeModemCopyFileSection=12
|
||||
DefaultDestDir=12
|
||||
|
||||
[DeviceList]
|
||||
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_824E&MI_00
|
||||
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_024E
|
||||
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_824D&MI_00
|
||||
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_024D
|
||||
|
||||
[DeviceList.NTamd64]
|
||||
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_824E&MI_00
|
||||
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_024E
|
||||
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_824D&MI_00
|
||||
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_024D
|
||||
|
||||
[DeviceList.NTia64]
|
||||
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_824E&MI_00
|
||||
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_024E
|
||||
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_824D&MI_00
|
||||
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_024D
|
||||
|
||||
[DriverInstall]
|
||||
include=mdmcpq.inf,usb.inf
|
||||
CopyFiles = FakeModemCopyFileSection
|
||||
AddReg=DriverAddReg
|
||||
|
||||
[DriverAddReg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,usbser.sys
|
||||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
||||
|
||||
[DriverInstall.Services]
|
||||
include=mdmcpq.inf
|
||||
AddService=usbser, 0x00000002, DriverService
|
||||
|
||||
[DriverService]
|
||||
DisplayName=%ServiceName%
|
||||
ServiceType=1
|
||||
StartType=3
|
||||
ErrorControl=1
|
||||
ServiceBinary=%12%\usbser.sys
|
||||
LoadOrderGroup=Base
|
||||
|
||||
10
post_install.bat
Normal file
10
post_install.bat
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
@echo off
|
||||
set ARGS=/A /SE /SW /SA
|
||||
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
|
||||
drivers\dpinst-amd64.exe %ARGS%
|
||||
) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
|
||||
drivers\dpinst-amd64.exe %ARGS%
|
||||
) ELSE (
|
||||
drivers\dpinst-x86.exe %ARGS%
|
||||
)
|
||||
exit /b 0
|
||||
Loading…
Reference in a new issue