Commit Graph

158 Commits

Author SHA1 Message Date
Emil Fresk
9ee8b84217 Merge pull request #62 from rubberduck203/coc
Fixes code of conduct link.
2018-12-31 11:35:55 +01:00
Christopher J. McClellan
e7138e0e2a Fixes code of conduct link.
Closes #60
2018-12-30 19:24:24 -05:00
Emil Fresk
207bca35f4 Merge pull request #59 from rust-embedded/loop_crash_fix
Workaround for loop {} until it is fixed
2018-11-20 15:33:23 +01:00
Emil Fresk
f9570c7c65 Workaround for loop {} until it is fixed 2018-11-20 07:58:38 +01:00
Adam Greig
f47d1633af Merge pull request #57 from rust-embedded/sh
use hprint macros and NVIC::pend; fix allocator example
2018-11-10 00:10:46 +00:00
Jorge Aparicio
55e61c3291 bump dependencies 2018-11-10 00:04:28 +01:00
Jorge Aparicio
e64e690512 use NVIC::pend
instead of the deprecated NVIC.set_pending
2018-11-10 00:02:00 +01:00
Jorge Aparicio
f7a943f480 fix the allocator example
importing alloc is a bit weird
2018-11-10 00:01:25 +01:00
Jorge Aparicio
9c6b290e12 use hprint macros 2018-11-10 00:00:57 +01:00
Emil Fresk
7e2bec66b7 Merge pull request #54 from Nicoretti/toml
Add additional meta data to improve crate experience
2018-10-28 23:48:50 +01:00
Emil Fresk
4295bccf0e Merge pull request #51 from rust-embedded/therealprof-extended-remote
Default to extended-remote instead of remote mode
2018-10-28 23:48:32 +01:00
Nicola Coretti
8f292e0f07 Add additional meta data to improve crate experience
* Add readme setting, so README.md is shown on https://crates.io/
2018-10-26 15:54:27 +02:00
Jonathan 'theJPster' Pallant
76d2e947a5 Merge pull request #53 from birkenfeld/patch-1
Add example moving .bss data into custom memory
2018-10-22 19:18:17 -07:00
Georg Brandl
76cdd6a95b fix example 2018-10-21 17:27:47 +02:00
Georg Brandl
314e48537c Add example moving .bss data into custom memory
We're using a STM32F429 and wanted to move stuff around in memory, notably put stack+data into CPU coupled memory, and put framebuffers for the integrated LCD controller into the normal SRAM.

Getting this right while not completely overriding the default `link.x` was quite tricky (especially finding the `INSERT AFTER` life-saver...) so I thought an example would not hurt here.

It should probably also be mentioned in other places (book/...)?
2018-10-21 13:04:40 +02:00
Daniel Egger
d5abcf6d2a Merge pull request #52 from jannic/patch-1
Update rust version requirements in README.md
2018-10-13 21:40:23 +02:00
Jan Niehusmann
b02a67b5f9 Update rust version requirements in README.md
As Cargo.toml now includes edition = "2018", it won't build with rust 1.30-stable. 1.31-stable will be the first stable version to have the edition feature enabled. (See https://internals.rust-lang.org/t/rust-2018-release-schedule-and-extended-beta/8076 for details.)

At the same time, remove the remark about 1.30-beta not being out yet, as it's out by now.
2018-10-13 21:37:17 +02:00
Daniel Egger
d7c22926f4 Default to extended-remote instead of remote mode
Extended remote allows a lot more features like attaching and detaching and much more fine-grained execution options. If a gdbserver implementation supports it (and OpenOCD sure does) it should be preferred over `remote`.
2018-10-13 02:17:35 +02:00
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