Arduino 2.0 Known Issues with megaTinyCore #760
Replies: 7 comments 12 replies
-
Thanks. What's the big deal with 2.0.0? What does it do that makes it so exciting? It is pathetic that we have to solve problems like this ourselves. And this is a "Release Candidate" version? When they haven't even fixed the bug any product manager I worked with professionally would consider a blocking issue introduced way back in 1.8.14. |
Beta Was this translation helpful? Give feedback.
-
I think the bug @SpenceKonde was complaining about having broken in V1.8.14 was just fixed in 2.0: arduino/arduino-cli#1823 Since I doubt it will be fixed in any hurry in V1.8.19+ is it worth changing the version number to the format that V1.8.14+ will accept? The workaround is a 1-line change in platform.txt at which point that bug no longer matters: -version={versionnum.major}.{versionnum.minor}.{versionnum.patch}{versionnum.postfix}
+version=2.6.0 Are there other specific problems with 2.0 or V1.8.19 you are aware of @SpenceKonde? Happy to try to push resolution. |
Beta Was this translation helpful? Give feedback.
-
Ok 2.0 is no longer a beta, it's an official release. It also lacks any known issues. What else needs to happen before we consider it supported. |
Beta Was this translation helpful? Give feedback.
-
Huh, personally I:
* Upgrade only when forced to. Windows 10 is a downgrade in critical ways
vs Win XP. When my computer rebooted once a month in the win XP days, I
would start swapping out hardware and running diagnostics to find the
broken component (usually ram). On Windows 10, that's intended behavior. I
have lost considerable amounts of work to that. Wtihout Sublime Text
hotsave, I would not be able to maintain even one core.
* Have hated every IDE I used except Arduino. Arduino just works, you don't
have to fuck around for days to configure it and make it do what you want
it to do. .
…On Sat, Aug 6, 2022 at 4:13 PM ObviousInRetrospect ***@***.***> wrote:
I totally despise the 1.x IDE as a code editor. It's bloated awful java
that is slow as molasses. Its code navigation, refactoring, autocomplete,
and other such things an IDE should do are terrible to the extent they
exist at all. Open a half a dozen sketches even on a powerful machine and
watch it crawl ... while doing less for you than vim. If I wanted a dumb
editor + build I would use the CLI + vim. If I am going to run a bloated
IDE it might as well do the things an IDE is supposed to do.
I'm also generally averse to letting myself get stuck on obsolete software
(which tends to happen in the embedded space). The further behind you fall
the harder it is to catch up. I usually assume there are security bugs
getting fixed in head of tree and never backported. For example, the
version you recommend has an old vulnerable version of Log4J that allows
trivial code execution. I'd rather not think deeply about under what
conditions it might be exploitable. It takes some work but I now have an
example of getting a fairly horrible 2.0 bug fixed in a couple days by
pointing out the issue in GitHub didn't really demonstrate the severity. I
agree with your assessment that the RC feels more like a beta but such is
life.
Your cores are popular enough that I am pretty sure if we identify the
bugs that stop us from recommending head of tree and make the breakage
clear enough on the Arduino issue tracker they will get fixed.
—
Reply to this email directly, view it on GitHub
<#760 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW7SOU6SJF4N2D2SLI3VX3BN7ANCNFSM55YVEFFA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
____________
Spence Konde
Azzy’S Electronics
New products! Check them out at tindie.com/stores/DrAzzy
GitHub: github.com/SpenceKonde
ATTinyCore <https://github.com/SpenceKonde/ATTinyCore>: Arduino support for
all pre-2016 tinyAVR with >2k flash!
megaTinyCore <https://github.com/SpenceKonde/megaTinyCore>: Arduino support
for all post-2016 tinyAVR parts!
DxCore <https://github.com/SpenceKonde/DxCore>: Arduino support for the AVR
Dx-series parts, the latest and greatest from Microchip!
Contact: ***@***.***
|
Beta Was this translation helpful? Give feedback.
-
This I agree with. The tools menu settings need to be saved on a per board
basis not globally.
…On Sat, Aug 6, 2022 at 4:15 PM ObviousInRetrospect ***@***.***> wrote:
The other thing that 1.x is truly terrible at is concurrent work on
sketches that target different architectures. I often have more than one
MCU on a board. Often esp + avr. 1.x does not do that well. 2.0 is at least
tolerable there.
—
Reply to this email directly, view it on GitHub
<#760 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW45MZBAMJNAB6QUNYLVX3BW7ANCNFSM55YVEFFA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
____________
Spence Konde
Azzy’S Electronics
New products! Check them out at tindie.com/stores/DrAzzy
GitHub: github.com/SpenceKonde
ATTinyCore <https://github.com/SpenceKonde/ATTinyCore>: Arduino support for
all pre-2016 tinyAVR with >2k flash!
megaTinyCore <https://github.com/SpenceKonde/megaTinyCore>: Arduino support
for all post-2016 tinyAVR parts!
DxCore <https://github.com/SpenceKonde/DxCore>: Arduino support for the AVR
Dx-series parts, the latest and greatest from Microchip!
Contact: ***@***.***
|
Beta Was this translation helpful? Give feedback.
-
One very annoying bug is that when I open the 2.1.0 IDE, it does NOT open the last sketch I worked on, nor for the last board. Rather it seems stuck on some much earlier thing I was working on. /home/ken/.arduino15/packages/DxCore/hardware/megaavr/1.4.10/cores/dxcore/UART.cpp: In member function 'virtual void UartClass::begin(long unsigned int, uint16_t)': |
Beta Was this translation helpful? Give feedback.
-
When I was using arduino 2.2.1, I copied the URL code into the preferences and started downloading, but I got an error and the message was displayed: Some indexes could not be updated. Get "https://github.com/SpenceKonde/megaTinyCore": read tcp 192.168.31.44:3540->20.205.243.166:443: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.: https://github.com/SpenceKonde/megaTinyCore |
Beta Was this translation helpful? Give feedback.
-
So while the official stance is that Arduino 2.0 is unsupported, if you are using it let's collect known issues related to megaTinyCore here. When you run into issues or what seem like strange bugs immediately load the sketch in 1.8.13 (or 1.8.19 if you use boards manager and don't manually install the cores) and try to reproduce. You'll save yourself a lot of grief. Also definitely do that before reporting.
Currently as of 2.0.0 release:
If you install both manually and via boards manager the boards-manager installed libraries (and possibly other stuff) takes precedence even while the IDE claims it is using the version in sketchbook.
arduino/arduino-cli#1880
The work-around for this is to rename the one in the sketchbook to add a suffix such as -dev or -git (so megaTinyCore-dev). You then need to uninstall and re-install megaTinyCore via boards manager after which both versions will show up in the boards menu.
Beta Was this translation helpful? Give feedback.
All reactions