Re: [avr-gcc-list] SPI pinout in avrlibc

2018-11-21 Thread Aurélien Vallée
I create the mappings and submit the patch if necessary. Just want to be sure that’s the way to go. On Wed, 21 Nov 2018 at 11:59 AM, Aurélien Vallée wrote: > I wondered if the SPI pinout is available somewhere in avrlibc headers. > The reason is that I need some code initializing SPI that should

[avr-gcc-list] SPI pinout in avrlibc

2018-11-20 Thread Aurélien Vallée
I wondered if the SPI pinout is available somewhere in avrlibc headers. The reason is that I need some code initializing SPI that should be portable across AVRs with different pins for SPI, e.g. atmega328 and atmega2560. It looks to me that these pins are partially mapped currently, as I can find