Comments (5)
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:
- If
board
is specified, then go to step 2 - Check if
framework
is defined, if yes go to 3 - Check if
framework
hasboards.txt
file, if yes, go to 4 - Parse
board.txt
and lookup for board's options byboard
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.
From the user perspective, it adds friction. What about:
- if (1), then go to (1.5)
1.5. if not framework, infer framework, go to (2)
you get the idea ;)
from platformio-core.
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.
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.
@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)
- Feature request to support python extra_scripts with dependency manager HOT 3
- Automatically add all generic boards for STM32 (bare chip variants, which are a lot) HOT 1
- Publish IDE to https://open-vsx.org HOT 1
- Problems with βproject-dir option to pio init HOT 5
- Library Dependency Finder (LDF) adds too many files when testing (pio test) HOT 2
- Add support for LuatOS ESP32C3-CORE Development Board
- Feature request for support for Milk-V Boards
- Feature Request: Support RealTek Ameba AMB82-Mini board (RTL8735BDM) HOT 1
- In the results of the test, different file names are displayed. HOT 3
- NameError: name 'includes' is not defined while updating metadata for VSCode IDE HOT 10
- LDF that picks wrong library version. HOT 2
- Can't build firmware on command line if I specify other targets HOT 2
- Add Sparkfun Thing Plus Matter - MGM240P support HOT 4
- Feature request for support resuming downloads
- Addition of new boards of Texas Instruments especially TMDXRM57LHDK , RM57L843 and C6000 family HOT 3
- Cppcheck does not work on Windows... HOT 1
- PlatformIO wont read the ROBON NANO V3.1 board ( It wont read or acknowledge the board. its like there is no support for the M4 . HOT 1
- Update Unity framework to v2.6.0
- Platform.io detecting wrong platform on Windows HOT 3
- Creating projects taking very long or not creating at all HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platformio-core.