Add drivers originally bundled with Java IDE directly in the core #442
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 thepreferences.txt
to allow thepost-install.bat
script to be run and since the fake index does not have signature. The result form my testing are:Before:
After:
