Re: Re: SW4STM32 or CubeMX to init STM32 device
Hi Junbo,
To have HAL support for the F1 family you must use a recent version of System Workbench for STM32; the simplest way for that is to do an update of the IDE by selecting “Help >> Check for Updates...” and install all proposed updates.
Your way to go is probably the better way, but it is needing manual operations and may cause a few problems with middlewares. In any case you should probably create your project by checking to import the firmware “As sources” and not “As static external libraries” as, for some middlewares, you will need some configuration files that will be found in “Inc” to compile them successfully.
The downloaded firmwares are stored in %APPDATA%\Ac6\SW4STM32\firmwares that is, on Windows 7, something like C:\Users\%USERNAME%\AppData\Roaming\Ac6\SW4STM32\firmwares
Bernard