Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Errors and builds?

I am writing a document for the company on how to use STM32CubeMx (V 4.14.0) and ac6 to develop new products.

For the document I created a project from scratch (named Sample), loaded it into ac6 and tried to compile it.

I have made 0 changes to any code (except some statements to try and determine why I was getting the errors).
Specifically, this:

/* USER CODE BEGIN 0 */
#ifndef __STM32L476xx_H
#error WTF
#endif
/* USER CODE END 0 */

In stm32l4xx_hal_msp.c

It compiles, but I didn’t notice it at first because I get errors in the editor (see attached picture).

Here is the Console output:


08:53:36 **** Incremental Build of configuration Debug for project Sample ****
make all 
'Building file: ../Src/main.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/main.d" -MT"Src/main.o" -o "Src/main.o" "../Src/main.c"
'Finished building: ../Src/main.c'
' '
'Building file: ../Src/stm32l4xx_hal_msp.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32l4xx_hal_msp.d" -MT"Src/stm32l4xx_hal_msp.o" -o "Src/stm32l4xx_hal_msp.o" "../Src/stm32l4xx_hal_msp.c"
'Finished building: ../Src/stm32l4xx_hal_msp.c'
' '
'Building file: ../Src/stm32l4xx_hal_timebase_TIM.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32l4xx_hal_timebase_TIM.d" -MT"Src/stm32l4xx_hal_timebase_TIM.o" -o "Src/stm32l4xx_hal_timebase_TIM.o" "../Src/stm32l4xx_hal_timebase_TIM.c"
'Finished building: ../Src/stm32l4xx_hal_timebase_TIM.c'
' '
'Building file: ../Src/stm32l4xx_it.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/stm32l4xx_it.d" -MT"Src/stm32l4xx_it.o" -o "Src/stm32l4xx_it.o" "../Src/stm32l4xx_it.c"
'Finished building: ../Src/stm32l4xx_it.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lcd.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lcd.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lcd.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lcd.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lcd.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lcd.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c'
' '
'Building file: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o" -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o" "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c"
'Finished building: ../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c'
' '
'Building file: ../Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/system_stm32l4xx.c'
'Invoking: MCU GCC Compiler'
C:\CW\Nucleo\Sample\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -DUSE_HAL_DRIVER -DSTM32L476xx -I"C:/CW/Nucleo/Sample/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc" -I"C:/CW/Nucleo/Sample/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/include" -I"C:/CW/Nucleo/Sample/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Include" -I"C:/CW/Nucleo/Sample/Drivers/CMSIS/Device/ST/STM32L4xx/Include"  -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/system_stm32l4xx.d" -MT"Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/system_stm32l4xx.o" -o "Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/system_stm32l4xx.o" "../Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/system_stm32l4xx.c"
'Finished building: ../Drivers/CMSIS/Device/ST/STM32L4xx/Source/Templates/system_stm32l4xx.c'
' '
'Building target: Sample.elf'
'Invoking: MCU GCC Linker'
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -specs=nosys.specs -specs=nano.specs -T"../STM32L476VGTx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -lm -o "Sample.elf" @"objects.list" 
'Finished building target: Sample.elf'
' '
make --no-print-directory post-build
'Generating binary and Printing size information:'
arm-none-eabi-objcopy -O binary "Sample.elf" "Sample.bin"
arm-none-eabi-size "Sample.elf"
   text	   data	    bss	    dec	    hex	filename
  13920	     24	   5192	  19136	   4ac0	Sample.elf
' '

08:53:58 Build Finished (took 21s.153ms)


The errors are:

Description Resource Path Location Type
Symbol ‘BusFault_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 64 Semantic Error
Symbol ‘DebugMonitor_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 68 Semantic Error
Symbol ‘LPTIM1_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 233 Semantic Error
Symbol ‘LPTIM1_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 234 Semantic Error
Symbol ‘LPTIM1_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 254 Semantic Error
Symbol ‘MemoryManagement_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 62 Semantic Error
Symbol ‘SysTick_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 70 Semantic Error
Symbol ‘UsageFault_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 66 Semantic Error
Symbol ‘USART2_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 287 Semantic Error
Symbol ‘USART2_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 288 Semantic Error
Symbol ‘USART2_IRQn’ could not be resolved stm32l4xx_hal_msp.c /Sample/Src line 314 Semantic Error


I can’t under stand why these symbols would not be defined. The include file it being included. The symbols are enums, all the #defines in the included file are defined. Just the enums are having problems.

This has to be an editor thing, because it builds fine.

Anyone ever seen this? Could it be an error parser?

Thanks for taking the time to look this over!

-Matt

ARM Compiler for MCU (for Windows 32 bits) 1.7.0.201602121829 fr.ac6.feature.mcu.externaltools.armnone.win32.feature.group Ac6
Command Line Interface for Java implementation of Git 3.4.2.201412180340-r org.eclipse.jgit.pgm.feature.group Eclipse JGit
Eclipse IDE for C/C++ Developers 4.4.2.20150219-0708 epp.package.cpp null
External Tools for Windows (32 bits) 1.3.0.201507241045 fr.ac6.feature.mcu.externaltools.win32.feature.group Ac6
Gonsole - EGit Integration 1.3.0.20160229-1257 com.codeaffine.gonsole.egit.feature.feature.group codeaffine.com
Gonsole - Git Console for Eclipse 1.3.0.20160229-1257 com.codeaffine.gonsole.feature.feature.group codeaffine.com
OpenOCD (for Windows 32 bits) 1.8.0.201603291052 fr.ac6.feature.mcu.externaltools.openocd.win32.feature.group Ac6
OpenSTM32 IDE 1.8.0.201603291114 fr.ac6.feature.mcu.ide.feature.group Ac6
OpenSTM32 Linker Script editor 1.7.0.201602121829 fr.ac6.feature.mcu.ldscript.feature.group Ac6
OpenSTM32 Remote debugging support 1.8.0.201603291114 fr.ac6.feature.mcu.debug.feature.group Ac6
STM32CubeMX 4.13.0.201602081222 com.st.microxplorer.feature.group STMicroelectronics
Subversive SVN Connectors 4.1.3.I20150214-1700 org.polarion.eclipse.team.svn.connector.feature.group Polarion Software
Subversive SVN Team Provider 2.0.4.I20150123-1700 org.eclipse.team.svn.feature.group Eclipse.org
SVNKit 1.7.12 Implementation (Optional) 4.1.3.I20150214-1700 org.polarion.eclipse.team.svn.connector.svnkit17.feature.group Polarion Software


Tunisia

have you tried to rebuild the index ?

Project Explorer > your project > right click > Index > Rebuild



Deiter and Terek, thanks for the feedback.

I did try reindexing - that did not help. I also updated ac6 (although the only things out of date were the GIT interface).

I also deleted the entire project and regenerated the code from Cube, just to make sure I did not alter the code in any way.

The solution (which is not really a solution at all) I went with was:

Window -> Preferences -> C/C++ -> Code Analysis -> Syntax and Semantic Errors: OFF


from http://stackoverflow.com/questions/8148235/eclipse-cdt-shows-semantic-errors-but-compilation-is-okQuestion

While the solution is not really a solution, the error is also not really an error.

So the error is no longer generated.

-Matt