mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-27 21:54:30 +01:00
Merge remote-tracking branch 'arduino/ide-1.5.x' into HEAD
This commit is contained in:
commit
a2fc4332b9
4
.gitignore
vendored
4
.gitignore
vendored
@ -14,6 +14,10 @@ hardware/arduino/bootloaders/caterina_LUFA/Caterina.elf
|
|||||||
hardware/arduino/bootloaders/caterina_LUFA/Caterina.eep
|
hardware/arduino/bootloaders/caterina_LUFA/Caterina.eep
|
||||||
hardware/arduino/bootloaders/caterina_LUFA/.dep/
|
hardware/arduino/bootloaders/caterina_LUFA/.dep/
|
||||||
build/windows/work/
|
build/windows/work/
|
||||||
|
build/windows/arduino-*.zip
|
||||||
|
build/windows/dist/gcc-*.tar.gz
|
||||||
|
build/macosx/arduino-*.zip
|
||||||
|
build/macosx/dist/gcc-*.tar.gz
|
||||||
build/linux/work/
|
build/linux/work/
|
||||||
build/linux/dist/*.tar.gz
|
build/linux/dist/*.tar.gz
|
||||||
build/linux/*.tgz
|
build/linux/*.tgz
|
||||||
|
Binary file not shown.
@ -654,7 +654,10 @@ public class Base {
|
|||||||
|
|
||||||
// Make an empty pde file
|
// Make an empty pde file
|
||||||
File newbieFile = new File(newbieDir, newbieName + ".ino");
|
File newbieFile = new File(newbieDir, newbieName + ".ino");
|
||||||
new FileOutputStream(newbieFile); // create the file
|
if (!newbieFile.createNewFile()) {
|
||||||
|
throw new IOException();
|
||||||
|
}
|
||||||
|
FileUtils.copyFile(new File(getContentFile("examples"), "01.Basics" + File.separator + "BareMinimum" + File.separator + "BareMinimum.ino"), newbieFile);
|
||||||
return newbieFile.getAbsolutePath();
|
return newbieFile.getAbsolutePath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
77
app/src/processing/app/CaretAwareUndoableEdit.java
Normal file
77
app/src/processing/app/CaretAwareUndoableEdit.java
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
package processing.app;
|
||||||
|
|
||||||
|
import processing.app.syntax.JEditTextArea;
|
||||||
|
|
||||||
|
import javax.swing.undo.CannotRedoException;
|
||||||
|
import javax.swing.undo.CannotUndoException;
|
||||||
|
import javax.swing.undo.UndoableEdit;
|
||||||
|
|
||||||
|
public class CaretAwareUndoableEdit implements UndoableEdit {
|
||||||
|
|
||||||
|
private final UndoableEdit undoableEdit;
|
||||||
|
private final int caretPosition;
|
||||||
|
|
||||||
|
public CaretAwareUndoableEdit(UndoableEdit undoableEdit, JEditTextArea textArea) {
|
||||||
|
this.undoableEdit = undoableEdit;
|
||||||
|
this.caretPosition = textArea.getCaretPosition();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void undo() throws CannotUndoException {
|
||||||
|
undoableEdit.undo();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canUndo() {
|
||||||
|
return undoableEdit.canUndo();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void redo() throws CannotRedoException {
|
||||||
|
undoableEdit.redo();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canRedo() {
|
||||||
|
return undoableEdit.canRedo();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void die() {
|
||||||
|
undoableEdit.die();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean addEdit(UndoableEdit undoableEdit) {
|
||||||
|
return this.undoableEdit.addEdit(undoableEdit);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean replaceEdit(UndoableEdit undoableEdit) {
|
||||||
|
return this.undoableEdit.replaceEdit(undoableEdit);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isSignificant() {
|
||||||
|
return undoableEdit.isSignificant();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getPresentationName() {
|
||||||
|
return undoableEdit.getPresentationName();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getUndoPresentationName() {
|
||||||
|
return undoableEdit.getUndoPresentationName();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getRedoPresentationName() {
|
||||||
|
return undoableEdit.getRedoPresentationName();
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getCaretPosition() {
|
||||||
|
return caretPosition;
|
||||||
|
}
|
||||||
|
}
|
@ -137,7 +137,7 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
JMenuItem undoItem, redoItem;
|
JMenuItem undoItem, redoItem;
|
||||||
protected UndoAction undoAction;
|
protected UndoAction undoAction;
|
||||||
protected RedoAction redoAction;
|
protected RedoAction redoAction;
|
||||||
UndoManager undo;
|
LastUndoableEditAwareUndoManager undo;
|
||||||
// used internally, and only briefly
|
// used internally, and only briefly
|
||||||
CompoundEdit compoundEdit;
|
CompoundEdit compoundEdit;
|
||||||
|
|
||||||
@ -476,7 +476,6 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
|
|
||||||
protected void buildMenuBar() {
|
protected void buildMenuBar() {
|
||||||
JMenuBar menubar = new JMenuBar();
|
JMenuBar menubar = new JMenuBar();
|
||||||
menubar = new JMenuBar();
|
|
||||||
menubar.add(buildFileMenu());
|
menubar.add(buildFileMenu());
|
||||||
menubar.add(buildEditMenu());
|
menubar.add(buildEditMenu());
|
||||||
menubar.add(buildSketchMenu());
|
menubar.add(buildSketchMenu());
|
||||||
@ -1344,6 +1343,10 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
//System.out.println("Unable to undo: " + ex);
|
//System.out.println("Unable to undo: " + ex);
|
||||||
//ex.printStackTrace();
|
//ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
if (undo.getLastUndoableEdit() != null && undo.getLastUndoableEdit() instanceof CaretAwareUndoableEdit) {
|
||||||
|
CaretAwareUndoableEdit undoableEdit = (CaretAwareUndoableEdit) undo.getLastUndoableEdit();
|
||||||
|
textarea.setCaretPosition(undoableEdit.getCaretPosition() - 1);
|
||||||
|
}
|
||||||
updateUndoState();
|
updateUndoState();
|
||||||
redoAction.updateRedoState();
|
redoAction.updateRedoState();
|
||||||
}
|
}
|
||||||
@ -1383,6 +1386,10 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
//System.out.println("Unable to redo: " + ex);
|
//System.out.println("Unable to redo: " + ex);
|
||||||
//ex.printStackTrace();
|
//ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
if (undo.getLastUndoableEdit() != null && undo.getLastUndoableEdit() instanceof CaretAwareUndoableEdit) {
|
||||||
|
CaretAwareUndoableEdit undoableEdit = (CaretAwareUndoableEdit) undo.getLastUndoableEdit();
|
||||||
|
textarea.setCaretPosition(undoableEdit.getCaretPosition());
|
||||||
|
}
|
||||||
updateRedoState();
|
updateRedoState();
|
||||||
undoAction.updateUndoState();
|
undoAction.updateUndoState();
|
||||||
}
|
}
|
||||||
@ -1664,7 +1671,7 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
compoundEdit.addEdit(e.getEdit());
|
compoundEdit.addEdit(e.getEdit());
|
||||||
|
|
||||||
} else if (undo != null) {
|
} else if (undo != null) {
|
||||||
undo.addEdit(e.getEdit());
|
undo.addEdit(new CaretAwareUndoableEdit(e.getEdit(), textarea));
|
||||||
undoAction.updateUndoState();
|
undoAction.updateUndoState();
|
||||||
redoAction.updateRedoState();
|
redoAction.updateRedoState();
|
||||||
}
|
}
|
||||||
|
31
app/src/processing/app/LastUndoableEditAwareUndoManager.java
Normal file
31
app/src/processing/app/LastUndoableEditAwareUndoManager.java
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
package processing.app;
|
||||||
|
|
||||||
|
import javax.swing.undo.CannotRedoException;
|
||||||
|
import javax.swing.undo.CannotUndoException;
|
||||||
|
import javax.swing.undo.UndoManager;
|
||||||
|
import javax.swing.undo.UndoableEdit;
|
||||||
|
|
||||||
|
public class LastUndoableEditAwareUndoManager extends UndoManager {
|
||||||
|
|
||||||
|
private UndoableEdit lastUndoableEdit;
|
||||||
|
|
||||||
|
public LastUndoableEditAwareUndoManager() {
|
||||||
|
this.lastUndoableEdit = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public synchronized void undo() throws CannotUndoException {
|
||||||
|
lastUndoableEdit = super.editToBeUndone();
|
||||||
|
super.undo();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public synchronized void redo() throws CannotRedoException {
|
||||||
|
lastUndoableEdit = super.editToBeRedone();
|
||||||
|
super.redo();
|
||||||
|
}
|
||||||
|
|
||||||
|
public UndoableEdit getLastUndoableEdit() {
|
||||||
|
return lastUndoableEdit;
|
||||||
|
}
|
||||||
|
}
|
@ -76,7 +76,7 @@ public class Platform {
|
|||||||
public File getSettingsFolder() throws Exception {
|
public File getSettingsFolder() throws Exception {
|
||||||
// otherwise make a .processing directory int the user's home dir
|
// otherwise make a .processing directory int the user's home dir
|
||||||
File home = new File(System.getProperty("user.home"));
|
File home = new File(System.getProperty("user.home"));
|
||||||
File dataFolder = new File(home, ".arduino");
|
File dataFolder = new File(home, ".arduino15");
|
||||||
return dataFolder;
|
return dataFolder;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -27,7 +27,7 @@ package processing.app;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
import javax.swing.text.Document;
|
import javax.swing.text.Document;
|
||||||
import javax.swing.undo.*;
|
|
||||||
import static processing.app.I18n._;
|
import static processing.app.I18n._;
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ public class SketchCode {
|
|||||||
* Editor.undo will be set to this object when this code is the tab
|
* Editor.undo will be set to this object when this code is the tab
|
||||||
* that's currently the front.
|
* that's currently the front.
|
||||||
*/
|
*/
|
||||||
private UndoManager undo = new UndoManager();
|
private LastUndoableEditAwareUndoManager undo = new LastUndoableEditAwareUndoManager();
|
||||||
|
|
||||||
// saved positions from last time this tab was used
|
// saved positions from last time this tab was used
|
||||||
private int selectionStart;
|
private int selectionStart;
|
||||||
@ -221,7 +221,7 @@ public class SketchCode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public UndoManager getUndo() {
|
public LastUndoableEditAwareUndoManager getUndo() {
|
||||||
return undo;
|
return undo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,22 +32,24 @@ import processing.app.helpers.filefilters.OnlyDirs;
|
|||||||
|
|
||||||
public class TargetPackage {
|
public class TargetPackage {
|
||||||
|
|
||||||
String name;
|
private final String name;
|
||||||
File folder;
|
|
||||||
|
|
||||||
Map<String, TargetPlatform> platforms = new HashMap<String, TargetPlatform>();
|
Map<String, TargetPlatform> platforms = new HashMap<String, TargetPlatform>();
|
||||||
|
|
||||||
public TargetPackage(String _name, File _folder) {
|
public TargetPackage(String name, File folder) {
|
||||||
name = _name;
|
this.name = name;
|
||||||
folder = _folder;
|
|
||||||
|
|
||||||
String[] platformsList = folder.list(new OnlyDirs());
|
String[] platformsList = folder.list(new OnlyDirs());
|
||||||
|
if (platformsList != null) {
|
||||||
for (String platformName : platformsList) {
|
for (String platformName : platformsList) {
|
||||||
File platformFolder = new File(folder, platformName);
|
File platformFolder = new File(folder, platformName);
|
||||||
|
if (platformFolder.exists() && platformFolder.canRead()) {
|
||||||
TargetPlatform platform = new TargetPlatform(platformName, platformFolder);
|
TargetPlatform platform = new TargetPlatform(platformName, platformFolder);
|
||||||
platforms.put(platformName, platform);
|
platforms.put(platformName, platform);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public Map<String, TargetPlatform> getPlatforms() {
|
public Map<String, TargetPlatform> getPlatforms() {
|
||||||
return platforms;
|
return platforms;
|
||||||
|
@ -55,7 +55,7 @@ public class TargetPlatform {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
File boardsFile = new File(_folder, "boards.txt");
|
File boardsFile = new File(_folder, "boards.txt");
|
||||||
if (boardsFile.exists()) {
|
if (boardsFile.exists() && boardsFile.canRead()) {
|
||||||
PreferencesMap boardPreferences = new PreferencesMap();
|
PreferencesMap boardPreferences = new PreferencesMap();
|
||||||
boardPreferences.load(boardsFile);
|
boardPreferences.load(boardsFile);
|
||||||
boards = boardPreferences.createFirstLevelMap();
|
boards = boardPreferences.createFirstLevelMap();
|
||||||
@ -69,15 +69,16 @@ public class TargetPlatform {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
File platformsFile = new File(_folder, "platform.txt");
|
File platformsFile = new File(_folder, "platform.txt");
|
||||||
if (platformsFile.exists())
|
if (platformsFile.exists() && platformsFile.canRead()) {
|
||||||
preferences.load(platformsFile);
|
preferences.load(platformsFile);
|
||||||
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.err.println("Error loading platforms from platform.txt: " + e);
|
System.err.println("Error loading platforms from platform.txt: " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
File programmersFile = new File(_folder, "programmers.txt");
|
File programmersFile = new File(_folder, "programmers.txt");
|
||||||
if (programmersFile.exists()) {
|
if (programmersFile.exists() && programmersFile.canRead()) {
|
||||||
PreferencesMap prefs = new PreferencesMap();
|
PreferencesMap prefs = new PreferencesMap();
|
||||||
prefs.load(programmersFile);
|
prefs.load(programmersFile);
|
||||||
programmers = prefs.createFirstLevelMap();
|
programmers = prefs.createFirstLevelMap();
|
||||||
|
@ -35,20 +35,12 @@ public class FileUtils {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void copy(File sourceFolder, File destFolder) throws IOException {
|
public static void copyFile(File source, File dest) throws IOException {
|
||||||
for (File file : sourceFolder.listFiles()) {
|
|
||||||
File destFile = new File(destFolder, file.getName());
|
|
||||||
if (file.isDirectory()) {
|
|
||||||
if (!destFile.mkdir()) {
|
|
||||||
throw new IOException("Unable to create folder: " + destFile);
|
|
||||||
}
|
|
||||||
copy(file, destFile);
|
|
||||||
} else {
|
|
||||||
FileInputStream fis = null;
|
FileInputStream fis = null;
|
||||||
FileOutputStream fos = null;
|
FileOutputStream fos = null;
|
||||||
try {
|
try {
|
||||||
fis = new FileInputStream(file);
|
fis = new FileInputStream(source);
|
||||||
fos = new FileOutputStream(destFile);
|
fos = new FileOutputStream(dest);
|
||||||
byte[] buf = new byte[4096];
|
byte[] buf = new byte[4096];
|
||||||
int readBytes = -1;
|
int readBytes = -1;
|
||||||
while ((readBytes = fis.read(buf, 0, buf.length)) != -1) {
|
while ((readBytes = fis.read(buf, 0, buf.length)) != -1) {
|
||||||
@ -63,6 +55,18 @@ public class FileUtils {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void copy(File sourceFolder, File destFolder) throws IOException {
|
||||||
|
for (File file : sourceFolder.listFiles()) {
|
||||||
|
File destFile = new File(destFolder, file.getName());
|
||||||
|
if (file.isDirectory()) {
|
||||||
|
if (!destFile.mkdir()) {
|
||||||
|
throw new IOException("Unable to create folder: " + destFile);
|
||||||
|
}
|
||||||
|
copy(file, destFile);
|
||||||
|
} else {
|
||||||
|
copyFile(file, destFile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ public class PreferencesMap extends LinkedHashMap<String, String> {
|
|||||||
* @throws FileNotFoundException
|
* @throws FileNotFoundException
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public void load(File file) throws FileNotFoundException, IOException {
|
public void load(File file) throws IOException {
|
||||||
load(new FileInputStream(file));
|
load(new FileInputStream(file));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ public class Platform extends processing.app.Platform {
|
|||||||
|
|
||||||
|
|
||||||
public File getSettingsFolder() throws Exception {
|
public File getSettingsFolder() throws Exception {
|
||||||
return new File(getLibraryFolder(), "Arduino");
|
return new File(getLibraryFolder(), "Arduino15");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -188,7 +188,7 @@ public class Platform extends processing.app.Platform {
|
|||||||
String appDataPath =
|
String appDataPath =
|
||||||
Registry.getStringValue(REGISTRY_ROOT_KEY.CURRENT_USER, keyPath, "AppData");
|
Registry.getStringValue(REGISTRY_ROOT_KEY.CURRENT_USER, keyPath, "AppData");
|
||||||
|
|
||||||
File dataFolder = new File(appDataPath, "Arduino");
|
File dataFolder = new File(appDataPath, "Arduino15");
|
||||||
return dataFolder;
|
return dataFolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,7 +89,14 @@
|
|||||||
|
|
||||||
<!-- copy hardware folder -->
|
<!-- copy hardware folder -->
|
||||||
<copy todir="${target.path}/hardware">
|
<copy todir="${target.path}/hardware">
|
||||||
<fileset dir="../hardware" />
|
<fileset dir="../hardware">
|
||||||
|
<exclude name="arduino/sam/system/CMSIS/Device/ATMEL/*/svd/"/>
|
||||||
|
<exclude name="arduino/sam/system/CMSIS/Device/ATMEL/*/html/"/>
|
||||||
|
<exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/ARM/*M0*"/>
|
||||||
|
<exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/ARM/*M4*"/>
|
||||||
|
<exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/GCC/*M0*"/>
|
||||||
|
<exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/GCC/*M4*"/>
|
||||||
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<!-- copy shared examples folder -->
|
<!-- copy shared examples folder -->
|
||||||
@ -150,6 +157,9 @@
|
|||||||
<delete dir="macosx/working_dir" />
|
<delete dir="macosx/working_dir" />
|
||||||
<delete dir="macosx/working.dmg" />
|
<delete dir="macosx/working.dmg" />
|
||||||
<delete file="macosx/arduino-*.dmg" />
|
<delete file="macosx/arduino-*.dmg" />
|
||||||
|
<delete>
|
||||||
|
<fileset dir="macosx" includes="arduino-*macosx*.zip"/>
|
||||||
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="macosx-checkos" unless="macosx">
|
<target name="macosx-checkos" unless="macosx">
|
||||||
@ -213,6 +223,13 @@
|
|||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
<antcall target="macosx-unzip-arm-toolchain" />
|
<antcall target="macosx-unzip-arm-toolchain" />
|
||||||
|
|
||||||
|
<delete includeEmptyDirs="true" quiet="true">
|
||||||
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools" includes="**/3.4.6/**/*"/>
|
||||||
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools" includes="**/3.4.6"/>
|
||||||
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools" includes="**/man/**/*"/>
|
||||||
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools" includes="**/man"/>
|
||||||
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="macosx-run" depends="macosx-build" description="Run Mac OS X version">
|
<target name="macosx-run" depends="macosx-build" description="Run Mac OS X version">
|
||||||
@ -259,6 +276,56 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- - - - - - - - - - - - - - - - -->
|
||||||
|
<!-- Sign application for MacOSX. -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - -->
|
||||||
|
<target name="macosx-signed-dist" if="macosx" depends="macosx-singed-dist-check, dist"
|
||||||
|
description="Create a downloadable and signed .zip for the Mac OS X version">
|
||||||
|
<fail unless="version" message="Please set the property 'version' to correctly sign distribution file" />
|
||||||
|
|
||||||
|
<!-- Remove everything from working folder -->
|
||||||
|
<delete dir="macosx/work/Arduino.app" />
|
||||||
|
|
||||||
|
<!-- Unzip unsigned app into working dir -->
|
||||||
|
<exec executable="unzip" dir="macosx/work">
|
||||||
|
<arg line="../arduino-${version}-${platform}.zip" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<!-- Unlock keychain file -->
|
||||||
|
<exec executable="security" dir="macosx/work">
|
||||||
|
<arg line="unlock-keychain -p "${macosx-sign-keychain-pass}" "${macosx-sign-keychain}"" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<!-- Sign app -->
|
||||||
|
<exec executable="codesign" dir="macosx/work" failonerror="true">
|
||||||
|
<arg line="--keychain "${macosx-sign-keychain}" -s "${macosx-sign-id}" -v Arduino.app/" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<delete file="macosx/arduino-${version}-${platform}.zip" />
|
||||||
|
|
||||||
|
<!-- Create signed zip file -->
|
||||||
|
<exec executable="zip" dir="macosx/work">
|
||||||
|
<arg line="-q -r ../arduino-${version}-${platform}.zip ." />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<echo>
|
||||||
|
=======================================================
|
||||||
|
Arduino for Mac OS X built and signed.
|
||||||
|
|
||||||
|
macosx/arduino-${version}-${platform}-signed.zip
|
||||||
|
=======================================================
|
||||||
|
</echo>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="macosx-singed-dist-check">
|
||||||
|
<fail unless="macosx-sign-keychain" message="Please set the property 'macosx-sign-keychain' to the correct keychain file" />
|
||||||
|
<fail unless="macosx-sign-keychain-pass" message="Please set the property 'macosx-sign-keychain-pass' with the password to unlock the keychain" />
|
||||||
|
<fail unless="macosx-sign-id" message="Please set the property 'macosx-sign-id' to the correct cert identifier" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<!-- Build distribution file for MacOSX. -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - -->
|
||||||
<target name="macosx-dist" if="macosx" depends="macosx-build" description="Create a downloadable .zip for the Mac OS X version">
|
<target name="macosx-dist" if="macosx" depends="macosx-build" description="Create a downloadable .zip for the Mac OS X version">
|
||||||
<!-- The ant copy command does not preserve permissions. -->
|
<!-- The ant copy command does not preserve permissions. -->
|
||||||
<chmod file="macosx/work/Arduino.app/Contents/MacOS/JavaApplicationStub" perm="+x" />
|
<chmod file="macosx/work/Arduino.app/Contents/MacOS/JavaApplicationStub" perm="+x" />
|
||||||
@ -267,7 +334,6 @@
|
|||||||
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/bin" includes="**/*" />
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/bin" includes="**/*" />
|
||||||
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr-3/bin" includes="**/*" />
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr-3/bin" includes="**/*" />
|
||||||
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr-4/bin" includes="**/*" />
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr-4/bin" includes="**/*" />
|
||||||
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/libexec/gcc/avr/3.4.6/" includes="**/cc1*" />
|
|
||||||
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/libexec/gcc/avr/4.3.2/" includes="**/cc1*" />
|
<fileset dir="macosx/work/Arduino.app/Contents/Resources/Java/hardware/tools/avr/libexec/gcc/avr/4.3.2/" includes="**/cc1*" />
|
||||||
</chmod>
|
</chmod>
|
||||||
|
|
||||||
@ -277,7 +343,7 @@
|
|||||||
token="REVISION" value="${revision}" />
|
token="REVISION" value="${revision}" />
|
||||||
|
|
||||||
<exec executable="zip" dir="macosx/work">
|
<exec executable="zip" dir="macosx/work">
|
||||||
<arg line="-q -r ../arduino-${version}-macosx.zip ." />
|
<arg line="-q -r ../arduino-${version}-${platform}.zip ." />
|
||||||
</exec>
|
</exec>
|
||||||
<!-- <exec executable="ditto" dir="macosx/work">
|
<!-- <exec executable="ditto" dir="macosx/work">
|
||||||
<arg line="-c -k -rsrc . ../arduino-${version}-macosx.zip" />
|
<arg line="-c -k -rsrc . ../arduino-${version}-macosx.zip" />
|
||||||
@ -287,7 +353,7 @@
|
|||||||
=======================================================
|
=======================================================
|
||||||
Arduino for Mac OS X was built. Grab the image from
|
Arduino for Mac OS X was built. Grab the image from
|
||||||
|
|
||||||
macosx/arduino-${version}-macosx.zip
|
macosx/arduino-${version}-${platform}.zip
|
||||||
=======================================================
|
=======================================================
|
||||||
</echo>
|
</echo>
|
||||||
</target>
|
</target>
|
||||||
@ -352,6 +418,9 @@
|
|||||||
|
|
||||||
<target name="linux-clean" depends="subprojects-clean" description="Clean linux version">
|
<target name="linux-clean" depends="subprojects-clean" description="Clean linux version">
|
||||||
<delete dir="linux/work" />
|
<delete dir="linux/work" />
|
||||||
|
<delete>
|
||||||
|
<fileset dir="linux" includes="arduino-*linux*.tgz"/>
|
||||||
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="linux-checkos" unless="linux">
|
<target name="linux-checkos" unless="linux">
|
||||||
@ -513,7 +582,7 @@
|
|||||||
<arg value="-z"/>
|
<arg value="-z"/>
|
||||||
<arg value="-c"/>
|
<arg value="-c"/>
|
||||||
<arg value="-f"/>
|
<arg value="-f"/>
|
||||||
<arg value="arduino-${version}-linux.tgz"/>
|
<arg value="arduino-${version}-${platform}.tgz"/>
|
||||||
<arg value="arduino-${version}"/>
|
<arg value="arduino-${version}"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
@ -523,7 +592,7 @@
|
|||||||
=======================================================
|
=======================================================
|
||||||
Arduino for Linux was built. Grab the archive from
|
Arduino for Linux was built. Grab the archive from
|
||||||
|
|
||||||
build/linux/arduino-${version}-linux.tgz
|
build/linux/arduino-${version}-${platform}.tgz
|
||||||
=======================================================
|
=======================================================
|
||||||
</echo>
|
</echo>
|
||||||
</target>
|
</target>
|
||||||
@ -541,6 +610,9 @@
|
|||||||
<target name="windows-clean" depends="subprojects-clean"
|
<target name="windows-clean" depends="subprojects-clean"
|
||||||
description="Clean windows version">
|
description="Clean windows version">
|
||||||
<delete dir="windows/work" />
|
<delete dir="windows/work" />
|
||||||
|
<delete>
|
||||||
|
<fileset dir="windows" includes="arduino-*windows*.zip"/>
|
||||||
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="windows-checkos" unless="windows">
|
<target name="windows-checkos" unless="windows">
|
||||||
@ -571,6 +643,8 @@
|
|||||||
<fileset file="shared/revisions.txt" />
|
<fileset file="shared/revisions.txt" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
|
<fixcrlf file="windows/work/revisions.txt" eol="dos"/>
|
||||||
|
|
||||||
<copy todir="windows/work">
|
<copy todir="windows/work">
|
||||||
<fileset dir="windows/dist" includes="*.dll" />
|
<fileset dir="windows/dist" includes="*.dll" />
|
||||||
</copy>
|
</copy>
|
||||||
@ -617,6 +691,10 @@
|
|||||||
</chmod>
|
</chmod>
|
||||||
|
|
||||||
<antcall target="windows-unzip-arm-toolchain" />
|
<antcall target="windows-unzip-arm-toolchain" />
|
||||||
|
|
||||||
|
<delete includeEmptyDirs="true" quiet="true">
|
||||||
|
<fileset dir="windows/work/hardware/tools/avr/doc" />
|
||||||
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="windows-run" depends="windows-build"
|
<target name="windows-run" depends="windows-build"
|
||||||
@ -680,12 +758,12 @@
|
|||||||
excludes="java/**" />
|
excludes="java/**" />
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<zip destfile="windows/arduino-${version}-windows.zip">
|
<zip destfile="windows/arduino-${version}-${platform}.zip" level="9">
|
||||||
<zipfileset dir="windows/work"
|
<zipfileset dir="windows/work"
|
||||||
prefix="arduino-${version}" />
|
prefix="arduino-${version}" />
|
||||||
</zip>
|
</zip>
|
||||||
|
|
||||||
<zip destfile="windows/arduino-${version}-windows-expert.zip">
|
<zip destfile="windows/arduino-${version}-${platform}-expert.zip" level="9">
|
||||||
<zipfileset dir="windows/work"
|
<zipfileset dir="windows/work"
|
||||||
prefix="arduino-${version}"
|
prefix="arduino-${version}"
|
||||||
excludes="java/**" />
|
excludes="java/**" />
|
||||||
@ -695,8 +773,8 @@
|
|||||||
=======================================================
|
=======================================================
|
||||||
Arduino for Windows was built. Grab the archive from
|
Arduino for Windows was built. Grab the archive from
|
||||||
|
|
||||||
windows/arduino-${version}-windows.zip
|
windows/arduino-${version}-${platform}.zip
|
||||||
windows/arduino-${version}-windows-expert.zip
|
windows/arduino-${version}-${platform}-expert.zip
|
||||||
=======================================================
|
=======================================================
|
||||||
</echo>
|
</echo>
|
||||||
</target>
|
</target>
|
||||||
|
BIN
build/linux/dist/lib/librxtxSerial.so
vendored
BIN
build/linux/dist/lib/librxtxSerial.so
vendored
Binary file not shown.
BIN
build/linux/dist/lib/librxtxSerial64.so
vendored
BIN
build/linux/dist/lib/librxtxSerial64.so
vendored
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
ARDUINO 1.5.2 BETA - 2012.01.23
|
ARDUINO 1.5.2 BETA - 2013.02.06
|
||||||
|
|
||||||
[ide]
|
[ide]
|
||||||
* Scrollable editor tabs (Shigheru KANEMOTO)
|
* Scrollable editor tabs (Shigheru KANEMOTO)
|
||||||
@ -14,15 +14,18 @@ ARDUINO 1.5.2 BETA - 2012.01.23
|
|||||||
* Deleting tab from IDE does not delete from temporary folder
|
* Deleting tab from IDE does not delete from temporary folder
|
||||||
* Fixed NPE when unknown boards/platforms are selected in preferences
|
* Fixed NPE when unknown boards/platforms are selected in preferences
|
||||||
* Extended command line build flags
|
* Extended command line build flags
|
||||||
|
* Undo/Redo move cursor and focus to where the code has been undone/redone
|
||||||
|
|
||||||
[arduino core]
|
[arduino core]
|
||||||
|
* sam: attachInterrupt() now works also on pins that belongs to PORTD
|
||||||
* sam: portOutputRegister() is now writeable.
|
* sam: portOutputRegister() is now writeable.
|
||||||
* sam: fixed issue on weak-symbol for some interrupt handlers
|
* sam: fixed issue on weak-symbol for some interrupt handlers
|
||||||
* sam: fixed BSoD on some Windows machine (louismdavis)
|
* sam: fixed BSoD on some Windows machine (louismdavis)
|
||||||
* sam: added CANRX1/CANTX1 pins 88/89 (same physical pin for 66/53)
|
* sam: added CANRX1/CANTX1 pins 88/89 (same physical pin for 66/53)
|
||||||
* sam: fixed analogWrite when used in very thight write loops (V.Dorrich)
|
* sam: fixed analogWrite when used in very thight write loops (V.Dorrich)
|
||||||
* sam: fixed USBSerial.write() while sending big buffers (Bill Dreschel)
|
* sam: fixed SerialUSB.write() while sending big buffers (Bill Dreschel)
|
||||||
* sam: USBSerial receive buffer size is now 512 (PeterVH)
|
* sam: SerialUSB receive buffer size is now 512 (PeterVH)
|
||||||
|
* sam: Fixed SerialUSB data handshake when host sends a lot of data (PeterVH, stimmer)
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
* sam: Added Servo library
|
* sam: Added Servo library
|
||||||
@ -90,6 +93,7 @@ ARDUINO 1.0.4 - Not yet released.
|
|||||||
* Sort entries in preferences.txt (Shigeru Kanemoto)
|
* Sort entries in preferences.txt (Shigeru Kanemoto)
|
||||||
* Fixed some wrong translations
|
* Fixed some wrong translations
|
||||||
* Fixed NPE due to permissions IO error
|
* Fixed NPE due to permissions IO error
|
||||||
|
* Updated drivers for Windows (all-in-one, signature for Win8)
|
||||||
|
|
||||||
ARDUINO 1.0.3 - 2012.12.10
|
ARDUINO 1.0.3 - 2012.12.10
|
||||||
|
|
||||||
|
107
build/windows/dist/drivers/Arduino Esplora.inf
vendored
107
build/windows/dist/drivers/Arduino Esplora.inf
vendored
@ -1,107 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_003C
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_803C&MI_00
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_003C
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_803C&MI_00
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino Esplora Driver Installer"
|
|
||||||
DESCRIPTION="Arduino Esplora"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
107
build/windows/dist/drivers/Arduino Leonardo.inf
vendored
107
build/windows/dist/drivers/Arduino Leonardo.inf
vendored
@ -1,107 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_0036
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_8036&MI_00
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0036
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_8036&MI_00
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino Leonardo Driver Installer"
|
|
||||||
DESCRIPTION="Arduino Leonardo"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
@ -1,106 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_0042
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0042
|
|
||||||
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino Mega 2560 R3 Driver Installer"
|
|
||||||
DESCRIPTION="Arduino Mega 2560 R3"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
106
build/windows/dist/drivers/Arduino MEGA 2560.inf
vendored
106
build/windows/dist/drivers/Arduino MEGA 2560.inf
vendored
@ -1,106 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_0010
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0010
|
|
||||||
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino Mega 2560 Driver Installer"
|
|
||||||
DESCRIPTION="Arduino Mega 2560"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
106
build/windows/dist/drivers/Arduino Mega ADK REV3.inf
vendored
106
build/windows/dist/drivers/Arduino Mega ADK REV3.inf
vendored
@ -1,106 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_0044
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0044
|
|
||||||
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino Mega ADK R3 Driver Installer"
|
|
||||||
DESCRIPTION="Arduino Mega ADK R3"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
106
build/windows/dist/drivers/Arduino Mega ADK.inf
vendored
106
build/windows/dist/drivers/Arduino Mega ADK.inf
vendored
@ -1,106 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_003F
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_003F
|
|
||||||
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino Mega ADK Driver Installer"
|
|
||||||
DESCRIPTION="Arduino Mega ADK"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
107
build/windows/dist/drivers/Arduino Micro.inf
vendored
107
build/windows/dist/drivers/Arduino Micro.inf
vendored
@ -1,107 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_0037
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_8037&MI_00
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0037
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_8037&MI_00
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino Micro Driver Installer"
|
|
||||||
DESCRIPTION="Arduino Micro"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
106
build/windows/dist/drivers/Arduino UNO REV3.inf
vendored
106
build/windows/dist/drivers/Arduino UNO REV3.inf
vendored
@ -1,106 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_0043
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0043
|
|
||||||
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino UNO R3 Driver Installer"
|
|
||||||
DESCRIPTION="Arduino UNO R3"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
106
build/windows/dist/drivers/Arduino UNO.inf
vendored
106
build/windows/dist/drivers/Arduino UNO.inf
vendored
@ -1,106 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_0001
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0001
|
|
||||||
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="http://www.arduino.cc"
|
|
||||||
INSTDISK="Arduino UNO Driver Installer"
|
|
||||||
DESCRIPTION="Communications Port"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
106
build/windows/dist/drivers/Arduino USBSerial.inf
vendored
106
build/windows/dist/drivers/Arduino USBSerial.inf
vendored
@ -1,106 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_2341&PID_003B
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_003B
|
|
||||||
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
|
||||||
INSTDISK="Arduino USBSerial Driver Installer"
|
|
||||||
DESCRIPTION="Arduino UNO"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
107
build/windows/dist/drivers/LilyPadUSB.inf
vendored
107
build/windows/dist/drivers/LilyPadUSB.inf
vendored
@ -1,107 +0,0 @@
|
|||||||
;************************************************************
|
|
||||||
; Windows USB CDC ACM Setup File
|
|
||||||
; Copyright (c) 2000 Microsoft Corporation
|
|
||||||
|
|
||||||
|
|
||||||
[Version]
|
|
||||||
Signature="$Windows NT$"
|
|
||||||
Class=Ports
|
|
||||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
|
||||||
Provider=%MFGNAME%
|
|
||||||
LayoutFile=layout.inf
|
|
||||||
CatalogFile=%MFGFILENAME%.cat
|
|
||||||
DriverVer=11/15/2007,5.1.2600.0
|
|
||||||
|
|
||||||
[Manufacturer]
|
|
||||||
%MFGNAME%=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,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; Vista-64bit Sections
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64]
|
|
||||||
include=mdmcpq.inf
|
|
||||||
CopyFiles=DriverCopyFiles.NTamd64
|
|
||||||
AddReg=DriverInstall.NTamd64.AddReg
|
|
||||||
|
|
||||||
[DriverCopyFiles.NTamd64]
|
|
||||||
%DRIVERFILENAME%.sys,,,0x20
|
|
||||||
|
|
||||||
[DriverInstall.NTamd64.AddReg]
|
|
||||||
HKR,,DevLoader,,*ntkern
|
|
||||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.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_1B4F&PID_9207
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_1B4F&PID_9208&MI_00
|
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_1B4F&PID_9207
|
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_1B4F&PID_9208&MI_00
|
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
; String Definitions
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
;Modify these strings to customize your device
|
|
||||||
;------------------------------------------------------------------------------
|
|
||||||
[Strings]
|
|
||||||
MFGFILENAME="CDC_vista"
|
|
||||||
DRIVERFILENAME ="usbser"
|
|
||||||
MFGNAME="SparkFun Electronics"
|
|
||||||
INSTDISK="SparkFun LilyPadUSB Driver Installer"
|
|
||||||
DESCRIPTION="SparkFun LilyPadUSB"
|
|
||||||
SERVICE="USB RS-232 Emulation Driver"
|
|
BIN
build/windows/dist/drivers/Old_Arduino_Drivers.zip
vendored
Normal file
BIN
build/windows/dist/drivers/Old_Arduino_Drivers.zip
vendored
Normal file
Binary file not shown.
7
build/windows/dist/drivers/README.txt
vendored
Normal file
7
build/windows/dist/drivers/README.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
With this version of Arduino a new all-in-one driver (with
|
||||||
|
security signature for Windows 8) is supplied.
|
||||||
|
|
||||||
|
The old (deprected) drivers are still available in the
|
||||||
|
Old_Arduino_Drivers.zip
|
||||||
|
|
BIN
build/windows/dist/drivers/arduino.cat
vendored
Normal file
BIN
build/windows/dist/drivers/arduino.cat
vendored
Normal file
Binary file not shown.
122
build/windows/dist/drivers/arduino.inf
vendored
Normal file
122
build/windows/dist/drivers/arduino.inf
vendored
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
; Copyright 2012 Blacklabel Development, Inc.
|
||||||
|
|
||||||
|
[Strings]
|
||||||
|
DriverPackageDisplayName="Arduino Boards"
|
||||||
|
ManufacturerName="Arduino LLC (www.arduino.cc)"
|
||||||
|
ServiceName="USB RS-232 Emulation Driver"
|
||||||
|
due.bossa.name="Bossa Program Port"
|
||||||
|
due.programming_port.name="Arduino Due Programming Port"
|
||||||
|
due.sketch.name="Arduino Due"
|
||||||
|
esplora.bootloader.name="Arduino Esplora bootloader"
|
||||||
|
esplora.sketch.name="Arduino Esplora"
|
||||||
|
leonardo.bootloader.name="Arduino Leonardo bootloader"
|
||||||
|
leonardo.sketch.name="Arduino Leonardo"
|
||||||
|
lilypadUSB.bootloader.name="Arduino LilyPad USB bootloader"
|
||||||
|
lilypadUSB.sketch.name="Arduino LilyPad USB"
|
||||||
|
mega2560rev3.name="Arduino Mega 2560"
|
||||||
|
megaADK.name="Arduino Mega ADK"
|
||||||
|
megaADKrev3.name="Arduino Mega ADK"
|
||||||
|
micro.bootloader.name="Arduino Micro bootloader"
|
||||||
|
micro.sketch.name="Arduino Micro"
|
||||||
|
uno.name="Arduino Uno"
|
||||||
|
unoR3.name="Arduino Uno"
|
||||||
|
usbserial.name="Arduino USB Serial Light Adapter"
|
||||||
|
|
||||||
|
[DefaultInstall]
|
||||||
|
CopyINF=arduino.inf
|
||||||
|
|
||||||
|
[Version]
|
||||||
|
Class=Ports
|
||||||
|
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
||||||
|
Signature="$Windows NT$"
|
||||||
|
Provider=%ManufacturerName%
|
||||||
|
DriverPackageDisplayName=%DriverPackageDisplayName%
|
||||||
|
CatalogFile=arduino.cat
|
||||||
|
DriverVer=01/01/2013,1.0.0.0
|
||||||
|
|
||||||
|
[Manufacturer]
|
||||||
|
%ManufacturerName%=DeviceList, NTamd64, NTia64
|
||||||
|
|
||||||
|
[DestinationDirs]
|
||||||
|
FakeModemCopyFileSection=12
|
||||||
|
DefaultDestDir=12
|
||||||
|
|
||||||
|
[DeviceList]
|
||||||
|
%due.bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
|
||||||
|
%due.programming_port.name%=DriverInstall, USB\VID_2341&PID_003D
|
||||||
|
%due.sketch.name%=DriverInstall, USB\VID_2341&PID_003E&MI_00
|
||||||
|
%esplora.bootloader.name%=DriverInstall, USB\VID_2341&PID_003C
|
||||||
|
%esplora.sketch.name%=DriverInstall, USB\VID_2341&PID_803C&MI_00
|
||||||
|
%leonardo.bootloader.name%=DriverInstall, USB\VID_2341&PID_0036
|
||||||
|
%leonardo.sketch.name%=DriverInstall, USB\VID_2341&PID_8036&MI_00
|
||||||
|
%lilypadUSB.bootloader.name%=DriverInstall, USB\VID_1B4F&PID_9207
|
||||||
|
%lilypadUSB.sketch.name%=DriverInstall, USB\VID_1B4F&PID_9208&MI_00
|
||||||
|
%mega2560rev3.name%=DriverInstall, USB\VID_2341&PID_0042
|
||||||
|
%mega2560.name%=DriverInstall, USB\VID_2341&PID_0010
|
||||||
|
%megaADK.name%=DriverInstall, USB\VID_2341&PID_003F
|
||||||
|
%megaADKrev3.name%=DriverInstall, USB\VID_2341&PID_0044
|
||||||
|
%micro.bootloader.name%=DriverInstall, USB\VID_2341&PID_0037
|
||||||
|
%micro.sketch.name%=DriverInstall, USB\VID_2341&PID_8037&MI_00
|
||||||
|
%uno.name%=DriverInstall, USB\VID_2341&PID_0001
|
||||||
|
%unoR3.name%=DriverInstall, USB\VID_2341&PID_0043
|
||||||
|
%usbserial.name%=DriverInstall, USB\VID_2341&PID_003B
|
||||||
|
|
||||||
|
[DeviceList.NTamd64]
|
||||||
|
%due.bossa.name%=DriverInstall, USB\VID_03EB&PID_6124
|
||||||
|
%due.programming_port.name%=DriverInstall, USB\VID_2341&PID_003D
|
||||||
|
%due.sketch.name%=DriverInstall, USB\VID_2341&PID_003E&MI_00
|
||||||
|
%esplora.bootloader.name%=DriverInstall, USB\VID_2341&PID_003C
|
||||||
|
%esplora.sketch.name%=DriverInstall, USB\VID_2341&PID_803C&MI_00
|
||||||
|
%leonardo.bootloader.name%=DriverInstall, USB\VID_2341&PID_0036
|
||||||
|
%leonardo.sketch.name%=DriverInstall, USB\VID_2341&PID_8036&MI_00
|
||||||
|
%lilypadUSB.bootloader.name%=DriverInstall, USB\VID_1B4F&PID_9207
|
||||||
|
%lilypadUSB.sketch.name%=DriverInstall, USB\VID_1B4F&PID_9208&MI_00
|
||||||
|
%mega2560rev3.name%=DriverInstall, USB\VID_2341&PID_0042
|
||||||
|
%mega2560.name%=DriverInstall, USB\VID_2341&PID_0010
|
||||||
|
%megaADK.name%=DriverInstall, USB\VID_2341&PID_003F
|
||||||
|
%megaADKrev3.name%=DriverInstall, USB\VID_2341&PID_0044
|
||||||
|
%micro.bootloader.name%=DriverInstall, USB\VID_2341&PID_0037
|
||||||
|
%micro.sketch.name%=DriverInstall, USB\VID_2341&PID_8037&MI_00
|
||||||
|
%uno.name%=DriverInstall, USB\VID_2341&PID_0001
|
||||||
|
%unoR3.name%=DriverInstall, USB\VID_2341&PID_0043
|
||||||
|
%usbserial.name%=DriverInstall, USB\VID_2341&PID_003B
|
||||||
|
|
||||||
|
[DeviceList.NTia64]
|
||||||
|
%esplora.bootloader.name%=DriverInstall, USB\VID_2341&PID_003C
|
||||||
|
%esplora.sketch.name%=DriverInstall, USB\VID_2341&PID_803C&MI_00
|
||||||
|
%leonardo.bootloader.name%=DriverInstall, USB\VID_2341&PID_0036
|
||||||
|
%leonardo.sketch.name%=DriverInstall, USB\VID_2341&PID_8036&MI_00
|
||||||
|
%lilypadUSB.bootloader.name%=DriverInstall, USB\VID_1B4F&PID_9207
|
||||||
|
%lilypadUSB.sketch.name%=DriverInstall, USB\VID_1B4F&PID_9208&MI_00
|
||||||
|
%mega2560rev3.name%=DriverInstall, USB\VID_2341&PID_0042
|
||||||
|
%mega2560.name%=DriverInstall, USB\VID_2341&PID_0010
|
||||||
|
%megaADK.name%=DriverInstall, USB\VID_2341&PID_003F
|
||||||
|
%megaADKrev3.name%=DriverInstall, USB\VID_2341&PID_0044
|
||||||
|
%micro.bootloader.name%=DriverInstall, USB\VID_2341&PID_0037
|
||||||
|
%micro.sketch.name%=DriverInstall, USB\VID_2341&PID_8037&MI_00
|
||||||
|
%uno.name%=DriverInstall, USB\VID_2341&PID_0001
|
||||||
|
%unoR3.name%=DriverInstall, USB\VID_2341&PID_0043
|
||||||
|
%usbserial.name%=DriverInstall, USB\VID_2341&PID_003B
|
||||||
|
|
||||||
|
[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
|
||||||
|
|
@ -20,6 +20,7 @@
|
|||||||
<cp>lib/jna.jar</cp>
|
<cp>lib/jna.jar</cp>
|
||||||
<cp>lib/ecj.jar</cp>
|
<cp>lib/ecj.jar</cp>
|
||||||
<cp>lib/RXTXcomm.jar</cp>
|
<cp>lib/RXTXcomm.jar</cp>
|
||||||
|
<cp>lib/commons-exec-1.1.jar</cp>
|
||||||
</classPath>
|
</classPath>
|
||||||
<jre>
|
<jre>
|
||||||
<path>java</path>
|
<path>java</path>
|
||||||
|
@ -155,18 +155,39 @@ void Serial_::end(void)
|
|||||||
|
|
||||||
void Serial_::accept(void)
|
void Serial_::accept(void)
|
||||||
{
|
{
|
||||||
|
static uint32_t guard = 0;
|
||||||
|
|
||||||
|
// synchronized access to guard
|
||||||
|
do {
|
||||||
|
if (__LDREXW(&guard) != 0) {
|
||||||
|
__CLREX();
|
||||||
|
return; // busy
|
||||||
|
}
|
||||||
|
} while (__STREXW(1, &guard) != 0); // retry until write succeed
|
||||||
|
|
||||||
ring_buffer *buffer = &cdc_rx_buffer;
|
ring_buffer *buffer = &cdc_rx_buffer;
|
||||||
uint32_t c = USBD_Recv(CDC_RX);
|
|
||||||
uint32_t i = (uint32_t)(buffer->head+1) % CDC_SERIAL_BUFFER_SIZE;
|
uint32_t i = (uint32_t)(buffer->head+1) % CDC_SERIAL_BUFFER_SIZE;
|
||||||
|
|
||||||
// if we should be storing the received character into the location
|
// if we should be storing the received character into the location
|
||||||
// just before the tail (meaning that the head would advance to the
|
// just before the tail (meaning that the head would advance to the
|
||||||
// current location of the tail), we're about to overflow the buffer
|
// current location of the tail), we're about to overflow the buffer
|
||||||
// and so we don't write the character or advance the head.
|
// and so we don't write the character or advance the head.
|
||||||
if (i != buffer->tail) {
|
while (i != buffer->tail) {
|
||||||
|
uint32_t c;
|
||||||
|
if (!USBD_Available(CDC_RX)) {
|
||||||
|
udd_ack_fifocon(CDC_RX);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
c = USBD_Recv(CDC_RX);
|
||||||
|
// c = UDD_Recv8(CDC_RX & 0xF);
|
||||||
buffer->buffer[buffer->head] = c;
|
buffer->buffer[buffer->head] = c;
|
||||||
buffer->head = i;
|
buffer->head = i;
|
||||||
|
|
||||||
|
i = (i + 1) % CDC_SERIAL_BUFFER_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// release the guard
|
||||||
|
guard = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int Serial_::available(void)
|
int Serial_::available(void)
|
||||||
@ -202,6 +223,8 @@ int Serial_::read(void)
|
|||||||
{
|
{
|
||||||
unsigned char c = buffer->buffer[buffer->tail];
|
unsigned char c = buffer->buffer[buffer->tail];
|
||||||
buffer->tail = (unsigned int)(buffer->tail + 1) % CDC_SERIAL_BUFFER_SIZE;
|
buffer->tail = (unsigned int)(buffer->tail + 1) % CDC_SERIAL_BUFFER_SIZE;
|
||||||
|
if (USBD_Available(CDC_RX))
|
||||||
|
accept();
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -601,10 +601,8 @@ static void USB_ISR(void)
|
|||||||
udd_ack_out_received(CDC_RX);
|
udd_ack_out_received(CDC_RX);
|
||||||
|
|
||||||
// Handle received bytes
|
// Handle received bytes
|
||||||
while (USBD_Available(CDC_RX))
|
if (USBD_Available(CDC_RX))
|
||||||
SerialUSB.accept();
|
SerialUSB.accept();
|
||||||
|
|
||||||
udd_ack_fifocon(CDC_RX);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Is_udd_sof())
|
if (Is_udd_sof())
|
||||||
|
@ -23,6 +23,7 @@ typedef void (*interruptCB)(void);
|
|||||||
static interruptCB callbacksPioA[32];
|
static interruptCB callbacksPioA[32];
|
||||||
static interruptCB callbacksPioB[32];
|
static interruptCB callbacksPioB[32];
|
||||||
static interruptCB callbacksPioC[32];
|
static interruptCB callbacksPioC[32];
|
||||||
|
static interruptCB callbacksPioD[32];
|
||||||
|
|
||||||
/* Configure PIO interrupt sources */
|
/* Configure PIO interrupt sources */
|
||||||
static void __initialize() {
|
static void __initialize() {
|
||||||
@ -31,6 +32,7 @@ static void __initialize() {
|
|||||||
callbacksPioA[i] = NULL;
|
callbacksPioA[i] = NULL;
|
||||||
callbacksPioB[i] = NULL;
|
callbacksPioB[i] = NULL;
|
||||||
callbacksPioC[i] = NULL;
|
callbacksPioC[i] = NULL;
|
||||||
|
callbacksPioD[i] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
pmc_enable_periph_clk(ID_PIOA);
|
pmc_enable_periph_clk(ID_PIOA);
|
||||||
@ -50,6 +52,12 @@ static void __initialize() {
|
|||||||
NVIC_ClearPendingIRQ(PIOC_IRQn);
|
NVIC_ClearPendingIRQ(PIOC_IRQn);
|
||||||
NVIC_SetPriority(PIOC_IRQn, 0);
|
NVIC_SetPriority(PIOC_IRQn, 0);
|
||||||
NVIC_EnableIRQ(PIOC_IRQn);
|
NVIC_EnableIRQ(PIOC_IRQn);
|
||||||
|
|
||||||
|
pmc_enable_periph_clk(ID_PIOD);
|
||||||
|
NVIC_DisableIRQ(PIOD_IRQn);
|
||||||
|
NVIC_ClearPendingIRQ(PIOD_IRQn);
|
||||||
|
NVIC_SetPriority(PIOD_IRQn, 0);
|
||||||
|
NVIC_EnableIRQ(PIOD_IRQn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -77,6 +85,8 @@ void attachInterrupt(uint32_t pin, void (*callback)(void), uint32_t mode)
|
|||||||
callbacksPioB[pos] = callback;
|
callbacksPioB[pos] = callback;
|
||||||
if (pio == PIOC)
|
if (pio == PIOC)
|
||||||
callbacksPioC[pos] = callback;
|
callbacksPioC[pos] = callback;
|
||||||
|
if (pio == PIOD)
|
||||||
|
callbacksPioD[pos] = callback;
|
||||||
|
|
||||||
// Configure the interrupt mode
|
// Configure the interrupt mode
|
||||||
if (mode == CHANGE) {
|
if (mode == CHANGE) {
|
||||||
@ -156,6 +166,17 @@ void PIOC_Handler(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void PIOD_Handler(void) {
|
||||||
|
uint32_t isr = PIOD->PIO_ISR;
|
||||||
|
uint32_t i;
|
||||||
|
for (i=0; i<32; i++, isr>>=1) {
|
||||||
|
if ((isr & 0x1) == 0)
|
||||||
|
continue;
|
||||||
|
if (callbacksPioD[i])
|
||||||
|
callbacksPioD[i]();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user