Compare commits

..

No commits in common. "b2133c610c834190f4fbcb59a3f1752816c98a1a" and "fced67d7c55ab417048dfaa0066444f1c8bbc78a" have entirely different histories.

3 changed files with 9 additions and 8 deletions

View File

@ -9,20 +9,21 @@ RUN apk add \
perl \ perl \
autoconf \ autoconf \
automake \ automake \
texinfo texinfo
COPY *.patch /
RUN git config --global user.email "tkl@blackfinn.de" RUN git config --global user.email "tkl@blackfinn.de"
RUN git config --global user.name "Thomas Klaehn" RUN git config --global user.name "Thomas Klaehn"
# Openocd
COPY 0001-openocd-poll.patch /
COPY cc3200.cfg /
COPY openocd-cc3200 /bin
RUN git clone --single-branch --branch v0.9.0 --depth 1 https://repo.or.cz/openocd.git \ RUN git clone --single-branch --branch v0.9.0 --depth 1 https://repo.or.cz/openocd.git \
&& cd openocd \ && cd openocd \
&& git am /0001-openocd-poll.patch \ && git am /*.patch \
&& ./bootstrap \ && ./bootstrap \
&& ./configure \ && ./configure \
&& make \ && make \
&& make install && make install
COPY cc3200.cfg /
COPY start_openocd.sh /bin

View File

@ -8,5 +8,5 @@ docker build -t cc3200-env .
### Openocd server ### Openocd server
docker run --privileged -p 3333:3333 cc3200-env openocd-cc3200 docker run --privileged -p 3333:3333 cc3200-env sh start_openocd.sh

View File

@ -1,4 +1,4 @@
#!/bin/sh #/bin/sh
openocd -f /cc3200.cfg openocd -f /cc3200.cfg