Source: http://docs.platformio.org/en/latest/ide/atom.html#installation
This tutorial describes how to download and install PlatformIO as an Atom plugin.
xcode-select --install
PLEASE DO NOT INSTALL CLANG 4.0. PLATFORMIO TEMPORARY SUPPORTS ONLY CLANG 3.9.
If you see Failed to find MSBuild toolsets directory error in the installation console, please ignore it and press any key to close this window. PlatformIO IDE uses only Clang completion engine that should work after it without any problems.
lib_deps = ITTIoT
to the end of the framework line. “lib_deps” informs the PlatformIO about which libraries to download for your project. ITTIoT library is a must-have with all IoT Homelab kit programs. The exact libraries needed for each module are described on their example page. Make sure that the board is correct
board = d1_mini
(If you are having uploading problems with Linux, try sudo chown username /dev/ttyUSB0)