Welcome to axem's tutorial on a modern
Development Environment using the DEM
Before beginning this tutorial, we recommend that you first read the accompanying documentation for a comprehensive understanding of the DEM tool and the Development Environments. This will provide you with essential background information and ensure a smoother learning experience throughout the tutorial.
You'll learn how to create, install, and manage containerized Development Environments on Linux, and use them with VS Code.
Currently the DEM only works on Linux, so this tutorial is for Linux only.
- Ubuntu 22.04
- Debian 11
The tutorial covers the following topics:
- How to install and manage predefined containerized Development Environments provided by axem
- How to use a containerized Development Environment with VS Code
- How to create a new Development Environment from the containerized tools of your choice
By completing this tutorial, you should be able to set up a working Development Environment, which you can use to create embedded applications.
If you get stuck at any step, you can check out the example repo, which contains a complete reference project.
In this tutorial, we will create a basic embedded project – blinking LEDs with an STM32F103 on a NUCLEO-F103RB board. You can use the processor of your choice, but then you'll need to handle the hardware-specific parts by yourself.
The project skeleton will be generated with the STM32CubeMX tool, which will allow us to use the HAL provided by ST. The example project's Development Environment will consist of the following tools:
- Build system: make
- Toolchain: gnu-arm-none-eabi
- Debugger and deployer: stlink-org
- Test environment: CppUTest
For demonstration purposes, we'll be using VS Code as the editor. If you'd like to use these tool images with another editor and need some help, feel free to send us a message.