Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ RUN --mount=type=cache,target=/var/cache/dnf,id=dev-dnf \
ln -sf /usr/bin/clang /usr/bin/cc && \
ln -sf /usr/bin/clang++ /usr/bin/c++

RUN git clone --single-branch --depth 1 -b "develop" https://github.com/stlink-org/stlink.git /tmp/stlink
RUN git clone --single-branch --depth 2 -b "develop" https://github.com/CreaxxOG/stlink.git /tmp/stlink && \
cd /tmp/stlink && \
git fetch origin 6622e2c4b9e28296ef14e7a0740b388eccb47987 && \
git checkout 6622e2c4b9e28296ef14e7a0740b388eccb47987
RUN --mount=type=cache,target=/tmp/stlink/build \
cd /tmp/stlink && \
make -j release && \
make install && \
ldconfig
cd /tmp/stlink && \
make -j release && \
make install && \
ldconfig

# Fix for Fedora not finding libstlink.so.1
ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ An RTOS designed and verified to enable reliable software updates and operation

### Development & Debugging Tools
These tools are used for flashing, debugging, and other development tasks.
* `stlink`: For flashing and debugging on STM32 hardware.
* [stlink (Fork)](https://github.com/CreaxxOG/stlink): For flashing and debugging on STM32 hardware.
* `arm-none-eabi-gdb`: The GNU debugger for ARM targets.
* `cargo-binutils`: Provides `objdump`, `objcopy`, etc. for Rust.

Expand Down
Loading