Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlatformIO 2.0 #159

Closed
11 tasks done
ivankravets opened this issue Apr 6, 2015 · 9 comments
Closed
11 tasks done

PlatformIO 2.0 #159

ivankravets opened this issue Apr 6, 2015 · 9 comments
Assignees
Milestone

Comments

@ivankravets
Copy link
Member

Overview

Friends, thanks a lot for using PlatformIO. Our audience and community (@PlatformIO_Org) grow up extremely fast! Thank you! 👍 😊

I haven't expected that PlatformIO will be transformed from "source code builder" to powerful eco system with a lot of independent instruments which allow to simplify life of each embedded developer.

Here is my explanation "PlatformIO in a nutshell" in Atmel's article: Cross-board and cross-vendor embedded development with PlatformIO.

What do we have today?

Aims

The key feature of PlatformIO 2.0 should be simplified new Command Line Interface. Currently, we have mixed set of commands which confuses PlatformIO beginner. I mean, "list/show/search/install" commands which are located on the same level like, "boards,lib,serialports,etc.".

What is more, this is annoying issue with PlatformIO blocks command execution using user prompt. This issue #152 should fix it (global -f, --force option before each PlatformIO "command").

Lastly, we should abstract away from "PlatformIO is just command line tool". We decided to spent more time for integration into different services, IDE, etc.

Roadmap

Installation

Please follow to http://docs.platformio.org/en/latest/installation.html#development-version

@ivankravets ivankravets self-assigned this Apr 6, 2015
@ivankravets ivankravets added this to the 2.0.0 milestone Apr 6, 2015
@ivankravets
Copy link
Member Author

Friends @nobugs-hare, @valeros, @gandy92, @pelikhan, @aphelps, @0xc0170, @robertinant, @PaulStoffregen, @aethaniel, @xxxajk, @Lauszus, @franciscoruiz, @ncolomer, @elyulka

Which key features should be implemented in PlatformIO 2.0?

@aphelps
Copy link

aphelps commented Apr 7, 2015

The first thing that comes to mind is adding an upload port picker tool, so that rather than needing to specifying the port on the command line it would just present a list from a port scan and allow the user to quickly select one for the upload.

@gandy92
Copy link

gandy92 commented Apr 8, 2015

Thinking of platformio usage in companies, control of the update process could be an issue. Right now, updates of the toolchains, frameworks, etc are done automatically which is fine to keep up-to-date, especially with the current pace of platformio development.
In some environments, however, it might be necessary to read update notes, changelogs, maybe evaluate the new version in a sandbox before it is cleared for active use. In this case we would require

Maybe more?

@ivankravets
Copy link
Member Author

@aphelps

The first thing that comes to mind is adding an upload port picker tool, so that rather than needing to specifying the port on the command line

Hm... but this feature is implemented. Have you tried to upload without --upload-port option? See this part of code: https://github.com/platformio/platformio/blob/develop/platformio/builder/tools/pioupload.py#L55:L79

@ivankravets
Copy link
Member Author

@gandy92

a way to deactivate automatic updates

See auto_update_platforms in http://docs.platformio.org/en/latest/userguide/cmd_settings.html

a way of informing about changes between the currently installed version and the available update (including libraries)

Yes, sounds good, but I'm not sure that I will implement it in SmartAnthill 2.0. Could I ask you to open separate issues: 1-st for the "changes" of platform packages and 2-nd for the changes between libs (like CVS commits history)

a way of updating selected libraries only

Thanks, I will implement this feature in SmartAnthill 2.0 - please open an issue.

@aphelps
Copy link

aphelps commented Apr 9, 2015

@ivankravets Apparently you are already ahead of me, I hadn't seen that addition since I'd last tried it.

@ajford
Copy link

ajford commented Apr 9, 2015

The ability to specify the env name given when running platformio init -b foo would be nice.

I have some overlapping boards (that confuse the auto-uploader, i.e. diecimilaatmega328 and sparkfun_redboard). Thus using -e is required to prevent the attempt to upload using the wrong env. But autogen_BOARDNAME is long and sometimes confusing to remember (diecimila is not easy to spell right the first time). I manually edited my platformio.ini to change my env names to easier names (i.e. freeduino, redboard, and pro16), but it would be useful if there was a way to do this when initing a project (or adding new boards, ala #167).

@ivankravets
Copy link
Member Author

@ajford Thanks, I've just opened an issue #182

@ivankravets
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants