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.
Building with arduino-builder.exe should start in the sketch directory in order to comply to Arduino IDE.
Right now it starts from the extension's some sub-directory.
This leads to problems when including files with relative path from inline assembler, because relative path in inline assembler is relative to the current directory in which the compiler is running (and not to the source file).
For example, it makes it impossible to use incbin which works fine in the original Arduino IDE.
Description
Building with
arduino-builder.exe
should start in the sketch directory in order to comply to Arduino IDE.Right now it starts from the extension's some sub-directory.
This leads to problems when including files with relative path from inline assembler, because relative path in inline assembler is relative to the current directory in which the compiler is running (and not to the source file).
For example, it makes it impossible to use incbin which works fine in the original Arduino IDE.
Test case
TEST1/test.bin
- empty fileTEST1/sketch1/sketch1.ino
This sketch will compile with Arduino IDE, but not with vscode-arduino.
The text was updated successfully, but these errors were encountered: