stmCubeL4 example CSC_Standalone build error
I am trying to build the L4 application example: Applications/USB_Device/CDC_Standalone
and ran into some issues:
Here the error message:
‘Building file: /stmworkspace/STM32Cube_FW_L4_V1.2.0/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c’
‘Invoking: MCU GCC Compiler’
\stmworkspace\STM32Cube_FW_L4_V1.2.0\Projects\STM32L476G_EVAL\Applications\USB_Device\CDC_Standalone\SW4STM32\STM32L476G_EVAL_USBD-FS\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DUSE_HAL_DRIVER -DSTM32L476xx -DUSE_STM32L476G_EVAL_REVB -DUSE_IOEXPANDER -I../../../Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../../../../../../../../Drivers/STM32L4xx_HAL_Driver/Inc -I../../../../../../../../Drivers/BSP/STM32L476G_EVAL -I../../../../../../../../Drivers/BSP/Components -I../../../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../../../../../../../../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../../../../../../../../Drivers/CMSIS/Include -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF”Middlewares/STM32_USBD_Library/Core/usbd_core.d” -MT”Middlewares/STM32_USBD_Library/Core/usbd_core.o” -o “Middlewares/STM32_USBD_Library/Core/usbd_core.o” “/stmworkspace/STM32Cube_FW_L4_V1.2.0/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c”
In file included from ../../../Inc/stm32l4xx_hal_conf.h:239:0,
from ../../../../../../../../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:48,
from ../../../Inc/usbd_conf.h:33,
from ../../../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h:37,
from /stmworkspace/STM32Cube_FW_L4_V1.2.0/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c:29:
../../../../../../../../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash.h:662:41: fatal error: stm32l4xx_hal_flash_ramfunc.h: No such file or directory
#include “stm32l4xx_hal_flash_ramfunc.h”
$ ls -l ./STM32Cube_FW_L4_V1.2.0/Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h
Administrators mkpasswd 4392 Nov 24 17:26 ./STM32Cube_FW_L4_V1.2.0/Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_flash_ramfunc.h
So I don’t undertstand, Why is it throwing this error?
Any body experienced such problem?
mat