Here's the Custom Target for : "riscv32imacf-unknown-none-elf" ... We set "llvm-abiname" to "ilp32f" for Single-Precision Hardware Floating Point ... Similar to "gcc -mabi=ilp32f"

github.com/lupyuen/bl_iot_sdk/

Our Custom Target for also needs "features" set to "+m,+a,+c,+f" ... Figured this out by comparing the Standard Rust Targets "riscv32imac-unknown-none-elf" and "riscv64gc-unknown-none-elf" (64-bit , double-precision hardfloat)

github.com/lupyuen/bl_iot_sdk/

Show newer

@lupyuen
Could it be a mistyped 'K' for crypto extension?

@jeancf That's what the BL602 firmware says when it boots ... Also the letters seem to be sorted, so X looks kinda correct 🤔

Show newer

@lupyuen
Btw by using rust you are one step closer to switching to clang. Good for you. Great for project. Afaik fyi official rust compiler is llvm based thus connected to clang.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.