Io.h (and other hardware support) for DUE .... solutions?

While trying different graphics libraries for a DUE project I am running into the problem, that some libraries won't compile on Due because they require AVR/io.h. In my case it is PDQ_GFX which builds on Fastled which requires avr/io.h.

To my understanding avr/io.h contains the detailed descriptors for the io.pins per AVR MCU but nothing equivalent seems to exist for the DUE. A Google search shows hundreds if not thousands of users running into that problem with certain libraries for DUE and my impression is that it would only require a limited effort to overcome that shortcoming.

Or is there a trick to solve this which I havn't managed to find?

So I wonder, if I am actually using a 'dead' platform. In Arduino/..../hardware there aren't any files for DUE at all. Is DUE a project that is being disregarded in general? Is everybody moving to ESP32 for higher performance projects?
I guess ESP32 might face the same issues though ........

Any thoughts, comments, ideas?

AVR/Io.h is needed for AVR. Due files are under packages\arduino\hardware\sam directory if the board is installed from board manager. Pin definitions are in variant.h

Thanks for the information! I'll try to patch the libraries to use variant.h instead of AVR/io.h and will report about the outcome. Next week, I am busy abroad until then.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.