Skip to content

Commit e924cfa

Browse files
committed
Added drivers for MKR1000
1 parent 2d19892 commit e924cfa

File tree

7 files changed

+218
-0
lines changed

7 files changed

+218
-0
lines changed

drivers/arduino-samd.cat

8.37 KB
Binary file not shown.

drivers/arduino-samd.inf

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
;
2+
; Copyright 2016 Arduino LLC (http://www.arduino.cc/)
3+
;
4+
; Arduino is free software; you can redistribute it and/or modify
5+
; it under the terms of the GNU General Public License as published by
6+
; the Free Software Foundation; either version 2 of the License, or
7+
; (at your option) any later version.
8+
;
9+
; This program is distributed in the hope that it will be useful,
10+
; but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
; GNU General Public License for more details.
13+
;
14+
; You should have received a copy of the GNU General Public License
15+
; along with this program; if not, write to the Free Software
16+
; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
;
18+
; As a special exception, you may use this file as part of a free software
19+
; library without restriction. Specifically, if other files instantiate
20+
; templates or use macros or inline functions from this file, or you compile
21+
; this file and link it with other files to produce an executable, this
22+
; file does not by itself cause the resulting executable to be covered by
23+
; the GNU General Public License. This exception does not however
24+
; invalidate any other reasons why the executable file might be covered by
25+
; the GNU General Public License.
26+
;
27+
28+
[Strings]
29+
DriverPackageDisplayName="Arduino USB Driver (for SAMD boards)"
30+
ManufacturerName="Arduino LLC (www.arduino.cc)"
31+
ServiceName="USB RS-232 Emulation Driver"
32+
bossa.name="Bossa Program Port"
33+
mkr1000.sketch.name="Arduino MKR1000"
34+
mkr1000.bootloader.name="Arduino MKR1000 bootloader"
35+
zero.edbg.name="Atmel Corp. EDBG CMSIS-DAP"
36+
zero.sketch.name="Arduino Zero"
37+
zero.bootloader.name="Arduino Zero bootloader"
38+
sme_fox.sketch.name="SmartEverything Fox"
39+
sme_fox.bootloader.name="SmartEverything Fox bootloader"
40+
41+
[DefaultInstall]
42+
CopyINF=arduino-samd.inf
43+
44+
[Version]
45+
Class=Ports
46+
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
47+
Signature="$Windows NT$"
48+
Provider=%ManufacturerName%
49+
DriverPackageDisplayName=%DriverPackageDisplayName%
50+
CatalogFile=arduino-samd.cat
51+
; DriverVer date is MM/DD/YYYY
52+
DriverVer=02/11/2016,1.0.0.0
53+
54+
[Manufacturer]
55+
%ManufacturerName%=DeviceList, NTamd64, NTia64
56+
57+
[DestinationDirs]
58+
FakeModemCopyFileSection=12
59+
DefaultDestDir=12
60+
61+
[DeviceList]
62+
%bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
63+
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_804E&MI_00
64+
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_004E
65+
%zero.edbg.name%=DriverInstall, USB\VID_03EB&PID_2157&MI_01
66+
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_804D&MI_00
67+
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_004D
68+
%sme_fox.sketch.name%=DriverInstall, USB\VID_2341&PID_E002&MI_00
69+
%sme_fox.bootloader.name%=DriverInstall, USB\VID_2341&PID_E001
70+
71+
[DeviceList.NTamd64]
72+
%bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
73+
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_804E&MI_00
74+
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_004E
75+
%zero.edbg.name%=DriverInstall, USB\VID_03EB&PID_2157&MI_01
76+
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_804D&MI_00
77+
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_004D
78+
%sme_fox.sketch.name%=DriverInstall, USB\VID_2341&PID_E002&MI_00
79+
%sme_fox.bootloader.name%=DriverInstall, USB\VID_2341&PID_E001
80+
81+
[DeviceList.NTia64]
82+
%bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
83+
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_804E&MI_00
84+
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_004E
85+
%zero.edbg.name%=DriverInstall, USB\VID_03EB&PID_2157&MI_01
86+
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_804D&MI_00
87+
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_004D
88+
%sme_fox.sketch.name%=DriverInstall, USB\VID_2341&PID_E002&MI_00
89+
%sme_fox.bootloader.name%=DriverInstall, USB\VID_2341&PID_E001
90+
91+
[DriverInstall]
92+
include=mdmcpq.inf,usb.inf
93+
CopyFiles = FakeModemCopyFileSection
94+
AddReg=DriverAddReg
95+
96+
[DriverAddReg]
97+
HKR,,DevLoader,,*ntkern
98+
HKR,,NTMPDriver,,usbser.sys
99+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
100+
101+
[DriverInstall.Services]
102+
include=mdmcpq.inf
103+
AddService=usbser, 0x00000002, DriverService
104+
105+
[DriverService]
106+
DisplayName=%ServiceName%
107+
ServiceType=1
108+
StartType=3
109+
ErrorControl=1
110+
ServiceBinary=%12%\usbser.sys
111+
LoadOrderGroup=Base
112+

drivers/dpinst-amd64.exe

1020 KB
Binary file not shown.

drivers/dpinst-x86.exe

901 KB
Binary file not shown.

drivers/genuino-samd.cat

8.02 KB
Binary file not shown.

drivers/genuino-samd.inf

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
;
2+
; Copyright 2016 Arduino LLC (http://www.arduino.cc/)
3+
;
4+
; Arduino is free software; you can redistribute it and/or modify
5+
; it under the terms of the GNU General Public License as published by
6+
; the Free Software Foundation; either version 2 of the License, or
7+
; (at your option) any later version.
8+
;
9+
; This program is distributed in the hope that it will be useful,
10+
; but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
; GNU General Public License for more details.
13+
;
14+
; You should have received a copy of the GNU General Public License
15+
; along with this program; if not, write to the Free Software
16+
; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
;
18+
; As a special exception, you may use this file as part of a free software
19+
; library without restriction. Specifically, if other files instantiate
20+
; templates or use macros or inline functions from this file, or you compile
21+
; this file and link it with other files to produce an executable, this
22+
; file does not by itself cause the resulting executable to be covered by
23+
; the GNU General Public License. This exception does not however
24+
; invalidate any other reasons why the executable file might be covered by
25+
; the GNU General Public License.
26+
;
27+
28+
[Strings]
29+
DriverPackageDisplayName="Genuino USB Driver (for SAMD boards)"
30+
ManufacturerName="Arduino LLC (www.arduino.cc)"
31+
ServiceName="USB RS-232 Emulation Driver"
32+
mkr1000.sketch.name="Genuino MKR1000"
33+
mkr1000.bootloader.name="Genuino MKR1000 bootloader"
34+
zero.sketch.name="Genuino Zero"
35+
zero.bootloader.name="Genuino Zero bootloader"
36+
37+
[DefaultInstall]
38+
CopyINF=genuino-samd.inf
39+
40+
[Version]
41+
Class=Ports
42+
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
43+
Signature="$Windows NT$"
44+
Provider=%ManufacturerName%
45+
DriverPackageDisplayName=%DriverPackageDisplayName%
46+
CatalogFile=genuino-samd.cat
47+
; DriverVer date is MM/DD/YYYY
48+
DriverVer=02/11/2016,1.0.0.0
49+
50+
[Manufacturer]
51+
%ManufacturerName%=DeviceList, NTamd64, NTia64
52+
53+
[DestinationDirs]
54+
FakeModemCopyFileSection=12
55+
DefaultDestDir=12
56+
57+
[DeviceList]
58+
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_824E&MI_00
59+
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_024E
60+
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_824D&MI_00
61+
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_024D
62+
63+
[DeviceList.NTamd64]
64+
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_824E&MI_00
65+
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_024E
66+
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_824D&MI_00
67+
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_024D
68+
69+
[DeviceList.NTia64]
70+
%mkr1000.sketch.name%=DriverInstall, USB\VID_2341&PID_824E&MI_00
71+
%mkr1000.bootloader.name%=DriverInstall, USB\VID_2341&PID_024E
72+
%zero.sketch.name%=DriverInstall, USB\VID_2341&PID_824D&MI_00
73+
%zero.bootloader.name%=DriverInstall, USB\VID_2341&PID_024D
74+
75+
[DriverInstall]
76+
include=mdmcpq.inf,usb.inf
77+
CopyFiles = FakeModemCopyFileSection
78+
AddReg=DriverAddReg
79+
80+
[DriverAddReg]
81+
HKR,,DevLoader,,*ntkern
82+
HKR,,NTMPDriver,,usbser.sys
83+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
84+
85+
[DriverInstall.Services]
86+
include=mdmcpq.inf
87+
AddService=usbser, 0x00000002, DriverService
88+
89+
[DriverService]
90+
DisplayName=%ServiceName%
91+
ServiceType=1
92+
StartType=3
93+
ErrorControl=1
94+
ServiceBinary=%12%\usbser.sys
95+
LoadOrderGroup=Base
96+

post_install.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
set ARGS=/A /SE /SW /SA
3+
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
4+
drivers\dpinst-amd64.exe %ARGS%
5+
) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
6+
drivers\dpinst-amd64.exe %ARGS%
7+
) ELSE (
8+
drivers\dpinst-x86.exe %ARGS%
9+
)
10+
exit /b 0

0 commit comments

Comments
 (0)