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.
[DONE] MMC_SPI driver won't compile when SPI_USE_WAIT=FALSE
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: MMC_SPI driver won't compile when SPI_USE_WAIT=FALSE
Hi,
It is a required option when using the MMC_SPI driver, I will add a compile time check and error about that, thanks.
Giovanni
It is a required option when using the MMC_SPI driver, I will add a compile time check and error about that, thanks.
Giovanni