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 has been archived by the owner on Oct 1, 2024. It is now read-only.
I moved %LOCALAPPDATA%\Arduino15 folder to another disk, for example to D:\Arduino15.
I set environment variables as following:
I added path to Arduino CLI into Path variable.
set PATH=%PATH%;D:\arduino-cli
Add additional variables to configure Arduino CLI
set ARDUINO_DIRECTORIES_DATA=D:\Arduino15
set ARDUINO_DIRECTORIES_DOWNLOADS=D:\Arduino15\staging
set ARDUINO_DIRECTORIES_LIBRARIES=D:\Arduino15
set ARDUINO_DIRECTORIES_BUILTIN_LIBRARIES=D:\Arduino15
set ARDUINO_DIRECTORIES_BUILTIN_TOOLS=D:\Arduino15
set ARDUINO_DIRECTORIES_USER=D:\ARDUINO\Arduino
Did tests of Arduino CLI with this configuration
arduino-cli.exe version
arduino-cli.exe core install arduino:avr
arduino-cli.exe board listall
start from sketch directory
arduino-cli.exe compile --fgbn arduino:avr:uno
arduino-cli.exe upload --port COM10 --fbgn arduino:avr:uno
all tests passed OK
Off course I made settings for Arduino Extention:
arduino.path=D:\arduino-cli
arduino.commandPath=arduino-cli.exe
arduino.useArduinoCli=true
But in VSCode with this environment settings Arduino Board Manager does not work.
Than I made symbolic link to standalone D:\Arduino15 in %LOCALAPPDATA% folder
and saw that Arduino Board Manager in VSCode Arduino Extention works fine.
So I realized that VSCode Arduino Extention Board Manager somewhere hardcoded
to the %LOCALAPPDATA%\Arduino15 folder
Please correct this bug in future versions.
Thank You.
The text was updated successfully, but these errors were encountered:
I moved %LOCALAPPDATA%\Arduino15 folder to another disk, for example to D:\Arduino15.
I set environment variables as following:
set PATH=%PATH%;D:\arduino-cli
set ARDUINO_DIRECTORIES_DATA=D:\Arduino15
set ARDUINO_DIRECTORIES_DOWNLOADS=D:\Arduino15\staging
set ARDUINO_DIRECTORIES_LIBRARIES=D:\Arduino15
set ARDUINO_DIRECTORIES_BUILTIN_LIBRARIES=D:\Arduino15
set ARDUINO_DIRECTORIES_BUILTIN_TOOLS=D:\Arduino15
set ARDUINO_DIRECTORIES_USER=D:\ARDUINO\Arduino
arduino-cli.exe version
arduino-cli.exe core install arduino:avr
arduino-cli.exe board listall
arduino-cli.exe compile --fgbn arduino:avr:uno
arduino-cli.exe upload --port COM10 --fbgn arduino:avr:uno
all tests passed OK
arduino.path=D:\arduino-cli
arduino.commandPath=arduino-cli.exe
arduino.useArduinoCli=true
But in VSCode with this environment settings Arduino Board Manager does not work.
and saw that Arduino Board Manager in VSCode Arduino Extention works fine.
So I realized that VSCode Arduino Extention Board Manager somewhere hardcoded
to the %LOCALAPPDATA%\Arduino15 folder
Please correct this bug in future versions.
Thank You.
The text was updated successfully, but these errors were encountered: