Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
78a239f7
Commit
78a239f7
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Add CDC/ACM serial driver for the Spark composite configuration
parent
d8d469fa
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+3
-0
3 additions, 0 deletions
ChangeLog
configs/spark/composite/cdc-acm.inf
+108
-0
108 additions, 0 deletions
configs/spark/composite/cdc-acm.inf
with
111 additions
and
0 deletions
ChangeLog
+
3
−
0
View file @
78a239f7
...
...
@@ -5995,3 +5995,6 @@
* arch/arm/src/stm32/stm32_usbdev.c: The long outstanding bug
involviing the handling of OUT SETUP commands has been fixed in
the STM32 F1 USB device driver by David Sidrane (2013-11-7).
* configs/spark/composite/cdc-acm.inf: Windows CDC/ACM driver
provided by David Sidrane (2013-11-7).
This diff is collapsed.
Click to expand it.
configs/spark/composite/cdc-acm.inf
0 → 100644
+
108
−
0
View file @
78a239f7
; Windows USB CDC ACM Setup File
; Based on : https://www.kernel.org/doc/Documentation/usb/linux-cdc-acm.inf
; Based on INF template which was:
; Copyright (c) 2000 Microsoft Corporation
; Copyright (c) 2007 Microchip Technology Inc.
; likely to be covered by the MLPL as found at:
; <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>.
; For use only on Windows operating systems.
[Version]
Signature
=
"$Windows NT$"
Class
=
Ports
ClassGuid
=
{4D36E978-E325-11CE-BFC1-08002BE10318}
Provider
=
%Linux%
DriverVer
=
11/15/2007,5.1.2600.0
[Manufacturer]
%Linux%=DeviceList,
NTamd64
[DestinationDirs]
DefaultDestDir
=
12
;------------------------------------------------------------------------------
; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------
[DriverInstall.nt]
include
=
mdmcpq.inf
CopyFiles
=
DriverCopyFiles.nt
AddReg
=
DriverInstall.nt.AddReg
[DriverCopyFiles.nt]
usbser.sys,,,0x20
[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,USBSER.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.nt.Services]
AddService
=
usbser, 0x00000002, DriverService.nt
[DriverService.nt]
DisplayName
=
%SERVICE%
ServiceType
=
1
StartType
=
3
ErrorControl
=
1
ServiceBinary
=
%12%
\U
SBSER.sys
;------------------------------------------------------------------------------
; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include
=
mdmcpq.inf
CopyFiles
=
DriverCopyFiles.NTamd64
AddReg
=
DriverInstall.NTamd64.AddReg
[DriverCopyFiles.NTamd64]
USBSER.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,USBSER.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.Services]
AddService
=
usbser, 0x00000002, DriverService.NTamd64
[DriverService.NTamd64]
DisplayName
=
%SERVICE%
ServiceType
=
1
StartType
=
3
ErrorControl
=
1
ServiceBinary
=
%12%
\U
SBSER.sys
;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
; When developing your USB device, the VID and PID used in the PC side
; application program and the firmware on the microcontroller must match.
; Modify the below line to use your VID and PID. Use the format as shown
; below.
; Note: One INF file can be used for multiple devices with different
; VID and PIDs. For each supported device, append
; ",USB\VID_xxxx&PID_yyyy" to the end of the line.
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall,
USB\VID_0525&PID_A4A7,
USB\VID_03EB&PID_2022&MI_00
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall,
USB\VID_0525&PID_A4A7,
USB\VID_03EB&PID_2022&MI_00
;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------
;Modify these strings to customize your device
;------------------------------------------------------------------------------
[Strings]
Linux
=
"Nutts Developer Community"
DESCRIPTION
=
"Nuttx CDC/ACM"
SERVICE
=
"Nuttx CDC/ACM Driver"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment