Commit Graph

190 Commits

Author SHA1 Message Date
Jorge Aparicio 52f2e8c604 Merge pull request #49 from rust-embedded/main-itm
break on main; restore ITM configure
2018-09-24 07:22:22 +02:00
Jorge Aparicio 69700e1438 add commented out ITM configuration
this got lost in a previous commit
2018-09-24 03:56:39 +02:00
Jorge Aparicio e6dabb3c34 try to break at main
the symbol is now stable. However, in optimized build it may be inlined into
Reset
2018-09-24 03:55:52 +02:00
Jorge Aparicio a7f68f41cb Merge pull request #45 from rust-embedded/generate
[RFC] move to cargo-generate; start with QEMU
2018-09-18 01:04:37 +02:00
Jorge Aparicio cffc15846a bump dependencies 2018-09-18 00:38:06 +02:00
Jorge Aparicio 3b8fede353 note that 1.30-beta is not out yet 2018-09-18 00:37:22 +02:00
Jorge Aparicio 4e6d85e9a1 minify 2018-09-18 00:33:26 +02:00
Jorge Aparicio 300338f29d quieter GDB 2018-09-15 03:15:32 +02:00
Jorge Aparicio ac4dd36e94 change the link to the book
book.rust-embedded.org is pointing to an old version
2018-09-14 19:29:42 +02:00
Jorge Aparicio 728d57d002 openocd.cfg: add support for older revisions of the discovery 2018-09-14 19:04:27 +02:00
Jorge Aparicio 9facab2960 backport fixes from the book plus other small updates 2018-09-13 21:40:25 +02:00
Jorge Aparicio 7faeedd95a move out most of text
see https://github.com/rust-embedded/book/pull/20
2018-09-08 22:37:43 +02:00
Jorge Aparicio 77a0685a17 move to cargo-generate; start with QEMU 2018-09-08 22:36:55 +02:00
bors[bot] 8a8466a560 Merge #46
46: bump dependencies r=adamgreig a=japaric

r? @rust-embedded/cortex-m (anyone)

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-09-03 15:04:28 +00:00
Jorge Aparicio 666bf52748 bump dependencies 2018-09-03 16:57:03 +02:00
bors[bot] 7e36bbe1df Merge #44
44: dedup contents of .cargo/config; don't depend on auto-load-safe-path being set r=ithinuel a=japaric

see individual commit messages for details

unfortunately this didn't come up as nice as I expected because there seems to
be a bug around `target.cfg.runner` (rust-lang/cargo#5946). Still, I think this
is an improvement.

r? @rust-embedded/cortex-m

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-08-29 22:26:27 +00:00
Jorge Aparicio 4265e01ef7 add a comment indicating which core each target maps to 2018-08-29 16:55:50 +02:00
Jorge Aparicio 98137712a5 workaround rust-lang/cargo#5946 2018-08-29 15:15:40 +02:00
Jorge Aparicio 065efc83fb be explicit about the GDB script to use
with this change the user doesn't need to set an [auto-load-safe-path]

[auto-load-safe-path]: https://sourceware.org/gdb/onlinedocs/gdb/Auto_002dloading-safe-path.html
2018-08-29 14:26:24 +02:00
Jorge Aparicio b43bd7d20d deduplicate the contents .cargo/config
using `cfg`s. Also add all the possible compilation targets to .cargo/config.
2018-08-29 14:23:25 +02:00
bors[bot] 3da03fc6b8 Merge #43
43: add CHANGELOG for v0.3.4 r=adamgreig a=japaric

r? @rust-embedded/cortex-m (anyone)

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-08-28 19:51:15 +00:00
Jorge Aparicio 1fdaec36bd add CHANGELOG for v0.3.4 2018-08-28 21:41:37 +02:00
bors[bot] 217ebb3a79 Merge #42
42: v0.3.4 r=therealprof a=japaric

a few more updates before the next release

r? @rust-embedded/cortex-m

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-08-28 14:07:43 +00:00
Jorge Aparicio 5063e90960 v0.3.4 2018-08-28 15:56:49 +02:00
bors[bot] 73ced50a21 Merge #41
41: use LLD as the default linker r=therealprof a=japaric

closes #39

I added instructions on how to switch to a different linker to .cargo/config but
I don't think that's too visible. Beginners are unlikely to look into that file
if they run into problems with the default linker. Any suggestions to improve
the visibility of that information?

Also, don't merge this until the default linker changes for the Cortex-M targets
on nightly as this relies on that change.

r? @rust-embedded/cortex-m

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-08-28 13:15:12 +00:00
Jorge Aparicio b89c76e3fc use size instead of arm-none-eabi-size 2018-08-28 14:55:02 +02:00
Jorge Aparicio 7bb74b2123 fix some warnings 2018-08-28 14:54:40 +02:00
Jorge Aparicio 0eaa0de3c6 update the minimal example 2018-08-27 22:52:02 +02:00
Jorge Aparicio 3e39a0b927 publish docs on GH pages 2018-08-27 17:44:55 +02:00
Jorge Aparicio a79ea9bee7 bump dependencies to not depend on arm-none-eabi-gcc 2018-08-27 17:39:07 +02:00
Jorge Aparicio 34d34975c3 update symptom for the 'overwrite .cargo/config' problem 2018-08-27 15:19:48 +02:00
Jorge Aparicio 72e914069c use LLD as the default linker
closes #39
2018-08-25 19:32:28 +02:00
Jorge Aparicio 014dab642a tweak bors.toml 2018-08-11 19:37:39 -05:00
bors[bot] cb68ff7248 Merge #40
40: v0.3.3 r=adamgreig a=japaric

changes required to publish a new version

r? @adamgreig (chosen at random)

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-08-07 22:33:55 +00:00
Jorge Aparicio 55f44f21be v0.3.3 2018-08-07 17:25:15 -05:00
bors[bot] f38979def1 Merge #27
27: Clarify purpose of rerun-if-changed in build.rs r=japaric a=adamgreig

The current `build.rs` contains
```rust
    println!("cargo:rerun-if-changed=build.rs");
    println!("cargo:rerun-if-changed=memory.x");
```

This causes the build script to be re-run if (and *only if*) `build.rs` or `memory.x` change. The line for `build.rs` is redundant: the Cargo guide [says](https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script) the build script is always rerun when `build.rs` changes, so we can drop that line.

The remaining line caused me a bit of confusion when adding other functionality to my project's build script, before I realised it tells Cargo to *only* rerun the build script when `memory.x` changes, as opposed to the default behaviour which is to rerun it on every build. The comment helps clarify the point of this line, so if users add other functionality to their build scripts it is hopefully easier to notice.

Co-authored-by: Adam Greig <adam@adamgreig.com>
2018-08-07 21:14:34 +00:00
Adam Greig ba27df0b57 Update comment on rerun-if-changed to better reflect what it does 2018-08-07 20:58:00 +01:00
Adam Greig f39fa8ebef Add comment to build script about rerun-if-changed, and remove redundant line for build.rs 2018-08-07 20:57:02 +01:00
Jorge Aparicio 5832d097c6 README: mention the CoC and who maintains this repo 2018-08-07 00:25:15 -05:00
Jorge Aparicio 2a2879a3b0 add CODEOWNERS, CoC; tweak bors and Travis 2018-08-06 21:41:02 -05:00
bors[bot] daea420f17 Merge #38
38: stop recommending LLD r=japaric a=japaric

until https://bugs.llvm.org/show_bug.cgi?id=38435 is fixed

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-08-03 02:39:19 +00:00
Jorge Aparicio b7884948b2 fix the allocator example 2018-08-02 21:38:42 -05:00
Jorge Aparicio 01e9a597c1 stop recommending LLD
until https://bugs.llvm.org/show_bug.cgi?id=38435 is fixed
2018-08-02 21:12:11 -05:00
Jorge Aparicio ae503ee8fb v0.3.2 2018-06-19 19:53:30 -05:00
bors[bot] 4a398df058 Merge #33
33: Update panic-semihosting dependency to 0.3.0 r=japaric a=plaes

This is due to #[lang = "panic_fmt"] -> #[panic_implementation] breakage

Co-authored-by: Priit Laes <plaes@plaes.org>
2018-06-20 00:46:27 +00:00
Priit Laes efb84ccf53 Update panic-semihosting dependency to 0.3.0
This is due to #[lang = "panic_fmt"] -> #[panic_implementation] breakage
2018-06-17 09:23:23 +03:00
Jorge Aparicio a462ab027d Merge pull request #30 from MrBuddyCasino/master
minor doc fix: git => cargo
2018-05-16 12:50:57 +02:00
Michael Böckling 6da25bced8 Update lib.rs
fixed doc: clone command should be cargo, not git
2018-05-16 11:00:33 +02:00
Jorge Aparicio 7cb137968b v0.3.1 2018-05-13 13:41:59 +02:00
Jorge Aparicio 7ae7245956 document the no #![no_main] issue 2018-05-13 12:02:37 +02:00