Re: ARM STM32 Update
Posted: Tue Apr 25, 2017 6:57 pm
Hello Benj. That's what the compiler gives out
Device STM32F051x8
F:\#$RED-~1\STM32F0>arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -D__SOFTFP__ -Os -DSTM32 -DSTM32F0 -DSTM32F051x8 -DUSE_HAL_DRIVER -DHSE_VALUE=8000000 -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\CMSIS\Include -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\CMSIS\Device\ST\STM32F0xx\Include -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\STM32F0xx_HAL_Driver\Inc -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\STM32F0xx_HAL_Driver\Inc\Legacy -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\inc -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "Regulador_STM32F051C8.c" -o "Regulador_STM32F051C8_STM32F051x8_8000000\Regulador_STM32F051C8.o"
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:780:0,
from Regulador_STM32F051C8.c
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_SPI.c:72:10: error: redefinition of 'MX_PRESCALE_VAR_X'
MX_UINT8 MX_PRESCALE_VAR_X = (MX_SPI_PR_SCALE_X / 2) - 1;
^
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:759:0,
from Regulador_STM32F051C8.c
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_SPI.c:72:10: note: previous definition of 'MX_PRESCALE_VAR_X' was here
MX_UINT8 MX_PRESCALE_VAR_X = (MX_SPI_PR_SCALE_X / 2) - 1;
^
Error(s) in build
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error 1
Device STM32F051x8
F:\#$RED-~1\STM32F0>arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -D__SOFTFP__ -Os -DSTM32 -DSTM32F0 -DSTM32F051x8 -DUSE_HAL_DRIVER -DHSE_VALUE=8000000 -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\CMSIS\Include -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\CMSIS\Device\ST\STM32F0xx\Include -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\STM32F0xx_HAL_Driver\Inc -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\stm32cubeF0\Drivers\STM32F0xx_HAL_Driver\Inc\Legacy -IC:\PROGRA~2\FLOWCO~3\COMPIL~1\STARM\batch\..\inc -fmessage-length=0 -fdata-sections -ffunction-sections -w -c "Regulador_STM32F051C8.c" -o "Regulador_STM32F051C8_STM32F051x8_8000000\Regulador_STM32F051C8.o"
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:780:0,
from Regulador_STM32F051C8.c
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_SPI.c:72:10: error: redefinition of 'MX_PRESCALE_VAR_X'
MX_UINT8 MX_PRESCALE_VAR_X = (MX_SPI_PR_SCALE_X / 2) - 1;
^
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:759:0,
from Regulador_STM32F051C8.c
C:\Program Files (x86)\Flowcode 7\CAL\STARM\STARM_CAL_SPI.c:72:10: note: previous definition of 'MX_PRESCALE_VAR_X' was here
MX_UINT8 MX_PRESCALE_VAR_X = (MX_SPI_PR_SCALE_X / 2) - 1;
^
Error(s) in build
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error 1