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

Add Boards via Zip file #2881

Closed
NicoHood opened this issue Apr 2, 2015 · 11 comments
Closed

Add Boards via Zip file #2881

NicoHood opened this issue Apr 2, 2015 · 11 comments
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Milestone

Comments

@NicoHood
Copy link
Contributor

NicoHood commented Apr 2, 2015

The boards manager also needs a button to add .zip board files as the library menu.

@ffissore ffissore added feature request A request to make an enhancement (not a bug fix) Component: IDE user interface The Arduino IDE's user interface labels Apr 2, 2015
@rogerclarkmelbourne
Copy link

A specification will need to be written and discussed for this.

E.g some boards are AVR and only need their cores files

Some will be ARM and can use the ARM compiler that may already be installed for the Due, e.g. STM32

Some will need both tools (compiler) and cores e.g esp8266 (xtensia - MIPS compiler)

Otherwise either the core compiler perhaps would get overwritten by a incompatible version e.g. For ARM, that had different settings which were not compatible with the Due

(I'm currently trying to fix issues in the xtensia gcc for esp8266, so that libiconv-2.dll is statically linked, because if it is not statically linked, I have to copy libiconv-2.dll to the installation root of the IDE :-(
Hence I can't make a file set that would be installable

So I can foresee issues if someone compiles and packages their own ARM compiler which has settings which are incompatible with due, but installs it before installing the due

I guess these occurrences would be rare, but are probably worth considering at the start of this feature.

@NicoHood
Copy link
Contributor Author

NicoHood commented Apr 2, 2015

I was thinking of just unzipping the zip into sketchbook/hardware/
Using AVR only though.

@rogerclarkmelbourne
Copy link

Unzipping there is fine for AVR as the AVR compiler is installed by default in its original location.

It only effects ARM based boards as the ARM compiler is not longer installed by default, and when the Due is installed, the ARM compiler is in a totally different (and IMHO a wrong location) i.e binary files in AppData which is the folder intended for user preferences.

@ffissore ffissore added the Component: Board/Lib Manager Boards Manager or Library Manager label May 5, 2015
@ffissore
Copy link
Contributor

Since the IDE supports multiple package_index urls (some of them listed here) and since installing hardware into sketchbook "hardware" folder is a well known and documented feature, may we close this issue?

@ffissore ffissore added the Waiting for feedback More information must be provided before we can proceed label May 18, 2015
@NicoHood
Copy link
Contributor Author

You have a button to add libraries via Zip file. Why not add the same function for boards? That would make it much simpler for people to install the cores which are not in the boards manager. People are always confused how to install it, where to move it and if its the first time there is nor hardware folder at all, only libraries. So this would be a nice addition. Shouldnt be too hard to implement I guess. Just the same as the libraries, in the hardware folder instead.

@ffissore
Copy link
Contributor

AFAIK there are no cores available as zip files. Only zip files with some instructions. A core developer should rather go for a structured way (json file, SHA sums and so forth) in order to provide a seamless user experience, rather than hoping to have zipped the file correctly and leaving it up to users.
With Boards Manager and its ability to fetch from github, I can't see a valid reason for a core dev to pack a zip file rather than being listed in boards manager

@ffissore ffissore removed the Waiting for feedback More information must be provided before we can proceed label May 18, 2015
@NicoHood
Copy link
Contributor Author

Then you could also remove the zip feature for the libraries X_x

@ffissore
Copy link
Contributor

I would like to, but it's already there and it's working

@NicoHood
Copy link
Contributor Author

I think you can mark this issue as "wontfix" or even close it.

@ffissore ffissore added the Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature label May 20, 2015
@ffissore ffissore added this to the Release 1.6.5 milestone May 20, 2015
@ghost
Copy link

ghost commented May 30, 2020

I did something should be work to install board ZIP file offline and manually:
https://deve-sp.blogspot.com/2020/05/zip-boards-manager-how-to-install.html

@TToeyIT
Copy link

TToeyIT commented Apr 28, 2021

I did something should be work to install board ZIP file offline and manually:
https://deve-sp.blogspot.com/2020/05/zip-boards-manager-how-to-install.html

Thank you, It's work for me! I've been looking for this solution for a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Projects
None yet
Development

No branches or pull requests

4 participants