ArduinoOTA
ArduinoOTA copied to clipboard
Arduino IDE 2.0 Error with fake progrmmer method
Property 'program.tool.' is undefined
tools.arduinoOTA.cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA tools.arduinoOTA.program.params.verbose= tools.arduinoOTA.program.params.quiet= tools.arduinoOTA.program.pattern="{cmd}" -address {ip} -port 65280 -username arduino -password password -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b
arduinoOTA104.name=Arduino OTA arduinoOTA104.program.tool = arduinoOTA arduinoOTA104.ip=192.168.1.236
try the GitHub version. there is a fix but I didn't create a release yet
tried, still the same error
did you copy the new platform.local.txt?
you did not update samd for 3 years.
sorry but how should I know you use SAMD? AVR is updated. but not the fake programmer I see now. I think programmers didn't work in IDE 2 when I added support for it in avc/platform.local.txt
it is a bug in IDE 2. upload with fake programmer works as it is for custom boards definitions in hardware folder (my_boards), but it ends with error "Property 'program.tool.serial' is undefined" for boards from installed packages. program.tool.serial
is not used by fake programmer.
so the solution is to add
arduinoOTA104.program.default=arduinoOTA
to definition in programmers.txt for IDE 2 and CLI