Skip to content

Dockerfile for Alpine Linux based machine for building bare-metal Cortex-Mx applications

License

Notifications You must be signed in to change notification settings

MightyDevices/docker-llvm-arm-none-eabi-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

docker-llvm-arm-none-eabi-builder

Dockerfile for Alpine Linux based machine for building bare-metal Cortex-Mx applications with LLVM This Dockerfile was made as a part of the following tutorial: https://mightydevices.com/index.php/2019/09/building-bare-metal-stm32l4-firmware-using-clang-llvm/

How to use this in the build process

  1. Open a terminal (console).
  2. Build the image from the Dockerfile provided: docker build -t llvm-arm-none-eabi .
  3. Start this image in the background (detached mode) with the directory sharing: docker run --name llvm-arm-none-eabi-container --rm -v absolute/path/to/your/project/:/share -d -it llvm-arm-none-eabi sh
  4. Every time you want to build your project then from the console or the IDE issue the following command: docker exec llvm-arm-none-eabi-container sh -c "cd /share && make"
  5. After your done you can stop the container by issuing: docker stop llvm-arm-none-eabi-container

About

Dockerfile for Alpine Linux based machine for building bare-metal Cortex-Mx applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published