This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RUST crypto library for nRF52832

Hi

Have anyone used Rust base crypto library on nRF52-DK dev board?


I've tried to use ring in my Rust project and set target to "thumbv7em-none-eabi", but I got an error below which makes me question if Cortex-M4 is supported by it?

 Error: attempt to use an ARM instruction on a Thumb-only processor -- `vld1.64 {q9},[r1]'


Then I tried to use rust-crypto crate and got another error.

error[E0463]: can't find crate for `std`
  |
  = note: the `thumbv7em-none-eabi` target may not be installed

However, I can build my project with target set to thumbv7em-none-eabi without problem. Just curious if anyone had this problem before?

Thanks
Jack

  • Hi,

    Unfortunately we have little experience with third party solutions such as using Rust on our nRF devices. I will check to see if I can find anyone here at Nordic who can weigh in, but your best bet would be to approach the Embedded Rust community. The Rust community has their own forum with an Embedded section that you can check out. Remember to check their other resources, and see if the question is asked previously, before starting a new thread there.

    Other DevZone users may also of course have something to share here, (please provide answers if you do!) but dedicated Rust resources are likely to be more to the point and provide quicker assistance.

    Regards,
    Terje

Related