Skip to content

Toolchain Updates#390

Open
djphazer wants to merge 6 commits intowestlicht:masterfrom
djphazer:toolchain
Open

Toolchain Updates#390
djphazer wants to merge 6 commits intowestlicht:masterfrom
djphazer:toolchain

Conversation

@djphazer
Copy link

(This firmware seems inactive, but I'm putting this here for posterity and visibility.)

In preparation for future hacking, I've managed to update the toolchain (gcc 14.2), core library (libopencm3), and GitHub Actions CI workflow.

I had to make a few fixes to please the compiler (missing includes, lib API changes) and I disabled the post-process build step that generates a ".map" file due to a linker error. There are still some linker warnings... hopefully they aren't serious! I haven't tested the Simulator platforms at all, but they build successfully. The 4.0 series of emsdk broke the WASM build, so I held that one back to 3.1.74.

The CI workflow will produce an artifact file with the hardware binaries for every run, making it easier to build and test if you don't have a local toolchain set up (e.g. on Windows).

djphazer and others added 6 commits January 15, 2025 14:58
Works with aarch64 on RPi4.
Version 10.2, not 10.3, because newer linker complains about not being able to
link an executable into a new executable.
upload artifact
use macos-latest, ubuntu-latest
use last known good version of emsdk
Disabled generating .map file in postprocess - allows newer toolchain/linker to succeed
some missing includes
@tl072
Copy link

tl072 commented Jan 29, 2025

Hey, I too hope that the firmware for this continues to be developed. Certainly can't demand that given how work they did to make a wonderful device available to everyone.

Anyways, I saw this PR pass through my email and wanted to say thanks for the efforts on it! At some point I will get back to poking around the firmware to see if I can make any little contributions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants