Commit Graph

209 Commits

Author SHA1 Message Date
Adam Greig
1c1a7c6a28 Merge pull request #108 from rmsc/master
openocd.cfg: use the unified stlink.cfg configuration
2021-08-25 16:36:15 +01:00
Renato Caldas
7a654e4416 openocd.cfg: use the unified stlink.cfg configuration
In newer versions of openocd, all the stlink-v* configuration files are
deprecated, and just source stlink.cfg.
2021-08-25 16:29:16 +01:00
Adam Greig
5fb962cf07 Merge pull request #106 from Lotterleben/mv-to-configtoml
move .cargo/config to .cargo/config.toml
2021-06-22 12:14:53 +01:00
Lotte Steenbrink
67b9c7c404 move .cargo/config to .cargo/config.toml 2021-06-22 11:39:26 +02:00
Adam Greig
18bb680710 Merge pull request #100 from rubberduck203/master
Fixes #99: Disambiguates VSCode Tasks
2020-11-09 12:00:44 +00:00
Christopher J. McClellan
eb68e8bba9 Fixes #99: Disambiguates VSCode Tasks
Using the equivalent command line as the task name caused some confusion.
Users were under the impression that they could use any valid cargo command as a preLaunchTask in the launch configurations.
2020-11-09 06:23:51 -05:00
Daniel Egger
3cbcb9956a Merge pull request #98 from thalesfragoso/alloc-example
Fix alloc example
2020-10-13 08:49:11 +02:00
Thales Fragoso
5c6a17c0a6 Fix alloc example 2020-10-12 23:16:25 -03:00
Thales
be44af69cc Merge pull request #96 from hug-dev/add-armv8m-targets
Also add examples to target Armv8-M
2020-10-04 16:44:04 -03:00
Hugues de Valon
f18b5af0a2 Also add examples to target Armv8-M
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2020-10-04 19:55:23 +01:00
Daniel Egger
e1e98857af Merge pull request #95 from Dirbaio/Dirbaio-patch-1
Add --nmagic linker arg, for unaligned flash origin support.
2020-09-13 23:58:08 +02:00
Dario Nieuwenhuis
8047986061 Add --nmagic linker arg, for unaligned flash origin support.
Without this, the linker places some extra program header entries that can confuse flashing tools.

Many thanks to @jonas-schievink for pointing me to this flag in Matrix.
2020-09-03 22:07:01 +02:00
Daniel Egger
ae6ad14ad4 Merge pull request #92 from rust-embedded/readd-build
Re-add build script with note this time
2020-07-22 00:28:50 +02:00
Daniel Egger
541c7df215 Update build.rs
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2020-07-22 00:27:48 +02:00
Adam Greig
4e9999f06f Re-add build script with note this time 2020-07-21 23:23:49 +01:00
Adam Greig
33034ee397 Merge pull request #89 from hyperslv/extern_crate_to_use
Replace unidiomatic 'extern crate' to 'use x as _'
2020-06-14 17:07:38 +01:00
hyperslv
b12af511b9 Replace unidiomatic 'extern crate' to 'use x as _' 2020-06-14 13:38:05 +03:00
Daniel Egger
3571fc9a79 Merge pull request #87 from rust-embedded/rm-build-rs
Remove unnecessary build.rs
2020-04-17 23:50:16 +02:00
Adam Greig
8e29b31da4 Remove unnecessary build.rs 2020-04-17 00:24:02 +01:00
Adam Greig
1a60c1d944 Merge pull request #84 from rubberduck203/update-vscode-docs
Update vscode docs to reflect fixes from PR #83
2020-03-05 12:10:50 +00:00
Christopher J. McClellan
888ddb7e0d Update vscode docs to reflect fixes from PR #83
9977613eac
6c26219611

https://github.com/rust-embedded/cortex-m-quickstart/pull/83
2020-03-05 07:02:29 -05:00
Adam Greig
23a74e9add Merge pull request #83 from david-boles/patch-1
Corrected default VSCode build task.
2020-03-05 11:29:07 +00:00
David Boles
9977613eac Corrected default VSCode clean task. 2020-03-04 19:02:05 -05:00
David Boles
6c26219611 Corrected default VSCode build task. 2020-03-04 14:07:32 -05:00
Adam Greig
cda24a671d Merge pull request #82 from rubberduck203/vscode
VS Code build tasks
2020-02-27 22:03:30 +00:00
Christopher J. McClellan
ee3eca20d3 Add vscode build tasks for examples and release 2020-02-07 19:22:11 -05:00
Daniel Egger
e7025922f8 Merge pull request #79 from rubberduck203/track-debug-conf
Track launch.json, tasks.json, md & svd files
2020-01-01 16:36:34 +01:00
Christopher J. McClellan
55bc69690a Add recommended extensions file 2020-01-01 08:02:15 -05:00
Christopher J. McClellan
b741ef37f5 Track launch.json, tasks.json, md & svd files
Ignoring the .vscode/ directory is good default behavior,
but it's probably best to track the files that define build tasks, debug
configs, documentation, and any system view description files.

