Commit Graph

229 Commits

Author SHA1 Message Date
53c97dcb32 Fix VSCode launch config 2025-10-19 18:28:33 +02:00
1f3162dc6f Add some UART output (via ST-Link VCP) 2025-10-17 08:09:02 +02:00
6e1c5370ba HALified blinky 2025-10-17 07:33:36 +02:00
34b11fb262 Nix flake for rustup dev shell 2025-10-16 22:57:44 +02:00
7ad309d78d Fix device example 2025-10-16 22:57:30 +02:00
711ec0f93f Blinky STM32F3-DISCOVERY 2025-10-16 22:57:16 +02:00
Daniel Egger
ac02415275 Merge pull request #132 from rust-embedded/no-nop
Remove unnecessary nop from main loops
2025-06-17 22:45:38 +02:00
Adam Greig
6aa25500e6 Remove unnecessary nop from main loops 2025-06-17 19:11:13 +01:00
andber1
0f9748a5e1 Update crates and adapt example code 2024-12-15 08:59:23 -08:00
Alex Martens
a34dd4f1c5 Merge pull request #125 from 30Wedge/fix-crash-example
Add a user-defined HardFault handler to print ExceptionFrame in crash…
2024-07-13 07:26:24 -07:00
30Wedge
6929b56b4a Add a user-defined HardFault handler to print ExceptionFrame in crash example 2024-05-08 17:23:49 -04:00
Adam Greig
cf52e9e29e Merge pull request #124 from angusholder/patch-2
Fix typo in Cargo.toml
2024-03-28 16:01:30 +00:00
Angus Holder
54e1059ae5 Fix typo in Cargo.toml 2024-03-28 15:59:04 +00:00
Adam Greig
6b2fd0e61b Merge pull request #118 from rust-embedded/link-arg
Move link-arg setting from .cargo/config.toml to build.rs
2023-02-20 22:56:18 +00:00
Adam Greig
a2a454a36d Move link-arg setting from .cargo/config.toml to build.rs to make it less easy to forget about 2023-02-17 17:18:22 +00:00
Alex Martens
627ac5c5d5 Merge pull request #114 from remlse/patch-1
Recommend rust-analyzer vscode extension
2022-10-02 08:17:50 -07:00
Remo Senekowitsch
62d6a84b52 Replace deprecated runToMain with runToEntryPoint 2022-10-02 16:45:22 +02:00
Remo Senekowitsch
7ef7c35350 Recommend rust-analyzer vscode extension 2022-10-02 16:09:26 +02:00
Adam Greig
cc19bdda8b Merge pull request #113 from claymcleod/master
docs: updates documentation to include correct path and full list of ISAs
2022-07-16 01:01:22 +01:00
Clay McLeod
e9ca14e5c8 docs: updates documentation to include correct path and full list of ISAs 2022-07-15 13:47:41 -05:00
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