2023-05-23 10:19 AM
I want my project to ignore the stm32h7xx_it.c file, but CubeMX auto-generates this every time. Is there a way I can ignore certain files from compiling in the extSettings before it generates a uvision/cubeide project?
Solved! Go to Solution.
2023-05-24 02:18 AM
Hello @DLian.3
First let me thank you for posting.
I understand the situation you are facing, however you can't stop CubeMx from generating the file.
The solution I propose is to exclude the file from the build in Keil.
Check this link for more details.
KR,
Semer.
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.
2023-05-23 01:19 PM
Why you want the handling of interrupts not in the program? If you don't use any interrupts, there is anyway nothing... and If you use interrupts, you need the handling of them. So...why?
2023-05-23 01:54 PM
I have the interrupts defined elsewhere in a different file, so I don't need to compile the self-generated stm32h7xx_it.c file. Sure, I can configure the project afterwards in uvision, but is there any way to tell CubeMX to do it before the project step.
2023-05-24 02:18 AM
Hello @DLian.3
First let me thank you for posting.
I understand the situation you are facing, however you can't stop CubeMx from generating the file.
The solution I propose is to exclude the file from the build in Keil.
Check this link for more details.
KR,
Semer.
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.