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: CONTRIBUTING.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,7 @@ There are many ways that you can contribute, beyond writing code. The goal of th
9
9
If you are interested in writing code to fix issues, first look at the issues with the [help-wanted](https://github.com/Microsoft/vscode-arduino/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) label. They should have the context and code pointers needed to get started. If not, then feel free to ask for some, and we will be happy to provide any guidance you need.
10
10
11
11
When you are doing code fix, please work against [main](https://github.com/microsoft/vscode-arduino/tree/main)
12
-
branch and also submit pull request to `main` branch.
13
-
Changes will be merged into `release` branch after production release.
12
+
branch and also submit pull request to `main` branch. Production releases will be tagged from `main`.
Copy file name to clipboardExpand all lines: README.md
+11-9
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,9 @@ The Arduino CLI can be downloaded from the repository's [release page](https://g
29
29
- If you use the CLI you will have to set `arduino.path` since the CLI does not have a default path.
30
30
31
31
## Installation
32
-
Open VS Code and press <kbd>F1</kbd> or <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> to open command palette, select **Install Extension** and type `vscode-arduino`.
32
+
Open VS Code and press <kbd>F1</kbd> or <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> *or* <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> to open command palette, select **Install Extension** and type `vscode-arduino`.
33
33
34
-
Or launch VS Code Quick Open (<kbd>Ctrl</kbd> + <kbd>P</kbd>), paste the following command, and press enter.
34
+
Or launch VS Code Quick Open (<kbd>Ctrl</kbd> + <kbd>P</kbd>*or* <kbd>Cmd</kbd> + <kbd>P</kbd> ), paste the following command, and press enter.
35
35
```bash
36
36
ext install vscode-arduino
37
37
```
@@ -42,7 +42,7 @@ You can also install directly from the Marketplace within Visual Studio Code, se
42
42
You can find code samples and tutorials each time that you connect a supported device. Alternatively you can visit our [IoT Developer Blog Space](https://devblogs.microsoft.com/iotdev/) or [Get Started Tutorials](https://docs.microsoft.com/azure/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started).
43
43
44
44
## Commands
45
-
This extension provides several commands in the Command Palette (<kbd>F1</kbd> or <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>) for working with `*.ino` files:
45
+
This extension provides several commands in the Command Palette (<kbd>F1</kbd> or <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>*or* <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>) for working with `*.ino` files:
46
46
47
47
-**Arduino: Board Manager**: Manage packages for boards. You can add 3rd party Arduino board by configuring `Additional Board Manager URLs` in the board manager.
48
48
-**Arduino: Change Baud Rate**: Change the baud rate of the selected serial port.
@@ -80,10 +80,12 @@ This extension provides several commands in the Command Palette (<kbd>F1</kbd> o
80
80
|`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). |
81
81
|`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`.|
82
82
|`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
-
|`arduino.defaultTimestampFormat`| Format of timestamp printed before each line of Serial Monitor output. You can find list of all available placeholders [here](https://strftime.org). |
83
+
|`arduino.defaultTimestampFormat`| Format of timestamp printed before each line of Serial Monitor output. You can find list of all available placeholders [here](https://github.com/samsonjs/strftime#supported-specifiers). |
84
84
|`arduino.disableIntelliSenseAutoGen`| When `true` vscode-arduino will not auto-generate an IntelliSense configuration (i.e. `.vscode/c_cpp_properties.json`) by analyzing Arduino's compiler output. |
85
+
|`arduino.analyzeOnOpen`| When true, automatically run analysis when the project is opened. Only works when `arduino.analyzeOnSettingChange` is true. |
86
+
|`arduino.analyzeOnSettingChange`| When true, automatically run analysis when board, configuration, or sketch settings are changed. |
85
87
86
-
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.
88
+
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* <kbd>Cmd</kbd> + <kbd>,</kbd> or workspace settings (`.vscode/settings.json`). The latter overrides the former.
87
89
88
90
```json
89
91
{
@@ -122,7 +124,7 @@ The following settings are as per sketch settings of the Arduino extension. You
122
124
-`port` - Name of the serial port connected to the device. Can be set by the `Arduino: Select Serial Port` command. For Mac users could be "/dev/cu.wchusbserial1420".
123
125
-`board` - Currently selected Arduino board alias. Can be set by the `Arduino: Change Board Type` command. Also, you can find the board list there.
124
126
-`output` - Arduino build output path. If not set, Arduino will create a new temporary output folder each time, which means it cannot reuse the intermediate result of the previous build leading to long verify/upload time, so it is recommended to set the field. Arduino requires that the output path should not be the workspace itself or in a subfolder of the workspace, otherwise, it may not work correctly. By default, this option is not set. It's worth noting that the contents of this file could be deleted during the build process, so pick (or create) a directory that will not store files you want to keep.
125
-
-`debugger` - The short name of the debugger that will be used when the board itself does not have a debugger and there is more than one debugger available. You can find the list of debuggers [here](https://github.com/Microsoft/vscode-arduino/blob/release/misc/debuggerUsbMapping.json). By default, this option is not set.
127
+
-`debugger` - The short name of the debugger that will be used when the board itself does not have a debugger and there is more than one debugger available. You can find the list of debuggers [here](https://github.com/Microsoft/vscode-arduino/blob/main/misc/debuggerUsbMapping.json). By default, this option is not set.
126
128
-`prebuild` - External command which will be invoked before any sketch build (verify, upload, ...). For details see the [Pre- and Post-Build Commands](#Pre--and-Post-Build-Commands) section.
127
129
-`postbuild` - External command to be run after the sketch has been built successfully. See the afore mentioned section for more details.
128
130
-`intelliSenseGen` - Override the global setting for auto-generation of the IntelliSense configuration (i.e. `.vscode/c_cpp_properties.json`). Three options are available:
@@ -198,14 +200,14 @@ Make sure that your Arduino board can work with [STLink](http://www.st.com/en/de
198
200
199
201
Steps to start debugging:
200
202
1. Plug in your board to your development machine properly. For those boards that do not have an on-board debugging chip, you need to use a STLink or JLink connector.
201
-
2. Go to the **Debug View** (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd>). and set breakpoints in your source files.
203
+
2. Go to the **Debug View** (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd>*or* <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd>). and set breakpoints in your source files.
202
204
3. Press <kbd>F5</kbd> to select your debugging environment.
203
205
4. When your breakpoint is hit, you can see variables and add expression(s) to watch on the Debug Side Bar.
204
206
205
207
> To learn more about how to debug Arduino code, visit our [team blog](https://blogs.msdn.microsoft.com/iotdev/2017/05/27/debug-your-arduino-code-with-visual-studio-code/).
206
208
207
209
## Change Log
208
-
See the [Change log](https://github.com/Microsoft/vscode-arduino/blob/release/CHANGELOG.md) for details about the changes in each version.
210
+
See the [Change log](https://github.com/Microsoft/vscode-arduino/blob/main/CHANGELOG.md) for details about the changes in each version.
209
211
210
212
## Supported Operating Systems
211
213
Currently this extension supports the following operating systems:
@@ -243,7 +245,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
243
245
The [Microsoft Enterprise and Developer Privacy Statement](https://www.microsoft.com/en-us/privacystatement/EnterpriseDev/default.aspx) describes the privacy statement of this software.
244
246
245
247
## License
246
-
This extension is licensed under the [MIT License](https://github.com/Microsoft/vscode-arduino/blob/release/LICENSE.txt). Please see the [Third Party Notice](https://github.com/Microsoft/vscode-arduino/blob/release/ThirdPartyNotices.txt) file for additional copyright notices and terms.
248
+
This extension is licensed under the [MIT License](https://github.com/Microsoft/vscode-arduino/blob/main/LICENSE.txt). Please see the [Third Party Notice](https://github.com/Microsoft/vscode-arduino/blob/main/ThirdPartyNotices.txt) file for additional copyright notices and terms.
247
249
248
250
## Contact Us
249
251
If you would like to help build the best Arduino experience with VS Code, you can reach us directly at [gitter chat room](https://gitter.im/Microsoft/vscode-arduino).
0 commit comments