I am testing the example file STM32SD/examples/ReadWrite/ReadWrite.ino. I have installed the library FatFs, and I selected the following compile options: Generic STM32F1 board, Board part number F103RBT6, UART enabled, CDC generic enabled.
I get the following compile error:
Code: Select all
In file included from D:\STM32DuinoPortable\SketchesSTM32Duino\libraries\STM32SD\src/Sd2Card.h:40,
from D:\STM32DuinoPortable\SketchesSTM32Duino\libraries\STM32SD\src/STM32SD.h:22,
from D:\STM32DuinoPortable\SketchesSTM32Duino\Maison\exempleSD\exempleSD.ino:9:
D:\STM32DuinoPortable\SketchesSTM32Duino\libraries\STM32SD\src/bsp_sd.h:58:40: error: variable or field 'BSP_SD_GetCardInfo' declared void
58 | #define HAL_SD_CardInfoTypedef HAL_SD_CardInfoTypeDef
| ^~~~~~~~~~~~~~~~~~~~~~
D:\STM32DuinoPortable\SketchesSTM32Duino\libraries\STM32SD\src/bsp_sd.h:115:28: note: in expansion of macro 'HAL_SD_CardInfoTypedef'
115 | void BSP_SD_GetCardInfo(HAL_SD_CardInfoTypedef *CardInfo);
Did I forget something?