cancel
Showing results for 
Search instead for 
Did you mean: 

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

michalmonday
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
michalmonday
Associate

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

- stm32412g_discovery_audio.c

- stm32412g_discovery_audio.h

 

View solution in original post

1 REPLY 1
michalmonday
Associate

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

- stm32412g_discovery_audio.c

- stm32412g_discovery_audio.h