Atom Packages Directory

a package directory for a text editor of the 21st Century

Platomformio

Install with:
    apm install platomformio
  

platomformio

Integration with PlatformIO an open source ecosystem for IoT development. Cross-platform code builder and library manager. Continuous and IDE integration. Arduino and MBED compatible. Ready for Cloud compiling.

Atmel AVR & SAM, Espressif, Freescale Kinetis, Nordic nRF51, NXP LPC, Silicon Labs EFM32, ST STM32, TI MSP430 & Tiva, Teensy, Arduino, mbed, libOpenCM3, ESP8266, etc.

Setup

  1. Install PlatformIO
  2. Set the Environment PATH package setting with the result of echo $PATH (Unix) / echo %PATH% (Windows).
  3. Create a PlatformIO project using platformio init command:
    • Create empty directory for the new project (Unix mkdir my-project; cd my-project)
    • platformio init --board=TYPE, where TYPE can be found in Embedded Boards Explorer
  4. Place your source files to src directory
  5. Open any file from src directory and then Build/Upload.

Note! If you have an error Program "platformio" not found in PATH, please specify “Environment PATH to run platformio” in settings.

Build

Verify your code can compile with cmd-shift-B:

build

Upload

Plug your board in and cmd-shift-U:

upload

Upload using Programmer

Plug your board in and cmd-shift-P. Please make sure to read Upload using Programmer for Atmel AVR first.

Upload SPIFFS firmware

Plug your board in and cmd-shift-F. Please make sure to read Uploading files to file system SPIFFS for ESP8266 first.

Kill Process

You can kill a process anytime with cmd-shift-k

Settings

Contributors

Acknowledgements

This package has atom-script to thank for it’s good looks

Keywords: platformio, iot, embedded, cross, arduino, mbed, cli, builder, library manager, esp8266 Suggest keywords
Fork me on GitHub