You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-16
Original file line number
Diff line number
Diff line change
@@ -52,12 +52,23 @@ This extension provides several commands in the Command Palette (<kbd>F1</kbd> o
52
52
-**Arduino: Verify**: Build sketch.
53
53
54
54
## Options
55
+
| Option | Description |
56
+
| --- | --- |
57
+
|`arduino.path`| Path to Arduino, you can use a custom version of Arduino by modifying this setting to include the full path. Example: `C:\\Program Files\\Arduino` for Windows, `/Applications` for Mac, `/home/<username>/Downloads/arduino-1.8.1` for Linux. (Requires a restart after change). The default value is automatically detected from your Arduino IDE installation path. |
58
+
|`arduino.commandPath`| Path to an executable (or script) relative to `arduino.path`. The default value is `arduino_debug.exe` for windows,`Contents/MacOS/Arduino` for Mac and `arduino` for Linux, You also can use a custom launch script to run Arduino by modifying this setting. (Requires a restart after change) Example: `run-arduino.bat` for Windows, `Contents/MacOS/run-arduino.sh` for Mac and `bin/run-arduino.sh` for Linux. |
59
+
|`arduino.additionalUrls`| Additional Boards Manager URLs for 3rd party packages. You can have multiple URLs in one string with a comma(`,`) as separator, or have a string array. The default value is empty. |
60
+
|`arduino.logLevel`| CLI output log level. Could be info or verbose. The default value is `"info"`. |
61
+
|`arduino.enableUSBDetection`| Enable/disable USB detection from the VSCode Arduino extension. The default value is `true`. When your device is plugged in to your computer, it will pop up a message "`Detected board ****, Would you like to switch to this board type`". After clicking the `Yes` button, it will automatically detect which serial port (COM) is connected a USB device. If your device does not support this feature, please provide us with the PID/VID of your device; the code format is defined in `misc/usbmapping.json`.To learn more about how to list the vid/pid, use the following tools: https://github.com/EmergingTechnologyAdvisors/node-serialport`npm install -g serialport``serialport-list -f jsonline`|
62
+
|`arduino.disableTestingOpen`| Enable/disable automatic sending of a test message to the serial port for checking the open status. The default value is `false` (a test message will be sent). |
63
+
|`arduino.skipHeaderProvider`| Enable/disable the extension providing completion items for headers. This functionality is included in newer versions of the C++ extension. The default value is `false`.|
64
+
|`arduino.defaultBaudRate`| Default baud rate for the serial port monitor. The default value is 115200. Supported values are 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 74880, 115200, 230400 and 250000 |
65
+
55
66
The following Visual Studio Code settings are available for the Arduino extension. These can be set in global user preferences <kbd>Ctrl</kbd> + <kbd>,</kbd> or workspace settings (`.vscode/settings.json`). The latter overrides the former.
56
67
57
68
```json
58
69
{
59
70
"arduino.path": "C:/Program Files (x86)/Arduino",
60
-
"arduino.commandPath": "run-arduino.bat",
71
+
"arduino.commandPath": "arduino_debug.exe",
61
72
"arduino.logLevel": "info",
62
73
"arduino.enableUSBDetection": true,
63
74
"arduino.disableTestingOpen": false,
@@ -69,21 +80,7 @@ The following Visual Studio Code settings are available for the Arduino extensio
69
80
"arduino.defaultBaudRate": 115200
70
81
}
71
82
```
72
-
-`arduino.path` - Path to Arduino, you can use a custom version of Arduino by modifying this setting to include the full path. Example: `C:\\Program Files\\Arduino` for Windows, `/Applications` for Mac, `/home/<username>/Downloads/arduino-1.8.1` for Linux. (Requires a restart after change). The default value is automatically detected from your Arduino IDE installation path.
73
-
-`arduino.commandPath` - Path to an executable (or script) relative to `arduino.path`. The default value is `arduino_debug.exe` for windows and `arduino` for ubuntu. You also can use a custom launch script to run Arduino by modifying this setting. (Requires a restart after change) Example: `run-arduino.bat` for Windows, `Contents/MacOS/run-arduino.sh` for Mac and `bin/run-arduino.sh` for Linux.
74
-
-`arduino.additionalUrls` - Additional Boards Manager URLs for 3rd party packages. You can have multiple URLs in one string with a comma(`,`) as separator, or have a string array. The default value is empty.
75
-
-`arduino.logLevel` - CLI output log level. Could be info or verbose. The default value is `"info"`.
76
-
-`arduino.enableUSBDetection` - Enable/disable USB detection from the VSCode Arduino extension. The default value is `true`. When your device is plugged in to your computer, it will pop up a message "`Detected board ****, Would you like to switch to this board type`". After clicking the `Yes` button, it will automatically detect which serial port (COM) is connected a USB device. If your device does not support this feature, please provide us with the PID/VID of your device; the code format is defined in `misc/usbmapping.json`.
77
-
> To learn more about how to list the vid/pid, use the following tools: https://github.com/EmergingTechnologyAdvisors/node-serialport
78
-
79
-
```bash
80
-
npm install -g serialport
81
-
serialport-list -f jsonline
82
-
```
83
-
84
-
-`arduino.disableTestingOpen` - Enable/disable automatic sending of a test message to the serial port for checking the open status. The default value is `false` (a test message will be sent).
85
-
-`arduino.skipHeaderProvider` - Enable/disable the extension providing completion items for headers. This functionality is included in newer versions of the C++ extension. The default value is `false`.
86
-
-`arduino.defaultBaudRate` - Default baud rate for the serial port monitor. The default value is 115200. Supported values are 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 74880, 115200, 230400 and 250000.
83
+
*Note:* You only need to set `arduino.path` in Visual Studio Code settings, other options are not required.
87
84
88
85
The following settings are as per sketch settings of the Arduino extension. You can find them in
0 commit comments