Open ssnover opened 5 years ago
Hi @ssnover,
I'm feeling my way around also around this TI launched and found your comment.
Checking the error message you had, I ran:
-<%>- rustc --print target-list | grep msp
msp430-none-elf
So you see the target is named msp430-none-elf
Hello, I see that this repository is marked work in progress. I'm trying to get a Rust toolchain up and running to develop for TI's MSP430 Launchpad board with the MSP430G2553. I'm trying to build
blinky.rs
but without directions I'm stuck trying to piece some stuff together.I've got a typical Rust project set up where I have
Cargo.toml
,Xargo.toml
, andmemory.x
replicating the file in this repo andmain.rs
replicatingblinky.rs
. Finally, I have a file in.cargo/config
with the following contents:When I run
cargo build
orxargo build
I get identical results:I'm on nightly, however I'm not able to install the msp430 target:
error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not contain component 'rust-std' for target 'msp430'
Is there something I'm missing? I'd be happy to write something up once I've got it working to add to this repository for those following, but I'm a little stuck right now :smiley: I'm pretty new to Rust, with considerably more experience developing for embedded (I've just rewritten a couple algorithms homeworks in Rust to get a feel for it).
Thanks!