cancel
Showing results for 
Search instead for 
Did you mean: 

Why is the core_cm4.h file not generated then?(stm32L476RG)

Essayator
Associate III

Hello,

I am beginner with stm32, I try to start my first project but I cannot do it, because there is the core_cm4.h file which was not generated here is the error message: Description Resource Path Location Type

fatal error: core_cm4.h: No such file or directory stm32l476xx.h /bliking-test/Drivers/CMSIS/Device/ST/STM32L4xx/Include line 165 C/C++ Problem

This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10
KnarfB
Super User

What tools are you using to generate the code, what tool versions, what OS?

Normally, it *is* generated.

hth

KnarfB

Essayator
Associate III

I found the file I copied it to the folder, there my code works but I can't read data from a sensor (pmodgyro)

Sara BEN HADJ YAHYA
ST Employee

Hello @Essayator​ ,

Could you please share your ioc file or provide us with the scenario that led to this issue?

Thanks,

Sara.


In order 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.

Hello @Sara BEN HADJ YAHYA​ ,

can I share my file ioc in the comment if not how to share it

Hello @Essayator​ ,

Yes you can attach the ioc in a comment.

Sara.


In order 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.
Essayator
Associate III

here is my file

 

I have another other problem when I run the code in ide, the ide sends me to assembler code that I don't understand but seems to be a reset

Hello @Essayator​ ,

There is no issue when I generated a project using your ioc. I even created a new project from scratch and I didn't face any error during the build.

Please copy your ioc file in a new folder and generate a new project.

I hope this helps :)

Sara.


In order 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.