Getting started with STM32 bare metal, but with standard library
A few days ago I got a few STM32 boards (STM32F0-Discovery, STM32F031 Nucleo-32, STM32F302 Nucleo-64) to have a quick look at the STM
Is there some simple 'Hello, World!'-style tutorial, that shows setting up an UART for printf() and possibly basic use of timers? I want to use a free toolchain (I have the arm-none-eabi-gcc Debian package installed, and compiled texane stlink). I want to avoid the use of complex or non-free stuff (IDE, Cube, libraries such as SPL or HAL). Basically I'm looking for a tutorial like the
http://www.colecovision.eu/stm8/STM8S-DISCOVERY%20Serial.shtml
, but for an STMPhilipp
P.S.: By 'with standard library' I mean that functions from the standard library that make sense for, but are not required by, a freestanding C implementation (e.g. the string.h stuff) should be available.
#bare-metal-arm #gcc #stm32f0 #tutorial Note: this post was migrated and contained many threaded conversations, some content may be missing.