Skip to main content
GJohn
Associate III
September 5, 2019
Solved

How do I generate a BSP that CubeMX will recognize?

  • September 5, 2019
  • 2 replies
  • 946 views

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?

This topic has been closed for replies.
Best answer by KnarfB

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

2 replies

KnarfB
KnarfBBest answer
Super User
September 7, 2019

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
GJohnAuthor
Associate III
September 9, 2019

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