Commit Graph

66 Commits

Author SHA1 Message Date
Kitlith
9f573d73b2 Update examples to newer svd2rust api.
Similarly, the cortex-m crate API was also updated.
2018-02-24 18:26:31 -08: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 Aparicio
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 Aparicio
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 Aparicio
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
protomors
ba1263e7a1 Build compiler-builtins from rust source instead of github repository. 2017-07-09 12:05:26 +03: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 Aparicio
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 Aparicio
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
Adam Greig
f88a44fd78 Remove 'monitor tpiu itm port 0 on' from .gdbinit
This happens automatically when openocd sets up the tpiu; see openocd manual 16.5.4.
2017-06-09 22:22:53 +01:00
Jorge Aparicio
9c37db3d3b v0.1.8 2017-05-30 19:41:27 -05:00
Jorge Aparicio
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 Aparicio
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 Aparicio
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 Aparicio
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 Aparicio
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 Aparicio
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 Aparicio
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 Aparicio
5390231c1e Merge pull request #4 from antage/fix-1
Fix documentation mistype in examples/crash.rs
2017-05-11 12:48:53 -05:00
Anton Ageev
9669b788d1 Fix documentation mistype in examples/crash.rs 2017-05-11 20:36:05 +03:00
Jorge Aparicio
7fa559eeab v0.1.2 2017-05-07 17:18:29 -05:00
Jorge Aparicio
ef2cd39453 Merge pull request #3 from whitequark/patch-1
Include debug information in release builds
2017-04-29 08:55:34 -05:00
whitequark
322c9e5341 Include debug information in release builds.
Without debug information, `tbreak cortex_m_rt::reset_handler` does not work:
rustc does not include the Rust support script directive, gdb does not load it,
and breakpoints can only be set on functions using their full mangled name.
2017-04-29 10:54:24 +00:00
Jorge Aparicio
365195df70 v0.1.1 2017-04-27 10:32:31 -05:00
Jorge Aparicio
a5125ac87e turn into a Cargo crate 2017-04-25 20:47:56 -05:00