compiler error seems related to have multiple SPI devices

Hi,

I have several devices attached to SCI_SPI bus. When I compile each SPI device driver and I am getting compiler error:

Renesas.h

union
{
__IOM uint16_t CTL; /*!< (@ 0x00000004) Stack Pointer Monitor Access Control Register */

struct
{
__IOM uint16_t ENABLE : 1; /*!< [0..0] Stack Pointer Monitor Enable */
uint16_t : 7;
__IOM uint16_t ERROR : 1; /*!< [8..8] Stack Pointer Monitor Error Flag */     <---- ERROR here
uint16_t : 7;
} CTL_b;
};

What does this mean and how to resolve it? BTW, we are using smartConfigurator to create SCI_SPI stack (ch-3).

Thanks.

Parents Reply Children
No Data