cancel
Showing results for 
Search instead for 
Did you mean: 

How do I generate a BSP that CubeMX will recognize?

GJohn
Associate II

The FatFS library references a BSP function to determine if a SD card is plugged in. Since I don't have a BSP for this PCB, CubeMX complains about the missing function. How do I generate a BSP that CubeMX will recognize to eliminate this configuration error?

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

I would not do this, but instead add the missing function(s) later to the generated code. You may derive your BSP code from the samples that come with the STM32Cube firmware packages like STM32Cube/Repository/STM32Cube_FW_F0_V1.10.1/Drivers/BSP/Adafruit_Shield.

Frank

View solution in original post

2 REPLIES 2
KnarfB
Principal III

I would not do this, but instead add the missing function(s) later to the generated code. You may derive your BSP code from the samples that come with the STM32Cube firmware packages like STM32Cube/Repository/STM32Cube_FW_F0_V1.10.1/Drivers/BSP/Adafruit_Shield.

Frank

GJohn
Associate II

Not the answer I was hoping for - but an answer. Thanks for your assistance.