... | ... | @@ -24,10 +24,10 @@ Getting started: |
|
|
4. [STM Education](https://www.st.com/content/st_com/en/support/learning/stm32-education.html)
|
|
|
5. https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:STM32_step_by_step_overview
|
|
|
|
|
|
Note that STM32CubeIDE suggests generating a HAL (hardware abstraction layer) or LL (low level) code skeleton from a graphical MCU configuration tool (formerly known as STM32CubeMX). But, you can write the complete code yourself at any level, say register level, as well. The fully integrated IDE conveniently supports code browsing, source and instruction level debugging, inspection of peripheral registers, debugging by tracing etc.. So, give it a try, at least for the first projects to familiarize yourself with the hardware.
|
|
|
Note that STM32CubeIDE suggests generating a HAL (hardware abstraction layer) or LL (low level) code skeleton from a graphical MCU configuration tool (STM32CubeMX). But, you can write the complete code yourself at any level, say register level, as well. The fully integrated IDE conveniently supports code browsing, source and instruction level debugging, inspection of peripheral registers, debugging by tracing etc.. So, give it a try, at least for the first projects to familiarize yourself with the hardware.
|
|
|
|
|
|
## PlatformIO
|
|
|
A user friendly alternative for beginners: use the ST STM32 platform with STM32Cube framework. See https://docs.platformio.org/en/latest//integration/ide/vscode.html and https://stm32-base.org/guides/platformio.html. Note that PlatformIO is an actively developed open-source software project, but missing some advanced stuff you find in STM32CubeIDE like easy RTOS integration. There is the [stm32pio](https://github.com/ussserrr/stm32pio) project for converting STM32CubeMX config file (.ioc) based projects to PlatformIO.
|
|
|
A user friendly alternative for beginners: use the ST STM32 platform with [STM32Cube framework](https://docs.platformio.org/en/latest/platforms/ststm32.html). See https://docs.platformio.org/en/latest//integration/ide/vscode.html and https://stm32-base.org/guides/platformio.html. Note that PlatformIO is an actively developed open-source software project, but missing some advanced stuff you find in STM32CubeIDE like easy RTOS integration. There is the [stm32pio](https://github.com/ussserrr/stm32pio) project for converting STM32CubeMX config file (.ioc) based projects to PlatformIO.
|
|
|
|
|
|
## GNU arm-none-eabi toolchain with Makefile
|
|
|
These tools are also used by most GUIs under the hood. It may be worthwhile to study the use of these command line tools (compiler flags, linker scripts, debugger integration, ...) from STM32CubeIDE sample projects.
|
... | ... | |