Code Monkey home page Code Monkey logo

stm32-docker's Introduction

Docker for STM32CubeDE

download STM32CubeDE for Ubuntu

en.st-stm32cubeide_1.12.0_14958_20230224_1824_amd64.deb_bundle.sh.zip

TODO download with docker

Build the image

The default UID:GID is 1000:1000. To build with adding the desired user, use:

docker build --build-arg USER_ID=$(id -u <username>) --build-arg GROUP_ID=$(id -g <username>) -t stm32 .

Build the project

cd <STM32CubeIDE project dir>

Import project to workspace.

Clean and build the workspace

docker run -u $(id -u):$(id -g) --rm -v ${PWD}:/workdir/project stm32 /bin/bash -c '\
	cd STM32CubeIDE && \
	stm32cubeide -noSplash \
	-data /workdir/cube_ide_workspace  \
	-application org.eclipse.cdt.managedbuilder.core.headlessbuild \
	-import /workdir/project/STM32CubeIDE \
	-build all'

stm32-docker's People

Contributors

blacix avatar

Watchers

 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.