Arduino IDE 2.x has a 4 year old issue with caching menu options, resulting in changes to boards.txt and platform.txt not being seen. It might be worth deleting that cache (the link is to the workaround) to see if that fixes things? Seems benign, I’ve had to do it a few times now.
It’s come up a couple of times on this forum, but I can’t find the threads.
FYI
Just updated my M2 mac to macOS 27.0.1 and found that Arduino IDE 2.3.10 wanted Rosetta installed. Thought I had gotten rid of Intel apps by looking at 'Activity Monitor'. Looked around and found Paul resolved the problem ~5/2026 and so I replaced the ctags file at:
/Users/yourName/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ and all is fine now.
I've added code to my build scripts to automatically update -DTEENSYDUINO= in boards.txt for both Arduino 1.8.x installer and the 2.3.x Boards Manager package. Future releases should have these correct.
However, there's nothing automated for the sample makefile. Not planning to automate it.