Closed bb5317 closed 2 years ago
I've tried to not "litter" the IDE Tools menu settings with settings most users don't use. If you use PlatformIO you can enable or disable JTAG as you like. PlatformIO is highly recommended for more "serious" projects.
I do understand your concern regarding disabling the "only" interface present, but it seems like this isn't a very usual approach, and the Arduino core is designed to embrace "most" users, not all
I understand. I wasn't looking to learn a new IDE as the Arduino core is good enough for a quick piece of code. I was looking for a way to not have to modify the boards file every time there is an update to your core. I've attached modified boards files for MightyCore 213 and MegaCore 213. boards - JTAG MegaCore213.txt boards - JTAG MightyCore213.txt
Your best option would probably be to fork MegaCore and MightyCore, apply your modification, and install them "manually", by cloning/downloading them into your Arduino/hardware folder.
Both MightyCore and MegaCore are more or less in "maintenance mode", so you will probably not miss anything major if you sync your forks once a year.
Please consider adding a JTAG enable/disable option to the boards file so the proper fuse setting is programmed. Some designs do not use Serial and JTAG is the only way to program the device. The default fuse setting disables JTAG which effectively bricks a MCU that is already soldered to the PCB.