cuwire icon indicating copy to clipboard operation
cuwire copied to clipboard

PlatformIO as source code builder and uploader

Open ivankravets opened this issue 10 years ago • 2 comments

Hi @apla,

I'm an author of http://platformio.org project. The one thing that is missed in PlatformIO is own IDE. However, it can be easy integrated to popular IDEs.

Are you interested to switch to PlatformIO? It works without any dependencies, IDEs, tool chains and etc. under popular host OS (Mac, Windows, Linux 32/64 + ARMv6,7).

As I understand, you need 3 types of operations:

  • Show available boards:
> platformio boards --json-output
  • Initialise project with the specified board:
> platformio init --board=uno
  • Compile project
> platformio run
  • Upload firmware
> platformio run --target upload
  • Clean project
> platformio run --target clean

If you call PlatformIO from subprocess, don't forget to turn off prompts:

> platformio settings set enable_prompts No

PlatformIO will support a lot of new platforms and frameworks in release 1.0.0 which should be released within 1-2weeks. See HISTORY and the opened issues.

P.S.S: If you have any questions, don't hesitate to ask.

Twitter: @PlatformIO_Org

ivankravets avatar Feb 11 '15 22:02 ivankravets

Clone issue to https://github.com/apla/brackets-cuwire/issues/8

ivankravets avatar Feb 11 '15 22:02 ivankravets

Hi, @ivankravets !

I saw your project and it is good idea to add it as a toolchain handler.

For now cuwire is hardcoded to use Arduino toolchain. I wanted to release as soon as possible to understand community reception.

Now cuwire missing 3 important features: library management, platform management and code completion for IDE. In next step project will be refactored to use dataflows for toolchains. Since this milestone I can add support for any platform, including PlatformIO.

apla avatar Feb 12 '15 02:02 apla