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.
Option to use arduino-cli instead of Arduino IDE (#1017)
* Hardcoded Arduino-CLI commands for build and upload
* Added menu checkbox for Arduino CLI
- Upload with programmer is still not supported
- Must be created an arduino symlink pointing to arduino-cli
* If Arduino-CLI, check for arduino-cli instead of arduino.
Not yet supported on Windows or MacOS
* Typo
* Fixed CI requests
* Fixed CI requests
* Update src/common/sys/darwin.ts
MacOS patch for arduino-cli
Co-authored-by: Marc Lage-Vianna <[email protected]>
* Update src/common/sys/win32.ts
Windows patch for arduino-cli
Co-authored-by: Marc Lage-Vianna <[email protected]>
* Trigger
* add cli option in commandPath for win32
* add cli support to board and lib managers
* rename isArduinoCli to useArduinoCli
* adds support for uploading using programmer
* simplify getProgrammer
* add CLI upload
* Update src/arduino/arduino.ts
Co-authored-by: Jason Tranchida <[email protected]>
* refactor uploadUsingProgrammer
* fix output path for CLI upload
* Update package.json
* update cli option text, thanks @maddogjt
* update tests
Co-authored-by: giuliof <[email protected]>
Co-authored-by: Marc Lage-Vianna <[email protected]>
Co-authored-by: Adi Azulay <[email protected]>
Co-authored-by: Adi Azulay <[email protected]>
Co-authored-by: Jason Tranchida <[email protected]>
Copy file name to clipboardExpand all lines: package.json
+13
Original file line number
Diff line number
Diff line change
@@ -93,10 +93,18 @@
93
93
"light": "images/ArduinoUpload_16.svg"
94
94
}
95
95
},
96
+
{
97
+
"command": "arduino.cliUpload",
98
+
"title": "Arduino CLI: Upload"
99
+
},
96
100
{
97
101
"command": "arduino.uploadUsingProgrammer",
98
102
"title": "Arduino: Upload Using Programmer"
99
103
},
104
+
{
105
+
"command": "arduino.cliUploadUsingProgrammer",
106
+
"title": "Arduino CLI: Upload Using Programmer"
107
+
},
100
108
{
101
109
"command": "arduino.selectProgrammer",
102
110
"title": "Arduino: Select Programmer"
@@ -442,6 +450,11 @@
442
450
"type": "object",
443
451
"title": "Arduino configuration",
444
452
"properties": {
453
+
"arduino.useArduinoCli": {
454
+
"type": "boolean",
455
+
"default": false,
456
+
"markdownDescription": "Use Arduino CLI installed instead of Arduino IDE. `#arduino.path#` must be set, as there is no default path for 'arduino-cli'. (Requires a restart after change)"
0 commit comments