I’m learning to build a simple bare metal program (without Linux OS) for Raspberry Pi (gen 1).
However, I don’t know how to setup the cross-compiler under the hood of xargo. There are docs on rust-cross about RPI 2 but not about RPI 1.
Is there some example how to do it? I’ve tried several existing repos on github but all failed to compile.
EDIT: When pass xargo --target armv6-none-eabi I get ‘Could not find specification for target “armv6m-none-eabi”’. However, --target thumbv7m-none-eabi works for STM32 (CortexM arch)