Coder Social home page Coder Social logo

hish15 / stm32-toolchain-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lpodkalicki/stm32-toolchain-docker

0.0 0.0 0.0 9 KB

Dokerized STM32 toolchain.

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 73.23% Shell 26.77%

stm32-toolchain-docker's Introduction

Overview

Lightweight docker image built on top of alpine:3.10 with installed ARM-none-eabi toolchain and few additional tools:

  • ARM-none-eabi toolchain (2020; GNU Tools for Arm Embedded Processors 9-2020-q2-update)
  • stlink (v1.5)
  • make (v4.2)
  • cmake (v3.14)

DockerHub: https://hub.docker.com/r/lpodkalicki/stm32-toolchain

Building image locally

git clone [email protected]:lpodkalicki/stm32-toolchain-docker.git
cd stm32-toolchain
docker build --rm -t lpodkalicki/stm32-toolchain:latest .

An example of running toolchain binary

docker run --rm --privileged -v $(pwd):/build lpodkalicki/stm32-toolchain arm-none-eabi-cpp -version

Installing

Bellow you can find recommended simple one-line installer that pulls the newest docker-image and installs stm32-toolchain script into "/usr/bin/" directory.

curl https://raw.githubusercontent.com/lpodkalicki/stm32-toolchain-docker/master/install.sh | bash -s --

Getting started

  1. Install toolchain using recommended simple one-line installer.
  2. Use super command stm32-toolchain for all toolchain binaries.
  3. Execute toolchain binaries inside your working/project directory.

Examples

$ cd your-project/
$ stm32-toolchain arm-none-eabi-cpp --version
$ stm32-toolchain st-flash --version
$ stm32-toolchain make -version
$ stm32-toolchain cmake -version
$ stm32-toolchain make && make flash

stm32-toolchain-docker's People

Contributors

lpodkalicki avatar nuhackbarth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.