cancel
Showing results for 
Search instead for 
Did you mean: 

Examples on STM32U5A9J-DK not compiling

giteshk
Visitor

I am trying to flash BSP example from https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects esp. the ones for STM32U5A9J-DK. 

While trying to compile BSP : https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U5x9J-DK/Examples/BSP, I am not able to get a compiled binary to flash.

 

Tried following ways to import the checkout code in STMCubeIDE -

1) "Open project from file system" or "Import -> Projects from Folder or Archive" - 

Build not enabled

2) "Existing project in workspace" -> "Copy project in workspace"

Error
make -j8 all
make: *** No rule to make target '/Utilities/lcd/stm32_lcd.c', needed by 'Utilities/stm32_lcd.o'. Stop.

3) "Import" -> "File System"
Cannot import into a workspace with no open projects. Please create a project before importing.

what is the first way to get these examples build and flashed.

 

1 REPLY 1
STTwo-32
ST Employee

Hello @giteshk and welcome to the ST Community.

Have you cloned the repository from GitHub or download it from the ST site. If it is cloned, have you followed the recommandation on this FAQ. I’d not please recline the repository base on the FAQ. If you import it from the ST website or throw CubeMX, please give me the version of the STM32CubeMX, STM32CubeIDE and the STM32CubeU5 that you are using.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.