Hi all
I am using the spi0 to storage the data and twi0 to get sensor data . But after I add the file nrf_drv_twi.c and compile , it complies wrong :.
\_build\nrf51422_xxac.axf: Error: L6200E: Symbol SPI0_TWI0_IRQHandler multiply defined (by nrf_drv_twi.o and nrf_drv_spi.o).
Search the code as below:
#define TWI0_IRQ_HANDLER SPI0_TWI0_IRQHandler
#define SPI0_IRQ_HANDLER SPI0_TWI0_IRQHandler
How can I do ?
I know spi0 and twi0 are using the same hardware address , but I won't use it at the same time .