The gitignore.io sample takes the same approach.
https://www.gitignore.io/api/visualstudiocode

> We in the VS Code team share debug and task specific settings as well because we want our team to have the same set of debug targets and task targets for VS Code.

https://stackoverflow.com/a/32979933/3198973

Even people who vehemently argue that .vscode shouldn't be track, agree
that complex debug configs should be tracked and shared.

> The only .vscode that makes sense to include are complex launch configs for debugging.

https://stackoverflow.com/a/47668283/3198973
2020-01-01 07:43:32 -05:00
Jonathan 'theJPster' Pallant
a546d1b00c Merge pull request #78 from rubberduck203/vscode
VS Code Support
2019-12-27 17:49:21 +00:00
Christopher J. McClellan
57de818726 Add VS Code support
Adds basic configuration for VS Code for QEMU and STM32F3DISCOVERY.
2019-12-25 06:46:43 -05:00
Emil Fresk
3ca2bb9a46 Merge pull request #75 from rust-embedded/cortex-m-rt_fix
Update of cortex-m-rt for coming stable breakage
2019-08-13 20:17:27 +02:00
Emil Fresk
ac5d1fcb10 Update of cortex-m-rt for coming stable breakage 2019-08-13 20:13:09 +02:00
Emil Fresk
f5a8721006 Merge pull request #74 from rust-embedded/fix-73
Update instructions for device example, closes #73
2019-08-06 20:17:58 +02:00
Adam Greig
d018974c6f Update instructions for device example, closes #73 2019-07-23 20:59:12 -06:00
Daniel Egger
77e60809b5 Merge pull request #72 from ssendev/print-panic
add openocd.gdb hint how to print panic immediatly
2019-07-23 23:26:20 +02:00
Manuel Thomassen
97788b8215 add openocd.gdb hint how to print panic immediatly 2019-07-22 17:35:15 +02:00
Daniel Egger
08e6ba02f1 Merge pull request #71 from josephpenafiel/patch-1
added missing import
2019-07-10 00:09:51 +02:00
Joseph Penafiel
eae0512459 added missing import
NVIC wasn't imported from the stm32f30x crate
2019-07-09 10:08:51 -05:00
Adam Greig
9610e04635 Merge pull request #69 from rust-embedded/bump-everything
Bump dependency versions
2019-06-04 19:14:19 -06:00
Daniel Egger
cc52aef020 Bump dependency versions 2019-06-04 21:35:21 +02:00
Adam Greig
6919488412 Merge pull request #68 from rust-embedded/bt_limit
Added backtrace limit to mitigate infinite backtraces
2019-02-05 21:56:28 +00:00
Emil Fresk
73bae533c4 Added backtrace limit to mitigate infinite backtraces 2019-02-05 20:17:20 +01:00
Emil Fresk
ac344b967f Merge pull request #66 from jacobrosenthal/patch-1
update interrupt usage
2019-01-30 19:54:09 +01:00
Jacob Rosenthal
c6599f3686 update interrupt usage 2019-01-29 15:12:07 -07:00
Adam Greig
3aa5ea9fd3 Merge pull request #64 from sstelfox/fix_breakpoint
Adjust the default breakpoint name to match cortex-m-rt pull #144
2019-01-22 08:38:49 +00:00
Sam Stelfox
26baac1bf3 Adjust the default breakpoint name to match cortex-m-rt pull #144 2019-01-21 23:39:45 -05:00
Emil Fresk
2d7405fc04 Merge pull request #61 from rubberduck203/tests
Add example of writing tests that run on host machine
2019-01-01 11:34:22 +01:00
Christopher J. McClellan
e58549b2ec Add more documentation for testing on host 2018-12-31 07:01:16 -05:00
Emil Fresk
9ee8b84217 Merge pull request #62 from rubberduck203/coc
Fixes code of conduct link.
2018-12-31 11:35:55 +01:00