I am having a problem trying to compile the simplest HAL project for the STM32F030 processor. All I need to do (for the moment) is toggle a pin. I cannot get the project to compile (after several installs on 2 different computers). I’m running Win10 and the latest versions of CubeMX and the Workbench - fresh downloads today.
I keep getting:
Errors (6 items)
make: *** Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o Error 1
recipe for target ‘Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o’ failed
selected processor does not support `dsb 0xF’ in Thumb mode line 211, external
x 4 lines
I have tried everything I can find on the web to fix this although there is not much to see. Seems like it will be simple when I find the answer but no idea where to look.
Permissions on the project folders were restricted so now fully writeable
Various quotes on the preprocessor defined symbols made no difference
This is a bespoke board (shouldn’t make any difference) with STM32F030Px fitted. Used CubeMX to define the pins and successfully imported the project to Eclipse.
If this processor can’t use the settings already configures for it by CubeMX, what are the settings and where do I change them?
Thanks in advance for all help and suggestions.