A minimal bare-metal firmware project (bare) for the STM32F072 target, used
to set up the development environment: CMake, the GNU ARM toolchain, and the
Renode emulator. The Dockerfile builds the container image with all tools
installed.
docker pull mahmutbegovic/cpp_in_embedded_systems:latest
docker run -d -it --name dev_env mahmutbegovic/cpp_in_embedded_systems
docker exec -it dev_env /bin/bash
From bare:
cmake -B build
cmake --build buildcmake --build build --target run_in_renodeOutput is printed over the emulated UART. Quit Renode with q in its console.