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
Feature Request: Support pio exec command, which is useful to run binaries associated with the current project, without getting involved with including toolchain directories in $PATH for each project.
As an example, for stm8 platform, there are sdcc, stm8flash and stm8-binutils which is a powerful combination. Problem is, without adding their relevant prefixes in the path, one is going to have a painful experience. Either they can include them in the shell (possibly automating this by sourcing a script), or call them by their path. Both have their flaws: inclusion is prone to versioning mismatch and loss of cross platform compatibility, while the second one is tedious and repetitive.
My proposal is to add support for pio exec cmd --arg (sub)command, which is just a shortcut for PATH=~/.platformio/...:$PATH cmd --arg at it's core.
The text was updated successfully, but these errors were encountered:
Feature Request: Support
pio exec
command, which is useful to run binaries associated with the current project, without getting involved with including toolchain directories in$PATH
for each project.As an example, for stm8 platform, there are
sdcc
,stm8flash
andstm8-binutils
which is a powerful combination. Problem is, without adding their relevant prefixes in the path, one is going to have a painful experience. Either they can include them in the shell (possibly automating this by sourcing a script), or call them by their path. Both have their flaws: inclusion is prone to versioning mismatch and loss of cross platform compatibility, while the second one is tedious and repetitive.My proposal is to add support for
pio exec cmd --arg
(sub)command, which is just a shortcut forPATH=~/.platformio/...:$PATH cmd --arg
at it's core.The text was updated successfully, but these errors were encountered: