AnsweredAssumed Answered

[CubeMX Feature request]Please add the Drivers/CMSIS/Include/core_cm3.h to the GPDSC output

Question asked by marton.miklos on Jun 8, 2017

When exporting the GPDSC project output for an STM32F103C8T6 it will contain a files referencing the

 

#include "core_cm8.h":

In file included from /home/mm/STM32-workspace/pocs/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:149:0,
from /home/mm/STM32-workspace/pocs/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:48,
from /home/mm/STM32-workspace/pocs/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:47,
from /home/mm/STM32-workspace/pocs/Inc/stm32f1xx_hal_conf.h:209,
from /home/mm/STM32-workspace/pocs/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:48,
from /home/mm/STM32-workspace/pocs/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c:104:
/home/mm/STM32-workspace/pocs/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h:151:22: fatal error: core_cm3.h: No such file or directory
#include "core_cm3.h"

The core_cm8.h file is available under the Drivers/CMSIS/Include however it does not included in the project file.

 

I would like to came up with to recommendations:

- Add these files to the project (our parser checks for the headers path and appends it to the includepath (-I))

- Introduce the concept of the include folders in the XML output.

Outcomes