Skip to content

amamory-embedded/qemu-stm32-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

docker image for STM32 Develpment

Docker Hub

Dockerfile for qemu for STM32 devices on Ubuntu 18.04 including some nice programming environments, libraries, and examples such as:

Downloading

$ docker pull amamory/qemu-stm32

Running and existing example

$ docker run --name stm32 -it --rm -v $PWD:/work amamory/qemu-stm32 qemu-system-arm \
  -M stm32-p103 -s \
  -kernel /usr/src/app/stm32/stm32_p103_demos/demos/freertos_singlethread/main.elf

Debugging the example in the running container

$ docker exec -it stm32 arm-none-eabi-gdb  /usr/src/app/stm32/stm32_p103_demos/demos/freertos_singlethread/main.elf

Building an existing example inside container

$ docker run -it --rm -v $PWD:/work amamory/qemu-stm32 bash 

$ make -C ./stm32_p103_demos/ clean freertos_singlethread_ALL

Building your own projects

$ docker run -it --rm -v $PWD:/work amamory/qemu-stm32 arm-none-eabi-gcc \
  -mcpu=cortex-m3 \
  hello_app.c -o hello_app

Running your own project

$ docker run --rm -v $PWD:/work amamory/qemu-stm32  qemu-system-arm \
  -M stm32-p103 -s \
  -kernel ./hello

About

Dockerfile for qemu for STM32 devices on Ubuntu 18.04

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy