It takes a little while for CubeIDE® to gather up-to-date device information from ST repositories. Once started, into the CubeIDE® main window you may close the Information Center: I definitely recommend this approach first for beginners. In the second tutorial, we use CubeIDE® to create a basic (HAL-free) template project just like we did in earlier Atollic® tutorials. The one thing I trust: RTF(R)M! Read The F****** (Reference) Manual. It is another learning curve to climb that keeps you away from the STM32 hardware somehow, which I think is not good. Besides, mastering HAL libraries requires its own level of expertise. IMHO, these tools should be used only by advanced users who know what they're doing, and with productivity and portability concerns (and not because of laziness).
#Atollic truestudio 5.2 stm32 hal drivers code#
I think that's a mistake to start with graphical code configuration tools because it hides many fundamental concepts that you need to understand first. I'm doing this against my will, to be honest, but beginners may find here an easy way to get started. In the first one (this tutorial) I'll be using the ST-promoted way of doing this using HAL (Hardware Abstraction Layer) libraries and the graphical device configurator. Since most of the changes when moving from Atollic® to CubeIDE® concerns project creation. I'll use the Windows version in this tutorial. You can download CubeIDE® from ST website: At time of writing CubeIDE® is in 1.4.0 version. STM32 CubeIDE is available for all major OS. Since CubeIDE® is basically a merging of Atollic TrueStudio® and CubeMX® device configurator, most of the above tutorials remains valid with only minor changes you can easily sort out. Devices released past this date are not supported in Atollic® IDE anymore, therefore there is no way not changing and adopt CubeIDE®. Since 2019, STM32 CubeIDE® has become the free, STMicroelectronics supported, integrated development environment for STM32 MCUs.