Skip to content

Commit c7511d8

Browse files
committed
Fix readme
1 parent 712e071 commit c7511d8

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

README.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,18 @@
66

77
This project can be compiled using nightly rust and [xargo](https://github.com/japaric/xargo).
88

9-
Tested using version `1.15.0-nightly (8f02c429a 2016-12-15)`.
9+
Tested using version `1.15.0-nightly (8f02c429a 2016-12-15)`
1010

1111
Steps:
12-
* First, install msp430-elf-gcc compiler, and make sure it is in your $PATH.
12+
* First, install `msp430-elf-gcc` compiler, and make sure it is in your `$PATH`.
1313
You can get it from [here](http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/index_FDS.html).
14-
* Install nightly rust
15-
16-
`$ rustup default nightly`
17-
* Install xargo
18-
19-
`$ cargo install xargo`
20-
* Build the project using
21-
22-
`$ make`
23-
14+
* Install nightly rust: `rustup default nightly`
15+
* Install xargo: `$ cargo install xargo`
16+
* Build the project: `$ make`
2417
* or you can build it using xargo directly (if you don't like `make`)
2518

2619
`$ xargo build --release --target msp430g2553`
27-
28-
* Flash the firmware using `mspdebug`
29-
30-
`$ make prog`
20+
* Flash the firmware using mspdebug: `$ make prog`
3121

3222
## How it works
3323

@@ -50,7 +40,7 @@ Steps:
5040
is not possible to use interrupts yet (other than reset), because rust doesn't have a special
5141
calling convention for MSP430 interrupts.
5242

53-
## Proting to other boards and MCUs
43+
## Porting to other boards and MCUs
5444

5545
To run this code on the other boards and MCUs, you need to change it in few places:
5646
* Get a linker script for your MCU from msp430-elf-gcc include directory, and place it

0 commit comments

Comments
 (0)