-
Notifications
You must be signed in to change notification settings - Fork 236
customBuildProperties does not put quotes on build.path #974
Comments
Hi Slav, thanks for reporting! This seems to be a bug. I'll fix this in my fork and provide you with a link to an alpha version later. Regards, |
Hi EW, Waiting on the fix! Regards, |
You're welcome! I can't reproduce the problem with an Arduino Nano. Here's my build output:
And my configuration {
"board": "arduino:avr:nano",
"configuration": "cpu=atmega328",
"sketch": "app.ino",
"output": "build"
} But with a BluePill I'm able to reproduce. This leads me to the conclusion that STM32Duino's build back-end can not handle output paths with spaces. You should file an issue there (and close this one 😉 of course). Regards, P.S.: The reason I thought it was a bug: I'm currently implementing better IntelliSense support for this extension and thought I spotted something (I'm pretty familiar with the code base by now). But I was wrong.
Will cause the back-end to create a directory at a completely bad locations. |
Hello EW, |
Ext version: 0.2.29
VScode version: 1.42.1
Arduino IDE version: 1.85
Board selected: one of the STM32Duino boards
The contents of my arduino.json look like:
However the full path of the output folder is
The sketch verification fails with the error:
When I look at the build/build.options.json:
Notice how the path is not in quotes. I suspect this is what is causing the issue. However I do no know how to force the arduino.json to put quotes around it.
The text was updated successfully, but these errors were encountered: