cancel
Showing results for 
Search instead for 
Did you mean: 

Disable STM32 CubeIDE from adding Include directories in Paths and Symbols when generating code

Louis3
Associate

Hello,

My issue is that I do not want STM32 CubeIDE to add new includes in the Paths and Symbols's include directories when I am clicking Device Configuration Tool Code Generation.

Every time I click on Device Configuration Tool Code Generation ( DCTCG ),  CubeIDE add these directories,

 

C:/Users/louis/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/STM32F4xx_HAL_Driver/Inc

C:/Users/louis/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy

C:/Users/louis/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/CMSIS/Device/ST/STM32F4xx/Include

C:/Users/louis/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/CMSIS/Include

Capture d’écran 2023-09-15 205039.png

 

What I want instead is :

 

${HOMEPATH}/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/STM32F4xx_HAL_Driver/Inc

${HOMEPATH}/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy

${HOMEPATH}/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/CMSIS/Device/ST/STM32F4xx/Include

${HOMEPATH}/STM32Cube/Repository/STM32Cube_FW_F4_V1.27.1/Drivers/CMSIS/Include

Capture d’écran 2023-09-15 204921.png

 

I do not want the absolute paths because I want the cloning process to be easy with github. ${HOMEPATH} is enabling to do so but I do not want CubeIDE to add every colleagues's includes paths

 

yours faithfully,

Louis3

0 REPLIES 0