You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arm cross compiler project with GCC compiler.
Generated a Arm Cross Project.
Inserted a new include path on 'GNUArm Cross C Compiler' - 'Include paths'
If I check the 'All options' content on the parent window I see the selected path in the generated commnd line: -I"C:\Progetti\dbTechnologies\testSTM32\testSTM32_CMSIS_RTOS_FreeRTOS\src\CMSIS-FreeRTOS\Source\include" -std=gnu11
Right click on project + 'Build Project'
The used command line does not contain the selected include path, but a previous not-valid path:
Building file: ../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c
Invoking: GNU Arm Cross C Compiler
arm-none-eabi-gcc -mcpu=cortex-a7 -mthumb -O2 -g **-I"C:\Progetti\dbTechnologies\testSTM32\testSTM32_CMSIS_RTOS2\Drivers\CMSIS\RTOS2\Include"** -std=gnu11 -MMD -MP -MF"src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.d" -MT"src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.o" -c -o "src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.o" "../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c"
../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c:34:10: fatal error: FreeRTOS.h: No such file or directory
If i go back to the settings window I see the wanted correct path!
How it is possible?
Any idea?
After 'Clear project' command nothing change.
-- EDIT
If I add the path as Include System Path (adding to the same path in the Include Paths -I), I see the new path under -isystem PLUS the uncorrent path with -I option:
Building file: ../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c
Invoking: GNU Arm Cross C Compiler
arm-none-eabi-gcc -mcpu=cortex-a7 -mthumb -O2 -g -I"C:\Progetti\dbTechnologies\testSTM32\testSTM32_CMSIS_RTOS2\Drivers\CMSIS\RTOS2\Include" -isystem"C:\Progetti\dbTechnologies\testSTM32\testSTM32_CMSIS_RTOS_FreeRTOS\src\CMSIS-FreeRTOS\Source\include" -std=gnu11 -MMD -MP -MF"src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.d" -MT"src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.o" -c -o "src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.o" "../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c"
-- EDIT
Eclipse IDE for Embedded C/C++ Developers (includes Incubating components)
Version: 2024-06 (4.32.0)
Build id: 20240606-1231
--
Thanks
The text was updated successfully, but these errors were encountered:
Arm cross compiler project with GCC compiler.
Generated a Arm Cross Project.
Inserted a new include path on 'GNUArm Cross C Compiler' - 'Include paths'
If I check the 'All options' content on the parent window I see the selected path in the generated commnd line:
-I"C:\Progetti\dbTechnologies\testSTM32\testSTM32_CMSIS_RTOS_FreeRTOS\src\CMSIS-FreeRTOS\Source\include" -std=gnu11
Right click on project + 'Build Project'
The used command line does not contain the selected include path, but a previous not-valid path:
If i go back to the settings window I see the wanted correct path!
How it is possible?
Any idea?
After 'Clear project' command nothing change.
-- EDIT
If I add the path as Include System Path (adding to the same path in the Include Paths -I), I see the new path under -isystem PLUS the uncorrent path with -I option:
-- EDIT
Eclipse IDE for Embedded C/C++ Developers (includes Incubating components)
Version: 2024-06 (4.32.0)
Build id: 20240606-1231
--
Thanks
The text was updated successfully, but these errors were encountered: