-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
[Feature] Select platform based on pull request #3239
Comments
You can do this with http://docs.platformio.org/en/latest/projectconf/section_env_platform.html#platform-packages [env:myenv]
platform = espressif8266
platform_packages =
framework-arduinoespressif8266 @ https://github.com/d-a-v/Arduino/tree/weakfsend In this case, I used this PR esp8266/Arduino#6699 |
P.S: You don't need to use |
Oh that's great. |
@ivankravets Mhh, i have this in platformio.ini
I get installed:
I have just the files from framework-arduinoespressif8266 @ 2.20502.0 |
@Jason2866 it should be
|
@ivankravets still doesnt work. i have now
and it installs
|
@Jason2866 Yes, it installs directly from your custom branch. Try to build a project and you will see
See P.S: Please note that your example about is bad. |
Thx! found my error your P.S. was the hint! |
Happy coding ;) |
@Jason2866 Can you give me the relevant part of your ini file where we can build using core 2.6.1? I would really like to start building with |
@TD-er You have to fork https://github.com/platformio/platform-espressif8266/tree/feature/stage The new syntax providing |
@Jason2866 I'm looking into the instructions you provided, but it is quite a lot of work to do any single time I want to test something in the Arduino core libs, like a pull request. Isn't there a more simple way? If I follow the instructions mentioned here: #3239 (comment)
With them defined in my platformio.ini like this:
|
This is not a git URL. This is the Github Web URL. See my comment here #3239 (comment) |
@ivankravets You're right. |
Problem remains with this one (as I reported in another issue yesterday)
Any idea how to overcome this problem? |
Hmm, I keep having issues with this platform_packages configuration.
The rest is the same as in my other env. configurations. I really have no clue how to make this work here. Edit: |
This is definitely a bug, so I filed a bug report: #3288 |
Description of problem
Every now and then I would like to test a new fix or feature in the platform libraries of my project.
For example, for ESP8266, I use this one as a platform:
But this does only fetch the
feature/stage
branch of that repo.What I would like is to be able to select a specific pull request of that (esp8266/Arduino) repo to set as my platform.
In the retrieved packages directory of PIO, the git config is not complete or correct.
I do see the pull requests on origin, but when I want to checkout based on a PR, I get an error like "missing delta bases". So that's why I think it would be a great feature if PlatformIO could handle all this hassle.
Since this is more of a generic Git/Github issue, I hoped it would be a PlatformIO-core issue, but if it does not belong here, please let me know where it is more appropriate.
The text was updated successfully, but these errors were encountered: