Created
April 1, 2024 20:14
-
-
Save kassane/253f4829c21c1e7f453757e97d89116d to your computer and use it in GitHub Desktop.
Modm.io - C++ modern for embedded - STM32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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