Closed a7hybnj2 closed 1 year ago
No confirmation that this behavior was intended. They seem to jhave just broken a pretty basic part of the IDE .
Sounds like the message is "2.x.x versions of the IDE are still a no-go zone"
Hey, thanks for the data. I just tried multiple versions of the Arduino-cli to determine where it broke.
Looks like <=0.31.0 is okay but anything newer is all broken. I don't know exactly what is going on or why but I guess I will just use version 0.31.0 until I know they have it figured out.
Thanks for taking a look. I don't know if you want to in the installation notes put a disclaimer about not using arduino-cli > 0.31.0 but I will let you close this issue when you read this as I guess that is all that can be done.
Thanks to IRC#arduino:
well, it kind of looks like prior to 32 the recipe.hooks.savehex.presavehex. are not run at all.
https://github.com/arduino/arduino-cli/compare/0.31.0..0.32.0#diff-3f49374ea3ccca90f66635310e4bfb40a4aa48a800fdcba1ec704f51d25cd1e1L253-L289
Which would explain why the with_bootloader.hex file isn't being deleted and the {sketch_path} isn't getting evaluated.
Closing this as not actionable at this time, the issues list is my action item list
This bug is now tracked by the Arduino CLI developers at https://github.com/arduino/arduino-cli/issues/2340. There is no need to comment there. I'm only adding this comment to notify affected users that there is a formal bug report about it in the appropriate issue tracker.
I am specifying an --output-dir and it is trying to find a location that doesn't exist:
https://github.com/SpenceKonde/megaTinyCore/blob/9202a743943c4613ed08d63e9bcc47cbbbdf420a/megaavr/platform.txt#LL137C1-L145C135
I have scrubbed through the arduino-cli backend and don't see anything pointing to
{sketch_path}
maybe it is supposed to be{build.source.path}
Looks like it was mentioned once or twice Like Here but I don't see it...
Also, this persons problem And, my other problem. Which includes this problem