cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP2Dev Rust updates

BScaramella_UA
Associate

I was excited to see the Rust support for the Developer Package (seen here and here)

However, I am having some issues with the fact that the provided toolchain is version 1.75 rustc and cargo. Mostly the fact that this version cannot use dependencies which use Rust edition 2024.

I know I can go through dependencies one by one and downgrade them to earlier versions until there are no edition 2024 dependencies, but this is pretty tedious and doesn't seem like a great solution in the long run.

Is there any chance that the MP2 Dev Rust addon could be updated to a more recent version?

Or if that isn't possible, is there any advice on other ways to update the provided toolchain or create a custom rust toolchain using the mp2 dev tools?

Thanks!

1 REPLY 1
JeanPhilippeR
ST Employee

Hello @BScaramella_UA ,

the Rust version is the one coming with the Scarthgap Yocto version on which the current OpenSTLinux distribution is using.

You can check for moving to newest version by updating the corresponding OE recipe, but there is a risk to face dependencies issues.

BR

Jean-Philippe