Open MCUdude opened 8 years ago
Ah, our old friend: "platform.txt associated with the selected programmer is used for "Upload Using Programmer". There is always the solution of adding ButterflyCore specific copies of all the programmers as you have done in MightyCore. The problem with this is it clutters up the Tools > Programmer menu, especially when you have multiple cores installed that each have their own copies of the programmers. I proposed a solution to this issue at https://github.com/MCUdude/MicroCore/issues/3#issuecomment-249379486:
a single programmers package that supports all the cores
You had rejected that idea and I do agree it has issues but maybe worth considering again as you and other developers encounter this issue with more and more cores.
sigh, It's that problem again.. I'll finish the core and the documentation, and then I'll reconsider it. I see now that this is becomming an even bigger problem..
I've been spending a lot of time polishing on the Butterfly specific libraries such as LCD and temperature.
The ATmega169 (and the rest of its family) has actually two different device signatures. the ATmega169P/PA/V has one signature, and the ATmega169/A has another one. the problem is that the original avrdude.conf file only has one option; atmega169, which actually has the P/PA/V device signature rather than the 169/A.
To solve this I've added a modified conf file. The problem is that when you're uploading the code using a programmer (shift + upload), Arduino IDE refuses to use the modified conf file. I've tried everything, but I can't figure it out. I've attached the current core as a ZIP file. ButterflyCore.zip