Note
We have a big database with Frequently Asked Questions in our Community Forums. Please have a look at it.
Please refer to What is PlatformIO?
.pioenvs
directory¶Please refer to envs_dir.
Bash completion support will complete subcommands and parameters. To enable Bash completion for platformio subcommands you need to put into your .bashrc:
eval "$(_PLATFORMIO_COMPLETE=source platformio)"
eval "$(_PLATFORMIO_COMPLETE=source pio)"
To enable zsh
completion please run these commands:
autoload bashcompinit && bashcompinit
eval "$(_PLATFORMIO_COMPLETE=source platformio)"
eval "$(_PLATFORMIO_COMPLETE=source pio)"
Note
For permanent command completion you need to place commands above to
~/.bashrc
or ~/.zshrc
file.
PlatformIO Core is written in Python that is installed by default on the all popular OS except Windows.
Windows Users, please Download the latest Python 2.7.x
and install it. DON’T FORGET to select Add python.exe to Path
feature
on the “Customize” stage, otherwise python
command will not be available.
Please refer to PlatformIO IDE Frequently Asked Questions.
PlatformIO Build System has rich API that allows to attach different pre-/post actions (hooks). See features of extra_script option for Project Configuration File platformio.ini.
Answered in issue #295.
Answered in issue #252.
Where is platformio
binary installed? Run this command in Terminal
# for Unix
which platformio
echo $PATH
Windows OS
where platformio
echo %PATH%
For example, which platformio
is equal to /usr/local/bin/platformio
,
then PATH (wiki)
should contain /usr/local/bin
directory.
Unix Users: You can make “symlinks” from platformio
program to the
bin
directory which is included in $PATH
. For example,
see issue #272.
Answered in issue #143.
Please upgrade SetupTools package:
[sudo] pip uninstall setuptools
[sudo] pip install setuptools
# Then re-install PlatformIO
[sudo] pip uninstall platformio
[sudo] pip install platformio
Answered in issue #144.
Answered in issue #384.