Giter Site home page Giter Site logo

Comments (5)

ivankravets avatar ivankravets commented on May 22, 2024

PlatformIO was developed like a cross-platform code builder. The board option was implemented later. There is no reverse compatibility from BOARD->FRAMEWORK->PLATFORM. Because the different platforms/frameworks can have the same "board" name (theoretically).

In general, this works like:

  1. If board is specified, then go to step 2
  2. Check if framework is defined, if yes go to 3
  3. Check if framework has boards.txt file, if yes, go to 4
  4. Parse board.txt and lookup for board's options by board value.

I think there is no big problem to define 2 lines with platform and framework πŸ˜„

Thanks a lot for your issues and ideas! πŸ‘

from platformio-core.

pelikhan avatar pelikhan commented on May 22, 2024

From the user perspective, it adds friction. What about:

  1. if (1), then go to (1.5)

1.5. if not framework, infer framework, go to (2)

you get the idea ;)

from platformio-core.

ivankravets avatar ivankravets commented on May 22, 2024

I've just re-written some of PlatformIO parts from the scratch (future 0.9.0 release). I hope I will find time to implement your proposition. Thanks πŸ‘

from platformio-core.

ivankravets avatar ivankravets commented on May 22, 2024

Updated Quickstart.

See new options for platformio init command.

If you use PlatformIO for "Cloud Compiling", then you can initialise project for the specified boards with disabled "auto-uploading" feature:

$ platformio init --board uno --board=Engduino3 --disable-auto-uploading

P.S: Thanks a lot for your ideas! Now, the updated Quickstart looks REALLY SIMPLE and EASY :)

from platformio-core.

ivankravets avatar ivankravets commented on May 22, 2024

@pelikhan If it isn't hard for you, can you try and verify all your reported issues which are fixed in 0.10.0 Milestone? I want to release it tomorrow.

# firstly, uninstall current version of PlatformIO
$ pip uninstall platformio

# then install development version
$ pip install https://github.com/ivankravets/platformio/archive/develop.zip

P.S: Don't forget to downgrade to stable release (0.9.x) after testing. Thanks a lot!

from platformio-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.