Replies: 2 comments 9 replies
-
Hi @valeros, And IIWR you was aware about that as I've ping you about that and the PIO ci ? I moved it as a GH discussion, This will allow to discuss this point. |
Beta Was this translation helpful? Give feedback.
-
Hi @fpistm , Are you a Windows user? Paths on UNIX are not escaped by default because they are not static strings as you have them on Windows. See a few examples for a proof http://www.compciv.org/topics/bash/variables-and-substitution/ @valeros added a workaround on our side. Nevertheless, if other projects would like to use the source code of this Arduino core, they must provide the same escaping to make it working on Unix.
Because this is Windows. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
Is your feature request/improvement related to a problem? Please describe.
In the latest core v2.0 the "variants" folder was refactored and grouped in sub-folders per series. Now, some internal variant folders might be common for several boards and contain round brackets
()
in their names (e.g.F042C(4-6)(T-U)
). Even though such brackets are valid symbols and can be used for naming files and directories, Unix systems require such symbols to be quoted or escaped. With the Arduino IDE it works just fine as you simply quoted that paths in yourplatform.txt
, but in case with PlatformIO it generates some considerable inconvenience as we need to properly handle such paths internally for many external tools like other editors (some IDEs need escaped symbols, other expect a raw path), static analysis tools, remote development, etc.Describe the solution you'd like
Although we understand that this matter should have been discussed early on the stage of development, it would be great to switch to something more regular for variant grouping, for example the most generic and OS-neutral alternatives are underscore
_
and hyphen-
.Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions