Skip to content

Commit

Permalink
Merge pull request #1 from adamgreen/master
Browse files Browse the repository at this point in the history
Minor updates to Makefile and README
  • Loading branch information
0xc0170 committed Dec 18, 2014
2 parents d4751be + 39070fa commit 9c9fce1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ frdm-kl25z-blinky.bin: frdm-kl25z-blinky.elf
$(OBJCPY) -O binary $< $@

libcore: libcore.rlib

libcore.rlib:
$(RUSTC) $(RUSTFLAGS) ../rust/src/libcore/lib.rs

print_info:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ Blinky demo for FRDM-KL25Z
Simple blinky demo for FRDM KL25Z written in Rust. Red LED should be blinking.
I have tested it with the rust nightly (rustc 0.13.0-nightly (193390d0e 2014-12-11 22:56:54 +0000)).

The latest version of the Rust compiler can be installed from http://www.rust-lang.org/install.html

To be able to run this demo, libcore library is needed. Clone the rust repository
from github, and run make libcore (rust should be in the same directory as this demo).

```
git clone https://github.com/0xc0170/frdm-kl25z-rust.git
git clone https://github.com/rust-lang/rust.git
cd frdm-kl25z-rust
make libcore
Expand Down

0 comments on commit 9c9fce1

Please sign in to comment.