Please Correct BUG with SD code generation
The new format of code generation makes a BUG in the file: bsp_driver_sd.h
The BUG prevent building FAT_FS modules
To solve the issue line 67 should be changed with the following ones:
&sharpifndef BSP_SD_CardInfo
&sharpdefine BSP_SD_CardInfo HAL_SD_CardInfoTypedef &sharpdefine SD_CardInfo HAL_SD_CardInfoTypedef&sharpendif?DETAILS: there was a typo in the first define (capital vs small cap Typedef vs TypeDef)
The second define is the one required by sd_diskio.c
...Middlewares/Third_Party/FatFs/src/drivers/sd_diskio.c:161:3: error: unknown type name 'SD_CardInfo'
SD_CardInfo CardInfo;This is an error in code generation (e.g. cube program) and not the library files and there is no way to rollback after an update (very annoying). Any help in solving this issue faster is appreciated.
C.Alberto Avizzano
#endif