Open MacDada opened 1 year ago
Bump; it can be a bit confusing indeed.
Or at very least, add some note or something to the list displayed with pio run --list-targets
:
PS D:\Projects\+embedded\picOOscilloscope> pio run -e pico --list-targets
Environment Group Name Title Description
------------- -------- -------- ----------------------- -------------
pico Platform buildfs Build Filesystem Image
pico Platform uploadfs Upload Filesystem Image
Current docs about pio run
doesn't mention that it does the building. It's mentioned elsewhere in the docs. Also, why doesn't it list built-in targets?
Configuration
Operating system:
MacOS 12.6.1 (21G217)
PlatformIO Version (
platformio --version
):6.1.5
Description of problem
I couldn't find a way to build the project from CLI [I was using IDE features before that]. Turns out that simple
pio run
is enough.Actual Results
Expected Results
A new target called
build
, so that we can runpio run -t build
.It would be an alias to
pio run
(without target specified) or the other way around, not specifying a target, would just call thebuild
target.Additional info
Notice, that when I run
pio
it shows the linerun Run project targets (build, upload, clean, etc.)
– this is confusing, as I was expecting thebuild
target to exist as listed.