Skip to content

arduino IDE >= 1.5 now has different '3rd party vendor' board manager #28

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
bombasticbob opened this issue Jan 4, 2017 · 8 comments
Closed

Comments

@bombasticbob
Copy link
Contributor

see https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification

need to support this in the future with single-file download to install this project's files, etc.

@bombasticbob
Copy link
Contributor Author

@bombasticbob
Copy link
Contributor Author

bombasticbob commented Jan 16, 2017

@bombasticbob
Copy link
Contributor Author

@bombasticbob
Copy link
Contributor Author

tested on 1.6.12 (FreeBSD) and 1.8.1 (linux 32-bit), seems to work now. THIS is the URL for the JSON file. In the case of FreeBSD, the hardware manager was unusable, and so the solution is to download the snapshot tarball and extract it into ~/sketchbook/hardware. For the 32-bit linux test using 1.8.1, the files were placed within a tree contained in ~/.arduino15/packages . The tree it extracted into has a DIFFERENT structure than the files being placed into ~/sketchbook/hardware, which includes the version number in addition to the platform (i.e. something/avr/version rather than something/avr).

As such, there are TWO tarballs created now for each version, one of which is a 'snapshot' that's the correct structure and compressed using xz compression, with the extension '.txz' and the word 'snapshot' in its name. Example, here:

https://github.com/XMegaForArduino/IDE/raw/master/XMegaForArduino-0.9.1.snapshot.txz

the JSON file is located here:

https://github.com/XMegaForArduino/IDE/raw/master/package_XMegaForArduino_index.json

It has to comply with naming conventions, and currently has only one version in it (0.9.1).

@bombasticbob
Copy link
Contributor Author

@bombasticbob
Copy link
Contributor Author

need to test all platforms - discovered minor spelling error in wiring_analog.c [fixed locally, not yet uploaded]. will be corrected on next 'git push'. only showed up when I built with 1.8.1 though for an xmega128a1u for some reason...

@bombasticbob
Copy link
Contributor Author

bombasticbob commented Feb 2, 2017

some fixes related to differences between 1.0.x and 1.8.x were done for USB. Otherwise appears to be working fine for Linux using 1.8.x . FreeBSD has a port for 1.6.x which required use of sketchbook/hardware [its hardware manager is either broken or not implemented in the port].

still need to test on windows.

@bombasticbob
Copy link
Contributor Author

tested on windows using 1.8.1 - works fine, even 32e5

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

1 participant