Closed
Description
Parent issue: #2
Next steps:
- rustc: Enable the MSP430 LLVM backend, implement cabi stuff,
etc. See enable the MSP430 LLVM backend rust-lang/rust#37672 - Experiment with a custom target out of tree. Please document everything you do! You don't have to write a tutorial but take note of all the tools you use, the environment you used, the steps you did. Bonus points if you write down the outputs of running
readelf -h
andobjdump -Cd
on your (working) programs. LED blinking example - rustc: fix the LLVM assertion reported in LLVM assertion when compiling
core
for the MSP430 architecture rust-lang/rust#37829. It block us from compiling the core crate - rustc: unrecognized character `@' in symbol names. [MSP430] Do not generate '@' character in symbol names. rust-lang/rust#38286. It's also blocking us from compiling core.
- rustc: add a "msp430-interrupt" ABI to support interrupts as
extern "msp430-interrupt" fn
. (Done in calling convention for MSP430 interrupts rust-lang/rust#38465) - rustc: support the
__bic_SR_register_on_exit
gcc built-in somehow. Needed to enter/leave low-power mode. - Write documentation about writing/compiling/flashing/debugging Rust
programs for this target. (See https://github.com/pftbest/rust_on_msp) - Add a built-in MSP430 target to rustc
- 🎉