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

Select Arduino version to use #14

Closed
Bouni opened this issue Aug 19, 2014 · 3 comments
Closed

Select Arduino version to use #14

Bouni opened this issue Aug 19, 2014 · 3 comments
Assignees

Comments

@Bouni
Copy link

Bouni commented Aug 19, 2014

Is there a way to let platformio use another version of the Arduino framework than the one you install with it?
I've done some extensions to the HardwareSerial part and want to use them in one of my projects.

@ivankravets
Copy link
Member

I can implement a way to say PlatformIO about .platformio tool/+chains directory. It uses ${USER_HOME}/.platformio now.

For example, you can setup

# Unix
export PIOHOME_DIR=%HERE_IS_NEW_DIR%
# or Windows
set PIOHOME_DIR=%HERE_IS_NEW_DIR%

Then

$ platformio install atmelavr

In these cases you will have different locations with tool chains and Arduino frameworks. You will use PIOHOME_DIR environment to say PlatformIO which tools+framework it should use.

What do you think about it?

@Bouni
Copy link
Author

Bouni commented Aug 19, 2014

I would really like to write the path to what arduino directory to use in my platformio.ini.
By default take the .platformio one, if specified otherwise in the platformio.ini, take that one.

Thanks a lot for your efforts!

@ivankravets ivankravets added this to the 1.0.0 milestone Aug 19, 2014
@ivankravets ivankravets self-assigned this Aug 19, 2014
@ivankravets
Copy link
Member

Details are described in documentation.

To install latest development version use these commands:

$ pip uninstall platformio
$ pip install https://github.com/ivankravets/platformio/archive/develop.zip

Then you can control your PlatformIO home directory per project (install special platforms/frameworks/... for project).

Thanks a lot for request and sorry for delay! :)

@ivankravets ivankravets modified the milestone: 1.0.0 Feb 11, 2015
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

2 participants