Skip to main content
AlexSmart
Associate III
Aug 25, 2020 2:22 PM UTC
Solved

STM32H7 + Keil + CubeMX?

Getting started with STM32H7, faced a problem.

Ive worked for a long time with STM32F4 in Keil uVision (version 5.24.2.0), used a "classic" option, configuration via RTE_Device.h. Worked perfect.

Now I dont have such option with STM32H7, only CubeMX, and adventures began.

Created project with CubeMX, project building successfully. But when Im trying to add something i.e. filesystem, rtos, etc, it says that it is necessary to start CubeMX (again), and it starts complete different CubeMX project, a new one. Ok, fine, It adds a new main.c, stm32h7xx_it.c, etc. Obviously fails to build.

Creating project with Keil looks makes a bit more sense, but still unable to build up a complete application, got the same issue as

https://community.st.com/s/question/0D50X00009kHvWr/keil-mdk-and-st32cubemx-not-interacting

Is there a way to not use CubeMX in any way?

This topic has been closed for replies.
AlexSmart
AlexSmartBest answer
Associate III
Aug 26, 2020 9:07 AM UTC

Updating Keil uVision to V5.31.0.0 worked

2 replies

Tesla DeLorean
Guru
Aug 25, 2020 3:21 PM UTC

Can use the H7 HAL directly, should be MDK projects and templates in the example trees.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
AlexSmart
AlexSmartAuthorBest answer
Associate III
Aug 26, 2020 9:07 AM UTC

Updating Keil uVision to V5.31.0.0 worked