Problem integrating into STM32H7, MCU crashes

I currently have a project using the STM32H743 MCU. I wanted to integrate the AI ​​model, so I saw that Edge Impulse provides a way to quickly deploy the model. However, I found that integrating the C++ library and CubeMX would conflict with my own DSP functions ( Duplicate definitions, etc.), finally I saw this article, he told us how to integrate the project on Keil C (Arm Keil MDK CMSIS-PACK | Documentation)

Please ignore the red box of Component, just show the usage parameters

1724646440714

But the current conclusion is that there are no errors in compilation, but as long as EI-SDK is added to the Keil Component, the MCU will crash without any response. I have tried scheduling Stack_Size and Heap_Size of .s but there is no response at all.

The original main.c structure of the project has been changed to main.cpp and it is confirmed that it can operate normally without EI-SDK. Can anyone provide advice?

*project not using cubeAI

1 Like

Hi @a5536511

Welcome to the community!

Yes I believe that the EI SDK will be pulled automatically from Keil. So you do not require it in this case.

Let me confirm with @ei_francesco about where we are for the Cube IDE, I do believe it should work there also.

Best

Eoin