Debug: update PyCortexMDebug to latest and refactor (#574)

* Debug: update PyCortexDebug to latest and refactor.
* Debug: format sources. Dockerfile: add missing dependency. Make: switch to gdb-py.
* Debug: port PyCortexMDebug to python2
* Docker: add missing debug dependencies
* Debug: cleanup local include in svd_gdb.py
This commit is contained in:
あく
2021-07-12 05:13:01 +03:00
committed by GitHub
parent c3fda0c8c3
commit 5ae3d60101
7 changed files with 405 additions and 188 deletions

View File

@@ -20,7 +20,9 @@ RUN apt-get update && \
unzip \
build-essential \
python \
python-dev \
python-pip \
python-setuptools \
python3 \
imagemagick \
srecord \
@@ -29,6 +31,9 @@ RUN apt-get update && \
dfu-util \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN pip install lxml
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
RUN wget --progress=dot:giga -O - "https://apt.llvm.org/llvm-snapshot.gpg.key" | apt-key add - && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-12 main"
@@ -48,7 +53,7 @@ RUN wget --progress=dot:giga "https://developer.arm.com/-/media/Files/downloads/
cd gcc-arm-none-eabi-10-2020-q4-major/bin/ && \
for file in * ; do ln -s "${PWD}/${file}" "/usr/bin/${file}" ; done && \
cd / && arm-none-eabi-gcc -v && arm-none-eabi-gdb -v
# install hex2dfu
# hadolint ignore=DL3003