[DONE] MMC_SPI driver won't compile when SPI_USE_WAIT=FALSE
Posted: Fri Mar 01, 2013 3:44 pm
Hello,
when I tried to use MMC_SPI driver with option "#define SPI_USE_WAIT FALSE" in halconf I got compile error:
/./os/hal/src/mmc_spi.c:147: undefined reference to `spiReceive'
and few similar errors.
Is that a bug or feature ? In any case it would be great to add some checks to code and note to documentation. It took me a while to find solution to this compile problem.
When I set "#define SPI_USE_WAIT TRUE" everything works. I am using version 2.4.3.
when I tried to use MMC_SPI driver with option "#define SPI_USE_WAIT FALSE" in halconf I got compile error:
/./os/hal/src/mmc_spi.c:147: undefined reference to `spiReceive'
and few similar errors.
Is that a bug or feature ? In any case it would be great to add some checks to code and note to documentation. It took me a while to find solution to this compile problem.
When I set "#define SPI_USE_WAIT TRUE" everything works. I am using version 2.4.3.