-
Notifications
You must be signed in to change notification settings - Fork 132
Allow Burn bootloader with selected programmer #1410
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
Comments
Seems I missed this issue. Sorry for the delay. There are still 2 good reasons to keep arduino IDE around
|
After waiting for 25 days I close the issue. |
Sorry I did not find the time to respond more early. In my setup I have a different tool selected for programming (not the default), additionally I always only use Upload with Programmer, not the normal upload. The current behavior does not honor the selected programmer when using "Burn the Bootloader", but always refers to the board's default bootloader tool. (as far as I understand). I did some more deep dives in the internals of sloeber and found a workaround that explains my request quite well. When I create a makefile.defs file in my project root with the following definition: I'm still not sure if the actual behavior is really wanted, as you always need a programmer to burn the bootloader. As far as I understand the normal upload process requires a bootloader to be installed already. Hope this clarifies my request. |
Can you provide the json url you used to install this platform? It looks to me that the problem is as follows: arduino-eclipse-plugin/io.sloeber.core/src/io/sloeber/core/api/BoardDescription.java Line 807 in 15767ce
arduino-eclipse-plugin/io.sloeber.core/src/io/sloeber/core/api/BoardDescription.java Line 823 in 15767ce
arduino-eclipse-plugin/io.sloeber.core/src/io/sloeber/core/api/BoardDescription.java Line 828 in 15767ce
This means that boards.txt environment variables will overwrite the platform.txt variables
From the point of view of programming and bootloading; processing programmers.txt last seems a good idea. Though I do not really see risk in processing programmers.txt after boards.txt it does mean: "lots of testing" FYI If you can build sloeber you can change the order and test your scenario. |
I used the following json to install megaTinyCore in version 2.5.4: http://drazzy.com/package_drazzy.com_index.json Yes I understand your point and it explains the observed behavior. If I will find some time I will try to change the order and do a test. As I said I have a working workaround and it's not urgent for me, still it differs from the way how Arduino handles the files and might confuse others as well, when the feature is released.
Anyway I'm totally happy that I can use Sloeber, so thanks a lot for this great tool! |
That setting has to do with the selection of the version of the build toolchain. The version is selected based on the json file (if unchecked) or the more fussy like arduino (old?) way if unchecked. |
This one should be fixed now. |
I noticed that Burn Bootloader works possibly with the same upload mechanism as Upload, but not with the new "selected programmer" feature.
I'm not sure if this makes sense at all, but it would be great if either Burn Bootloader uses the selected programmer or if an additional action "Burn Bootloader with selected programmer" could be added.
Btw. this is awesome! Burn bootloader was the last reason for me to keep an original Adruino IDE installed.
The text was updated successfully, but these errors were encountered: