If you are already using dfu-util, you can just download the ARM gcc toolchain and compile locally and then use dfu-util to flash the code to your core. If you can type “make all” in a shell, you can do it and here’s how:
Note that the library format with three repos will be changing shortly but I believe this is still the current way.