-
Notifications
You must be signed in to change notification settings - Fork 132
only default and platform.txt defined upload works. Programmers.txt no longer supported. #1362
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
I assume this is not true. |
And yes, I am actually using Arduino as ISP. It does upload and it does reset nicely. Selecting "default" wont fail getting correct avrdude options but also cannot program ATtiny84 connected to Arduino Uno board out of the box. |
There are no tests for upload apart from default. So if you really use Arduino as ISP it is likely there is a issue |
Seems like this is simply issue with replacing variables, I've changed arduinoasisp.program.extra_params=-P{serial.port} -b{program.speed} to arduinoasisp.program.extra_params=-P${serial.port} -b${program.speed} in programmers.txt, Arduino IDE probably just handles variables bit different way. Also verified that using programmers.txt shipped with Sloeber has same issue. I'm just assuming that Sloeber is eventually supposed to support configurations that do work with Arduino IDE and this one works in Arduino IDE but not with Sloeber. My assumption is simply based on this note found from website:
|
That is a nice way to put it ;-) Seems like the programmers.txt is not processed properly in Sloeber |
I looked into this issue a bit deeper and I found that #1167 overlooked the programmers.txt |
I have very little test possibilities for this problem. But I fixed the core issue that is that there is no programmers.sloeber.txt generated that converts {xx} to ${xx} and deals with OS specific commands. |
Describe the bug
Serial port is set to COM4 in project configuration. I assume baud rate should come right from boards configuration (did not look there). Arduino has following with same board:
-pattiny84 -cstk500v1 -PCOM4 -b19200
.Exact same configuration and board does work with Arduino IDE.
To Reproduce
Steps to reproduce the behavior:
http://drazzy.com/package_drazzy.com_index.json
to boards manager.Sloeber product V4.4.0_win64.2021-07-04_06-48-31 on Windows 10 Pro.
Expected behavior
avrdude gets correct options and uploads program to chip.
The text was updated successfully, but these errors were encountered: