Commit Graph
100 Commits
Author SHA1 Message Date
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 AparicioandGitHub 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
Jorge Aparicio 666bf52748 bump dependencies 2018-09-03 16:57:03 +02: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
Jorge Aparicio 1fdaec36bd add CHANGELOG for v0.3.4 2018-08-28 21:41:37 +02:00
Jorge Aparicio 5063e90960 v0.3.4 2018-08-28 15:56:49 +02: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
Jorge Aparicio 55f44f21be v0.3.3 2018-08-07 17:25:15 -05: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
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
Jorge AparicioandGitHub a462ab027d Merge pull request #30 from MrBuddyCasino/master
minor doc fix: git => cargo
2018-05-16 12:50:57 +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
Jorge Aparicio 91a894e369 v0.3.0 2018-05-12 21:06:19 +02:00
Jorge Aparicio 66c0c588b0 fix tests 2018-05-12 20:51:52 +02:00
Jorge Aparicio 0f139c386b use published versions, doc up, update CHANGELOG 2018-05-12 20:41:42 +02:00
Jorge Aparicio 3a4a5be709 TODO: drop opt-level=s 2018-04-26 07:57:34 +02:00
Jorge Aparicio a35486b2f4 update examples and docs 2018-04-26 07:37:15 +02:00
Jorge Aparicio 8e79d05cc4 drop linker-flavor, port more examples 2018-04-26 05:27:03 +02:00
Jorge Aparicio 0e2ec97ce6 make the hello example work 2018-04-25 07:54:05 +02:00
Jorge Aparicio f6988f1ced use less unstable dependencies 2018-04-24 20:56:52 +02:00
Jorge Aparicio a18a2fe64b don't call ci/after_success.sh 2018-04-24 02:49:32 +02:00
Jorge Aparicio 3b2e5699f3 remove panic-itm dependency 2018-04-24 02:13:15 +02:00
Jorge Aparicio 72b23f0e85 ci: don't install cargo-edit 2018-04-24 01:42:13 +02:00
Jorge Aparicio 2cd4ea31e5 bump the cortex-m-rt to v0.4.0 2018-04-24 01:24:06 +02:00
Jorge Aparicio 6f62705eaf v0.2.6 2018-04-09 00:11:59 +02:00
Jorge AparicioandGitHub 1d3d6e708c Merge pull request #26 from japaric/bye-xargo
remove all mentions of Xargo
2018-04-09 00:09:33 +02:00
Jorge Aparicio fb3f403be5 remove all mentions of Xargo
as you can use plain Cargo to do ARM Cortex-M development
2018-04-09 00:06:24 +02:00
Jorge Aparicio 578dfc7f86 v0.2.5 2018-02-26 22:31:17 +01:00
Jorge Aparicio 23ae289bf4 fix the allocator example 2018-02-26 22:27:52 +01:00
Jorge Aparicio 5206ef79d2 examples/panic: add column information 2018-02-26 21:55:25 +01:00
Jorge Aparicio 46c97c6cee remove unused #[allow] 2018-02-26 21:49:45 +01:00
Jorge Aparicio ba8994a2ed use stable release of alloc-cortex-m 2018-02-26 21:49:25 +01:00
Jorge AparicioandGitHub 7ebac078c0 Merge pull request #23 from kitling/update-examples
Update examples
2018-02-26 21:48:47 +01:00
Jorge Aparicio bf91f60d40 v0.2.4 2018-01-26 11:39:18 +01:00
Jorge Aparicio 682fe4e77c v0.2.3 2018-01-20 11:27:24 +01:00
Jorge Aparicio d60563ff45 update the CHANGELOG 2018-01-17 14:46:18 +01:00
Jorge Aparicio 48ce24b303 document workaround for "Ignoring packet error" 2018-01-17 14:42:13 +01:00
Jorge Aparicio 3dc0cf09db disable incremental compilation and parallel codegen in dev mode 2018-01-17 14:27:57 +01:00
Jorge Aparicio 59b8b866c7 bump the cortex-m-rt dependency 2018-01-17 14:26:42 +01:00
Jorge AparicioandGitHub 1bb99c92f1 Merge pull request #20 from japaric/demangle
gdbinit: print demangled symbols by default
2017-11-25 01:12:55 +01:00
Jorge Aparicio d41dd6a4c7 gdbinit: print demangled symbols by default
this change turns this:

``` console
(gdb) x/4 0x200003f0
0x200003f0 <_ZN3app2XS17h4b49405669958fd2E+1008>:       0x20000400      0x080004f5      0x00000000      0x00000001
```

into this:

``` console
(gdb) x/4 0x200003f0
0x200003f0 <app::XS+1008>:      0x20000400      0x080004f5      0x00000000      0x00000001
```
2017-11-25 01:12:17 +01:00
Jorge Aparicio a8a02d9162 v0.2.1 2017-07-14 21:53:54 -05:00
Jorge Aparicio affd24f2bb document another common error
overwriting the `.cargo/config` file instead of appending text to it
2017-07-14 21:48:05 -05:00
Jorge Aparicio 67003f069c enable the "mem" feature of the compiler-builtins crate
turns out it *is* required if your application ends up requiring a `memcmp`
operation.
2017-07-14 21:36:34 -05:00
Jorge AparicioandGitHub 51f4b4e7ed Merge pull request #16 from japaric/device
expand the device example
2017-07-14 21:26:25 -05:00
Jorge Aparicio 8890c461d6 expand the device example 2017-07-11 19:01:40 -05:00
Jorge AparicioandGitHub 3f66a585a8 Merge pull request #14 from protomors/upstream-builtins
Build compiler-builtins from rust source instead of github repository.
2017-07-10 19:03:43 -05:00
Jorge Aparicio 4b1a2f3811 fix CHANGELOG 2017-07-07 20:11:05 -05:00
Jorge Aparicio 805b63afb1 v0.2.0 2017-07-07 18:34:47 -05:00
Jorge AparicioandGitHub 6780d81e4d Merge pull request #13 from japaric/dev
Revert "Remove 'monitor tpiu itm port 0 on' from .gdbinit"
2017-06-17 17:21:12 -05:00
Jorge Aparicio 59a780d0c4 Revert "Remove 'monitor tpiu itm port 0 on' from .gdbinit"
This reverts commit f88a44fd78.

It's required on OpenOCD 0.10.0
2017-06-17 17:18:48 -05:00
Jorge AparicioandGitHub c03bded663 Merge pull request #12 from adamgreig/patch-1
Remove 'monitor tpiu itm port 0 on' from .gdbinit
2017-06-10 12:25:02 -05:00
Jorge Aparicio 9c37db3d3b v0.1.8 2017-05-30 19:41:27 -05:00
Jorge AparicioandGitHub 797e750a32 Merge pull request #11 from japaric/stext
bump cortex-m-rt version to v0.2.3; document the _stext symbol
2017-05-30 19:40:01 -05:00
Jorge Aparicio ea13292cc4 bump cortex-m-rt version to v0.2.3; document the _stext symbol 2017-05-30 19:36:10 -05:00
Jorge AparicioandGitHub 207591ef4c Merge pull request #10 from japaric/swo
.gdbinit: add a commented out option to make the SWO pin functional when ...
2017-05-28 22:55:54 -05:00
Jorge Aparicio 0b22a8aabb .gdbinit: add a commented out option to make the SWO pin functional when ...
it's not connected to a programmer / debugger SWO pin
2017-05-28 22:53:53 -05:00
Jorge AparicioandGitHub adda589c71 Merge pull request #9 from japaric/no-reset
gdbinit: don't reset the microcontroller
2017-05-28 21:11:49 -05:00
Jorge Aparicio d4c6bde00f gdbinit: don't reset the microcontroller
simply `step` after the `load` command. This should just work now that we are
using cortex-m-rt v0.2.2
2017-05-28 21:09:38 -05:00
Jorge Aparicio 96e0b4e96b v0.1.7 2017-05-27 11:14:16 -05:00
Jorge AparicioandGitHub f5fca936c6 Merge pull request #8 from japaric/heap
document how to use the heap and a dynamic allocator
2017-05-27 11:11:44 -05:00
Jorge Aparicio f1329524c8 document how to use the heap and a dynamic allocator 2017-05-27 11:00:03 -05:00
Jorge Aparicio 2bb6e419af v0.1.6 2017-05-26 15:19:24 -05:00
Jorge AparicioandGitHub 0154a9efc7 Merge pull request #7 from japaric/runner
set default runner to arm-none-eabi-gdb
2017-05-26 15:17:04 -05:00
Jorge Aparicio c6fafaedc2 set default runner to arm-none-eabi-gdb
with this `xargo run` will build the program *and* immediately start a GDB
session.
2017-05-26 15:12:21 -05:00
Jorge Aparicio 82e36ffe13 v0.1.5 2017-05-16 10:25:30 -05:00
Jorge AparicioandGitHub d035016e65 Merge pull request #6 from japaric/incr-comp
warn against using CARGO_INCREMENTAL
2017-05-15 22:01:09 -05:00
Jorge Aparicio 362c715b19 warn against using CARGO_INCREMENTAL 2017-05-15 22:00:36 -05:00
Jorge Aparicio 8aa495ac66 v0.1.4 2017-05-13 15:18:50 -05:00
Jorge Aparicio 62453e1e94 add dependencies section to documentation
add 'used stable toolchain' sub-section to the troubleshooting section
2017-05-13 15:17:14 -05:00
Jorge Aparicio 9e44d099bd v0.1.3 2017-05-13 12:00:39 -05:00
Jorge AparicioandGitHub 22d921658e Merge pull request #5 from japaric/troubleshoot
add troubleshooting section
2017-05-13 11:46:07 -05:00
Jorge Aparicio 7260cd522c add troubleshooting section 2017-05-13 11:45:01 -05:00
Jorge AparicioandGitHub 5390231c1e Merge pull request #4 from antage/fix-1
Fix documentation mistype in examples/crash.rs
2017-05-11 12:48:53 -05:00
Jorge Aparicio 7fa559eeab v0.1.2 2017-05-07 17:18:29 -05:00
Jorge AparicioandGitHub ef2cd39453 Merge pull request #3 from whitequark/patch-1
Include debug information in release builds
2017-04-29 08:55:34 -05:00
Jorge Aparicio 365195df70 v0.1.1 2017-04-27 10:32:31 -05:00