Open
Description
Mon 16 May 2016 11:59:03 PM CEST
The attached patch fixes the names that avr-libc defines for several SPI-related registers in iom324pa.h and iom164pa.h. The datasheets call the registers SPCR, SPSR, and SPDR, but avr-libcs's definitions had "0" at the end of the name: SPCR0, SPSR0, and SPDR0. The names of bits defined in these registers were wrong in the same way. This patch adds new definitions with the correct names, while leaving the old definitions around for backwards compatibility.
Please apply the patch. Thanks!
file #37181: spi_fix_m164pa_m324pa.patch
This issue was migrated from https://savannah.nongnu.org/bugs/?47937