Generated compilation command line doesn't include all paths from properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-24 5:11 AM - edited ‎2024-08-24 9:26 AM
Hello, I'm having trouble setting up the USB Device middleware on STM32CubeIDE, latest (1.15.1).
The usb_device.h file generated by the IDE (in USB_DEVICE/App) is not found when compiling the Core/Src/system_stm32h7xx.c file.
Looking at the command line, it appears the include for USB_Device/App is not present, despite being added as expected by the IDE to the properties.
Would anyone know why that would be, and what can be done about that ?
Thank you.
PS: note I have tried cleaning the project to get non-incremental compilation, to no avail.
  
 
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-01 4:45 AM
The problem was that eclipse (and its offspring MXCubeIDE) allow configuring properties override for specific folders. Once you add any custom property to a folder, parent folders' property changes don't get applied to that folder. Here a change was applied to the Core folder (C++17), so since the GUI configurator adds its paths to the project but the files that look for them are in Core, compilation would fail. Fix was to reset all properties to default for Core & configure only the global (project) properties.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-28 6:40 AM
Hi @JBernard
Did you try to update latest version of CubeIDE ? Could you share MX ioc file to reproduce ?
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
‎2024-09-01 4:45 AM
The problem was that eclipse (and its offspring MXCubeIDE) allow configuring properties override for specific folders. Once you add any custom property to a folder, parent folders' property changes don't get applied to that folder. Here a change was applied to the Core folder (C++17), so since the GUI configurator adds its paths to the project but the files that look for them are in Core, compilation would fail. Fix was to reset all properties to default for Core & configure only the global (project) properties.
