Is there a way to ignore compilation of some files in .extSettings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32CubeMX
-
STM32H7 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-24 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-23 1: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?
​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-23 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-24 2: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.
