Error log/ console view
Dear Sir Hasan,
Perfect! The SW4STM32 and Java versions are good.
The compilation time increased because there are more files to be compiled,
but this time is not relevant for the moment as there are still compilation errors.
The following error is not due to SW4STM32. This error is coming from your application code.
The following error message means that the constant TIM_CR2_OIS4 is defined twice.
“C:\STM32_toolchain\common\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx.h:4630:0: warning: “TIM_CR2_OIS4” redefined ”
It seems to be defined once in the stm32f0xx.h. Did you modified this file?
... and this constant was already defined in the following header files belonging to the CMSIS lib :
stm32f030xc.h
stm32f031x6.h
stm32f038xx.h
stm32f042x6.h
stm32f048xx.h
stm32f051x8.h
stm32f058xx.h
stm32f070x6.h
stm32f070xb.h
stm32f071xb.h
stm32f072xb.h
stm32f078xx.h
stm32f091xx.h
stm32f098xx.h
To solve this kind of errors, remove the redundant constant definition from stm32f0xx.h