Platformio

Development environment specific, Arduino, Eclipse, VS2013,Em::Blocks etc
User avatar
Slammer
Posts: 241
Joined: Tue Mar 01, 2016 10:35 pm
Location: Athens, Greece

Re: Platformio

Post by Slammer » Wed Mar 30, 2016 10:39 pm

PlatformIO seems to be very powerful.....
Actually is an Editor with building capabilities (like Arduino IDE) but the editor and project management is vastly improved. There are many plugins to add functionality in the environment (Auto styling, code completion, etc)
The basic idea is that you can have different platforms and different frameworks for each platform.
I tested with avr-arduino, esp8266-arduino and stm32-opencm3... working very well.
The only piece that is missing is the stm32-arduino framework. I will try to find an easy way to do this... it seems not very difficult....

stevech
Posts: 442
Joined: Thu Aug 27, 2015 6:32 am

Re: Platformio

Post by stevech » Thu Mar 31, 2016 3:29 am

Apologies if you know this...
If you can use MS Windows, Visual Micro supports Arduino concepts and GCC to target ARM processors. It is free with an optional low cost software-only debugger. It's a plug-in for Visual Studio which is free now a days. That gets you best of breed code editing and project controls.

Visual Micro specifically works with Arduino's oddball build process and boards files. The Teensy 3 (ARM M4 but not ST) is one with quite a few users.

There's also Visual GDB, $100, which is also Ardino-esque for ARM targets, and has a real SWD hardware debugger. It too is a Visual Studio plug-in.

Alas, no Mac or Linux version.

User avatar
Slammer
Posts: 241
Joined: Tue Mar 01, 2016 10:35 pm
Location: Athens, Greece

Re: Platformio

Post by Slammer » Thu Mar 31, 2016 9:58 am

Actually, I am using only Linux.
The IDE of my choice for native development is Code::Blocks. It is fast, small, has very good editor (with code completion, refactoring etc), runs on Win/Linux/Mac, supports external tools (avrdude, stlink, etc) and supports multiple toolchains and multiple targets on the same project. No big magic, good editor and user definable compiler options for each target.
I am using it for many years and I am happy with it.
I have build many avr templates (with and without arduino core) and recently I have build a stm32duino template (if someone need it I will post it).
PlatformIO is an interesting platform, it tries to unify many things and many things are happening under the hood. It is not mature yet but it is promising.

ivankravets
Posts: 4
Joined: Mon Nov 16, 2015 3:52 pm

Re: Platformio

Post by ivankravets » Thu Apr 07, 2016 3:50 pm

Slammer wrote:Actually, I am using only Linux.
The IDE of my choice for native development is Code::Blocks.
Do you use it with PlatformIO? We added project generator for CodeBlocks but it has not been released yet. See http://docs.platformio.org/en/latest/id ... locks.html
Regards, Ivan Kravets
- Ph.D, Researcher and Software Architect
- "Creativity comes from talent and never from knowledge" (c)
______________________
http://www.ikravets.com

User avatar
Slammer
Posts: 241
Joined: Tue Mar 01, 2016 10:35 pm
Location: Athens, Greece

Re: Platformio

Post by Slammer » Thu Apr 07, 2016 10:23 pm

Thank you Ivan, I will try it

stevech
Posts: 442
Joined: Thu Aug 27, 2015 6:32 am

Re: Platformio

Post by stevech » Fri Apr 08, 2016 4:33 am

ivankravets wrote:
Slammer wrote:Actually, I am using only Linux.
The IDE of my choice for native development is Code::Blocks.
Do you use it with PlatformIO? We added project generator for CodeBlocks but it has not been released yet. See http://docs.platformio.org/en/latest/id ... locks.html
I tried/liked Code::Blocks a couple of years ago. It was good not great, and free. I thought it had gone to hibernation but I see this on their web site:

Code::Blocks 16.01 is here! PDF Print E-mail
Written by MortenMacFly
Thursday, 28 January 2016 10:21

krbonne
Posts: 11
Joined: Mon Dec 28, 2015 9:03 pm

Re: Platformio

Post by krbonne » Sun Apr 10, 2016 10:01 pm

Hi,

Is there any news on this "platformio" question.

(I've also come across this IDE a couple of weeks ago and I do like it)


Cheerio! Kr. Bonne.

ubis
Posts: 8
Joined: Tue Jun 07, 2016 12:16 pm

Re: Platformio

Post by ubis » Tue Jun 07, 2016 12:24 pm

I ported STM32F103Rx series just now, only serial flash available, yet.
Anyone interested in this? Since I have only STM32F103RB, I can't test all of them.
But, I could port more STM's, if there would be some testers ;)
Also, I could ask PlatformIO dev's to add this, so it would be supported officialy.

User avatar
Kenjutsu
Posts: 127
Joined: Fri May 29, 2015 8:26 am

Re: Platformio

Post by Kenjutsu » Sun Jun 19, 2016 2:06 pm

ubis wrote:Anyone interested in this?
I'm interested :)
OSX: 10.12.5
Arduino IDE: 1.6.12
Blue pill STM32F103C8T6 Dev Board
Maple Mini Clones

ubis
Posts: 8
Joined: Tue Jun 07, 2016 12:16 pm

Re: Platformio

Post by ubis » Tue Jun 21, 2016 10:27 am

I made repo for this: https://github.com/ubis/STM32duino-PlatformIO.
Using PlatformIO 3.0, more info here: https://github.com/platformio/platformio/issues/423.
So, soon i will add more boards.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest