DxCore integrating my AVR128DA28 based UNO board? #479
Replies: 4 comments 8 replies
-
Yes, I can do that, I'd need a variant file from you, and what the other board parameters should be. I will note that I disapprove of alternate pin numberings; I'm a big advocate of PIN_Pxn pin naming. |
Beta Was this translation helpful? Give feedback.
-
I now want to retain the PIN_Pxn pin naming that you've put there, it makes sense to me. Any advice? I don't care about the PIN_Pxn pin naming been wrong, it's appropriate if you into hardware level development, |
Beta Was this translation helpful? Give feedback.
-
Sorry for lack of responses on this - past couple of months were a shitshow in my life. From Arduino.h:
Hence you must define NONCANONICAL_PIN_NUMBERS. This will perform worse than canonical pin numbers, because it means some shortcuts in the math are not available to us. I wouldn't remove the comment on PD0 I would also be certain to test that things worked correctly once you had those implemented, because it's very possible that somewhere in the core, we implicitly assume that the pins are numbered the way god intended, and use that to find pins relative to other pins. It might only break the DxCore.h library, which is where some of the stuff that relied upon that lives (it's related to portmux changing I think; haven't looked at that kind of stuff in detail in a while. There's already an Uno 4 isn't there? Based on a different architecture, different instruction set and with little compatibility. |
Beta Was this translation helpful? Give feedback.
-
I have tested and modified the variants file, I also have edited the boards file and compiled the bootloader for optiboot. Here is the all the relevant files. |
Beta Was this translation helpful? Give feedback.
-
Will you be able to add my UNO board with the AVR128DA28, into DxCore?
Or do I have too support it in my own github repo?
All the changes I'll be doing is the pinout.
Beta Was this translation helpful? Give feedback.
All reactions