Skip to main content
Associate
September 20, 2023
Solved

How to setup STM32F412G-Discovery BSP for the display in STM32CubeIDE?

  • September 20, 2023
  • 1 reply
  • 1553 views

Hello,

I tried copying BSP and Utils folders from "Repository/STM32Cube_FW_F4_V1.27.1" into my project, I included them in "Paths and symbols" project settings too.

When trying to build the code, I encountered a lot of compiler errors of symbols not being defined, for example symbols like:

- DFSDM_CHANNEL_SPI_FALLING

I then attempted to edit the "stm32f4xx_hal_conf.h" (following advice from this thread) and uncommented the following line:

/* #define HAL_DFSDM_MODULE_ENABLED */

Now I'm facing bunch of errors due to lack of "stm32f4xx_hal_dfsdm.h" file which I can't find anywhere.

Is there anyone who can successfully use BSP lcd functions for the STM32F412G-Discovery board and would be willing to share what is the process of getting it to work using STM32CubeIDE?

I attached the file I'm trying to compile in case if anyone would like to take a look.

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

Removing the following files from Repository/STM32412G-Discovery directory fixed the problem:

- stm32412g_discovery_audio.c

- stm32412g_discovery_audio.h

 

1 reply

michalmondayAuthorBest answer
Associate
September 22, 2023

Removing the following files from Repository/STM32412G-Discovery directory fixed the problem:

- stm32412g_discovery_audio.c

- stm32412g_discovery_audio.h