Skip to content

plugin v3: How to install custom cores? #545

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

Closed
edogaldo opened this issue Oct 7, 2016 · 6 comments
Closed

plugin v3: How to install custom cores? #545

edogaldo opened this issue Oct 7, 2016 · 6 comments

Comments

@edogaldo
Copy link

edogaldo commented Oct 7, 2016

I'd like to add the stm32duino core (https://github.com/rogerclarkmelbourne/Arduino_STM32) for STM32 MCUs. This core at the moment has not a json file.
I tried to put the core in the "private hardware path", this way the plugin can somewhat see it but variable {runtime.tools.arm-none-eabi-gcc.path} in platform.txt seems not set leading to errors:

  • "Program "\bin\arm-none-eabi-g++" not found in PATH"
  • "Program "\bin\arm-none-eabi-gcc" not found in PATH"

Notes:

  • in standard Arduino installations the stm32duino core uses the toolchain of the Arduino Due core (just need to install the Arduino Due core to be able to successfully compile with stm32duino)
  • I installed the Arduino Due core which drove the installation of the arm-none-eabi-gcc toolchain
  • in the Arduino Due core variable {runtime.tools.arm-none-eabi-gcc.path} is correctly set
  • I can successfull compile using the Arduino Due core

Where/when/how variable {runtime.tools.arm-none-eabi-gcc.path} is set?

@jantje
Copy link
Member

jantje commented Oct 7, 2016

I think this is a duplicate. Can you upgrade to the nghtly?
Use the update process. Do not use the download nightly product as that will install V4 which is still pretty unstable.

@jantje
Copy link
Member

jantje commented Oct 7, 2016

#516

@edogaldo
Copy link
Author

edogaldo commented Oct 7, 2016

Thanks @jantje, yes, the problem seems similar.
How to upgrade to the nightly?

@edogaldo
Copy link
Author

edogaldo commented Oct 7, 2016

Plugin version currently installed is 3.1.0.201608012005
If I do

Help > Installation Details > select "Arduino Eclipse Extensions" > click Update

I get message "No updates were found in available software sites"

This version seems NOT fix the problem.

@edogaldo
Copy link
Author

edogaldo commented Oct 7, 2016

Ok, found the way to install the latest nightly build: 3.1.0.201609060208

I can confirm this fixes the problem!

Thank you very much and best regards, E.

@edogaldo edogaldo closed this as completed Oct 7, 2016
@jantje
Copy link
Member

jantje commented Oct 7, 2016

Help > Installation Details > select "Arduino Eclipse Extensions" > click Update
I get message "No updates were found in available software sites"

That is because you do not have http://eclipse.baeyens.it/nightly active in your update sites.

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