Commit Graph

46 Commits

Author SHA1 Message Date
droogmic
d2351e6049 Merge pull request #8 from rossjones/patch-1
Update macOS setup text
2019-11-22 08:16:27 +01:00
Ross Jones
eeabf6b056 Update macOS setup text
The gcc-arm-embedded cask has been removed in favour of a not-yet-implemented normal homebrew formula.
I've tried the above however (as documented in the linked casks PR) and it works as advertised for now.
2019-10-26 14:57:02 +01:00
droogmic
0fdc235a3c Merge pull request #6 from mogenson/master
fixup serial output example so that it builds correctly
2019-10-16 21:08:14 +02:00
droogmic
aa3cc8bcb3 Merge pull request #7 from dstutman/patch-1
Fixes rust-lld errors when building example
2019-10-16 21:07:47 +02:00
Daniel Stutman
8545dda435 Fixes rust-lld errors when building example
Building the previous main.rs failed with: ERROR(cortex-m-rt): The interrupt vectors are missing.
Including the microbit crate in the example fixes this.
2019-04-20 22:16:56 +02:00
Michael Mogenson
7641877efe Remove unused mut
`gpio` does not need to be mutable. Remove `mut` to silence build
warning.
2019-03-27 11:39:35 -04:00
Michael Mogenson
d37d5726ce write_fmt() method needed for write!() macro
Include `use core::fmt::Write;` in serial example.
2019-03-27 11:37:44 -04:00
droogmic
2e48356a55 Merge pull request #4 from mogenson/master
Fixup Getting Started -> Building page
2019-03-17 10:28:26 +01:00
Michael Mogenson
feec6bfb2a Bump microbit crate version to the latest: ~0.7 2019-03-14 10:49:41 -04:00
Michael Mogenson
78bf6ff538 Remove semicolon after #[entry]
Otherwise you get the following build error:

```
error: expected item after attributes
 --> src/main.rs:8:8
  |
8 | #[entry];
  |        ^
```

This one confused me for awhile.
2019-03-14 10:47:26 -04:00
Michael Mogenson
9c6bcd2ee8 Use panic-halt crate, panic-abort requires nightly toolchain features
When trying to follow the Getting Started->Building instructions, the
`panic-abort` crate throws the following build error on rust stable
version 1.33:

```
   Compiling panic-abort v0.3.1
error[E0554]: #![feature] may not be used on the stable release channel
  --> /home/mike/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-abort-0.3.1/src/lib.rs:22:1
   |
22 | #![feature(core_intrinsics)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
  --> /home/mike/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-abort-0.3.1/src/lib.rs:23:1
   |
23 | #![feature(panic_handler)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0554`.
error: Could not compile `panic-abort`.

To learn more, run the command again with --verbose.
```

Switch to the `panic-halt` crate that builds on stable and provides the
`#[panic_handler]` function necesary to get a minimal successful build.
2019-03-14 10:37:41 -04:00
bors[bot]
c2d5c26e49 Merge #3
3: 201810 updates r=droogmic a=droogmic



Co-authored-by: Michael Droogleever <droogmic@gmail.com>
2018-10-13 21:28:55 +00:00
Michael Droogleever
590efd3cfd fix mdbook broken links 2018-10-13 23:00:57 +02:00
Michael Droogleever
498601c451 bump rust nightly 2018-10-13 22:42:03 +02:00
Michael Droogleever
1edb3b94e3 small fixes 2018-10-13 22:37:28 +02:00
Michael Droogleever
28e7da3ad1 bump mdbook to v0.2.1, fix ci and links 2018-10-13 22:34:32 +02:00
Michael Droogleever
ec59c1c010 fix broken include 2018-10-13 22:10:13 +02:00
Michael Droogleever
da3e868599 2018-10 version bumps and compatibility updates 2018-10-13 21:52:28 +02:00
Michael Droogleever
cac16f3494 fix CI 2018-08-18 23:57:24 +02:00
Michael Droogleever
b12fb9f827 Add serial examples 2018-08-18 23:12:14 +02:00
Michael Droogleever
ecdbd8d730 Merge branch 'master' of github.com:droogmic/microrust 2018-08-18 02:12:00 +02:00
Michael Droogleever
4d2447c942 fix visual issues 2018-08-18 02:11:30 +02:00
Michael Droogleever
29cb6f45f7 small clippy fixes 2018-08-18 02:02:46 +02:00
Michael Droogleever
bf5cb69f27 Add missing serial files 2018-08-18 01:54:43 +02:00
Michael Droogleever
25c069df83 Add microbit chapter 2018-08-18 01:51:41 +02:00
Michael Droogleever
52b530ed2c Multiple changes
Fix #1
Add serial chapter
Small fixes everywhere
2018-08-18 01:46:27 +02:00
droogmic
8e5f4c9e20 Merge pull request #2 from fmmrtns/fix/verify-documentation
fix 'openocd -f' command typo in VERIFY.md
2018-08-08 21:56:55 +02:00
Fernando Martins
fc77328fc3 fix 'openocd -f' command typo in VERIFY.md 2018-08-07 15:30:30 +02:00
Michael Droogleever
4be31b3ab7 ci fix for master 2018-07-29 20:18:39 +02:00
Michael Droogleever
e5e1162c43 ci update, run build checks on master 2018-07-29 20:10:30 +02:00
Michael Droogleever
1493583bf0 Small fixes, add full code display solution 2018-07-29 20:02:18 +02:00
Michael Droogleever
9d022cd9b8 small fixes, add ganalytics 2018-07-22 19:54:15 +02:00
Michael Droogleever
cb2fecd20f small fixes 2018-07-22 17:18:49 +02:00
Michael Droogleever
9931a3b241 Continued improvements, leddisplay solution, linkchecker cache, etc. 2018-07-22 17:04:40 +02:00
Michael Droogleever
b81ea7156d Fix install script with full build 2018-07-22 02:30:07 +02:00
Michael Droogleever
a1fa694add fix mdbook versioning and index.hbs 2018-07-22 01:26:23 +02:00
Michael Droogleever
2fe5a7d5a8 fix build issue on project level 2018-07-22 00:07:36 +02:00
Michael Droogleever
9ec744b942 fix hello-world not building 2018-07-21 23:44:42 +02:00
Michael Droogleever
2150659783 Fix links, add github link 2018-07-21 23:35:44 +02:00
Michael Droogleever
c5de62831e Development progress
- many small fixes
- add hello-world
- fix source code
2018-07-21 22:22:56 +02:00
Michael Droogleever
ffc7b9dfec add dev branch to ci 2018-07-08 21:07:05 +02:00
Michael Droogleever
3a02c4fad3 fix broken links 2018-07-08 21:00:55 +02:00
Michael Droogleever
2229b2b5a0 Update setup and getting-started, add display 2018-07-08 20:51:21 +02:00
Michael Droogleever
a7c1fc0c92 Add encrypted environment variable to push to gh 2018-07-03 00:06:12 +02:00
Michael Droogleever
a764c7303b Add future structure as WIP 2018-07-02 23:23:40 +02:00
Michael Droogleever
8e05dfd010 Initial commit
Much of the content here is a direct port from https://github.com/japaric/discovery
2018-07-02 23:04:56 +02:00