Include files from system-wide gcc used, but not the ones shipped with sw4stm32. How to fix?
Hi,
The include entries are usually auto-detected on build from a compiler command. The compiler path is defined in Project Properties > C/C++ Build > Settings > Tools Settings > MCU Settings > Path. The default value should be ${openstm32_compiler_path} which refers to the ARM GCC shipped with SW4STM32 (That’s why they are not editable in Ac6 SW4 STM32 MCU Built-in Compiler Settings). It also prepends the system PATH variable for the project to force project using the right compiler.
If the Path value is empty, it uses the system compiler.
Verify the Path value is ${openstm32_compiler_path} on your project, then build the project. it should find the sw4stm32-wide compiler include folders.
There might be a bug if it still looks for the system compiler...
Hope it answers your question.
Regards,
Kevin.