STM32 Development Env for Windows: VSCode + ARM GCC Toolchain + OpenOCD

In this tutorial I’ll shortly describe how I setup my development environment for the STM32 micros. STM32L433 will be used as an example but the following process shall be applicable to any other STM32 micro. Step 1: Get the Toolchain In order to make the whole development process portable (i.e. to allow other parties to…

Building bare-metal STM32L4 firmware using Clang/LLVM

In this tutorial I’ll show you how to build a basic bare-metal application for Cortex-M4F micro-controller using LLVM without having to resort to building the LLVM toolchain itself which can be tedious and time consuming. All in all LLVM is recognized for it’s ability to compile for different architectures (a.k.a cross-compile) so we should be…