Skip to content

Instantly share code, notes, and snippets.

@kassane
Created April 1, 2024 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kassane/253f4829c21c1e7f453757e97d89116d to your computer and use it in GitHub Desktop.
Save kassane/253f4829c21c1e7f453757e97d89116d to your computer and use it in GitHub Desktop.
Modm.io - C++ modern for embedded - STM32
# Based on: https://modm.io/guide/installation/
FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y \
python3 \
python3-pip \
scons \
cmake \
gcc-avr \
avr-libc \
avrdude \
gcc-arm-none-eabi \
gdb-arm-none-eabi \
openocd \
doxygen \
git \
libncursesw5 \
gdb \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install lbuild
RUN pip3 install gdbgui
RUN git clone --recurse-submodules https://github.com/modm-io/modm.git
WORKDIR /embedded/app
# CMD ["gdbgui", "--port", "5000", "--host", "0.0.0.0"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment