Show newer

@lupyuen I feel like an idiot rn. I reversed engineered some blobs in the sdk into nearly perfect C for the BL602. Am I missing something?

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 thread

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/

Show thread

@lupyuen
Theres mismatch during linking betweem floatlib selecting option while two object files were being compiled.

Is the rust crate available both in soft and hard float or is there only single version of crate binaries available?

If available you need to select other softlib version to match your objs compilation option. If not avail, you may either wai on it being made avail or recompiling a crate yourself. Still thanks for attempting.

Legal threats against good faith Security Researchers ... Vulnerability disclosure gone wrong

github.com/disclose/research-t

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.