Skip to content

Add drivers originally bundled with Java IDE directly in the core #442

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

Merged
merged 4 commits into from
Dec 27, 2021

Conversation

umbynos
Copy link
Contributor

@umbynos umbynos commented Dec 17, 2021

Originally the drivers for windows were bundled in the Java IDE, historically the avr core was the one bundled with the IDE, which was responsible for installing them. With the new IDE 2.0 the avr core is downloaded and installed during the first execution.
It makes much more sense to leverage the post-install.bat script to do this task, freeing the IDE from this responsibility.
During the process of porting the drivers I removed CP210x drivers since we do not have anymore boards that require them, and also the Old_Arduino_Drivers.zip since they were unused.
I also reorganized a bit the folders: now all the gemma drivers and libusb (required by the gemma) are under gemma/ folder.

To test my changes I created a fake index located here
and installed it using the java IDE on a PC with win 10.
I added the allow_insecure_packages=true option in the preferences.txt to allow the post-install.bat script to be run and since the fake index does not have signature. The result form my testing are:

immagine
immagine
Before:
immagine

After:
immagine

@umbynos
Copy link
Contributor Author

umbynos commented Dec 23, 2021

immagine
It works with the mini uno too

@umbynos umbynos merged commit 330e026 into arduino:master Dec 27, 2021
@umbynos umbynos deleted the umbynos/add_drivers_install branch December 27, 2021 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants