Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 5bf5472

Browse files
committed
Squashed commit of the following:
commit 57c8d2d Author: Adi Azulay <[email protected]> Date: Mon Mar 22 13:00:21 2021 -0700 update changelog commit 6e65997 Author: Adi Azulay <[email protected]> Date: Mon Mar 22 12:49:56 2021 -0700 bump to v0.4.0 commit 6d63a01 Author: Adi Azulay <[email protected]> Date: Tue Mar 9 08:54:05 2021 -0800 update version commit ed886ad Merge: 6ecfc55 9ca2400 Author: Adi Azulay <[email protected]> Date: Mon Mar 8 14:01:55 2021 -0800 Merge branch 'develop' into pre-release-v0.4.0 commit 6ecfc55 Author: Adi Azulay <[email protected]> Date: Thu Feb 18 11:27:45 2021 -0800 update version in package commit 1126581 Author: Adi Azulay <[email protected]> Date: Thu Feb 18 11:07:59 2021 -0800 update readme commit 5571e52 Author: Adi Azulay <[email protected]> Date: Thu Feb 18 10:52:24 2021 -0800 update package-lock commit 0b60f1f Merge: e044711 e97bad8 Author: Adi Azulay <[email protected]> Date: Thu Feb 18 09:59:26 2021 -0800 Merge branch 'master' into pre-release-v0.4.0 commit e97bad8 Author: Adi Azulay <[email protected]> Date: Thu Feb 18 09:56:05 2021 -0800 bump to v0.3.5 (#1196) * update usb native * update changelog * fix ref tag for publishing * fix ref tag for publishing * change build to check version env var * fix version spelling * add {} to if in publish * change version check to regex * fix formatting * change to multiline run * add echo for ISPRODUCTION * add missing s to outputs * remove debugging echo commit e044711 Merge: 739aa95 5f4c400 Author: Adi Azulay <[email protected]> Date: Thu Feb 4 14:32:52 2021 -0800 Merge branch 'develop' of https://github.com/microsoft/vscode-arduino into pre-release-v0.4.0 commit 739aa95 Author: Adi Azulay <[email protected]> Date: Thu Feb 4 14:21:55 2021 -0800 pre release v0.4.0
1 parent 9ca2400 commit 5bf5472

File tree

5 files changed

+125
-54
lines changed

5 files changed

+125
-54
lines changed

.github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ jobs:
103103
tag: ${{ github.ref }}
104104
overwrite: true
105105
file_glob: true
106+
- name: check for production tag
107+
id: check-version
108+
run: |
109+
if [[ ${{ env.VERSION }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
110+
echo ::set-output name=ISPRODUCTION::true
111+
fi
106112
- name: publish
107-
if: github.ref == 'refs/tags/[0-9].[0-9].[0-9]'
113+
if: steps.check-version.outputs.ISPRODUCTION == 'true'
108114
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## Version 0.4.0
5+
6+
### Added
7+
- Support for Arduino CLI (#1017)
8+
9+
### Changed
10+
- Autogenerate c_cpp_properties.json with all complier arguments and libraries for IntelliSense (#1183)
11+
- Detects available programmers for selected board (#1118)
12+
13+
### Fixed
14+
- Typos
15+
16+
### Breaking Changes
17+
- Unifies all build commands under a single
18+
19+
### Known Issues
20+
- Arduino CLI doesn't work on Mac (#1205)
21+
22+
## Version 0.3.5
23+
24+
- Release date: November 22, 2020
25+
26+
### Fixes
27+
- Update to node-usb-native 0.0.19
28+
429
## Version 0.3.4
530

631
- Release date: November 22, 2020

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,19 @@ Welcome to the Visual Studio Code extension for **Arduino** <sup>preview</sup> !
1616
* Integrated Arduino Debugging <sup>New</sup>
1717

1818
## Prerequisites
19-
The Arduino IDE is required. Please install it from the [download page](https://www.arduino.cc/en/main/software#download).
19+
Either the Arduino IDE or Arduino CLI are required.
20+
21+
### Arduino IDE
22+
The Arduino IDE can be installed the Arduino [download page](https://www.arduino.cc/en/main/software#download).
2023
- The supported Arduino IDE versions are `1.6.x` and later.
2124
- The Windows Store's version of the Arduino IDE is not supported because of the sandbox environment that the application runs in.
2225
- *Note:* Arduino IDE `1.8.7` has some breaking changes, causing board package and library installation failures.
2326

27+
### Arduino CLI
28+
The Arduino CLI can be downloaded from the repository's [release page](https://github.com/arduino/arduino-cli/releases/tag/0.13.0)
29+
- The extension has only been tested with v0.13.0.
30+
- If you use the CLI you will have to set `arduino.path` since the CLI does not have a defualt path.
31+
2432
## Installation
2533
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`.
2634

@@ -48,7 +56,9 @@ This extension provides several commands in the Command Palette (<kbd>F1</kbd> o
4856
- **Arduino: Select Serial Port**: Change the current serial port.
4957
- **Arduino: Send Text to Serial Port**: Send a line of text via the current serial port.
5058
- **Arduino: Upload**: Build sketch and upload to Arduino board.
59+
- **Arduino: CLI Upload**: Upload complied code without building sketch (CLI only).
5160
- **Arduino: Upload Using Programmer**: Upload using an external programmer.
61+
- **Arduino: CLI Upload Using Programmer**: Upload using an external programmer without building sketch (CLI only).
5262
- **Arduino: Verify**: Build sketch.
5363
- **Arduino: Rebuild IntelliSense Configuration**: Forced/manual rebuild of the IntelliSense configuration. The extension analyzes Arduino's build output and sets the Intellisense include paths, defines, compiler arguments accordingly.
5464

package-lock.json

+77-49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"name": "vscode-arduino",
33
"displayName": "Arduino",
44
"description": "Arduino for Visual Studio Code",
5-
"version": "0.3.4",
5+
"version": "0.4.0",
66
"publisher": "vsciot-vscode",
77
"aiKey": "83dd2c27-6594-41d3-85a9-bdb22070eb42",
88
"preview": true,
99
"engines": {
10-
"vscode": "^1.50.0"
10+
"vscode": "^1.53.0"
1111
},
1212
"icon": "images/arduino.png",
1313
"license": "SEE LICENSE IN LICENSE.txt",
@@ -36,7 +36,9 @@
3636
"*",
3737
"onCommand:arduino.verify",
3838
"onCommand:arduino.upload",
39+
"onCommand:arduino.cliUpload",
3940
"onCommand:arduino.uploadUsingProgrammer",
41+
"onCommand:arduiono.cliUploadUsingProgrammer",
4042
"onCommand:arduino.rebuildIntelliSenseConfig",
4143
"onCommand:arduino.selectProgrammer",
4244
"onCommand:arduino.selectSerialPort",
@@ -611,7 +613,7 @@
611613
"glob": "^7.1.1",
612614
"iconv-lite": "^0.4.18",
613615
"impor": "^0.1.1",
614-
"node-usb-native": "^0.0.18",
616+
"node-usb-native": "^0.0.19",
615617
"properties": "^1.2.1",
616618
"uuid": "^3.0.1",
617619
"vscode-extension-telemetry": "0.1.6",

0 commit comments

Comments
 (0)