Closed zoobab closed 1 year ago
This patch to the Makefile spacings fixed the issue:
https://gitlab.com/encrypt/unicore-mx/-/commit/ae26cf298ab9508082c62ecc9aa9fe02330924fb
Gotta update unicore-mx sometime soon (#66), is this patch present in the official upstream?
Yes it is in the upstream.
Tried upstream, it seems to build, will try to flash it on a bluepill...
Now Alpine 3.14 and 3.15 have the ARM cross-compilers (finally!), you can use:
FROM alpine:3.15 RUN apk add python2 make gcc-arm-none-eabi newlib-arm-none-eabi git
This works for me:
FROM alpine:3.15 RUN apk add python2 make gcc-arm-none-eabi newlib-arm-none-eabi git RUN mkdir -pv /code COPY . /code WORKDIR /code RUN git submodule init RUN git submodule sync RUN git submodule update RUN make PLATFORM=bluepill RUN make PLATFORM=stlinkv2 RUN make PLATFORM=stlinkv2dfu RUN make PLATFORM=baite RUN make PLATFORM=olimexstm32h103 RUN make PLATFORM=stlinkv2white
Fixed in #97
Hi,
I just found out that someone packages the cross-compilers for ARM for Alpine, so I rewrote the Dockerfile to use it:
But when I build it I have this weird shell error, adding bash does not help:
Any idea?