aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f411_adc_and_mpsc_channel/.cargo/config.toml
diff options
context:
space:
mode:
authorMilton Eduardo Sosa <31409391+snorkman88@users.noreply.github.com>2024-06-26 19:35:48 +0200
committerGitHub <noreply@github.com>2024-06-26 17:35:48 +0000
commit624f643a976fc0676750de9c22d789115cba21c1 (patch)
tree8431872969ec320d36a8f8f6f074cacab1de980c /examples/stm32f411_adc_and_mpsc_channel/.cargo/config.toml
parent35891f4559cb2ec90128530ebd0ea74a65421b7a (diff)
Add example for STM32F411 with HW & SW tasks communicating via MPSC channel (#953)
* Add example with HW & SW tasks communicating via MPSC channel * example: f411-adc-mpcsc: nit: typos * example: f411-adc-mpsc: prefer text over picture --------- Co-authored-by: Milton Eduardo Sosa <milton@Miltons-MacBook-Pro.local> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'examples/stm32f411_adc_and_mpsc_channel/.cargo/config.toml')
-rw-r--r--examples/stm32f411_adc_and_mpsc_channel/.cargo/config.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/stm32f411_adc_and_mpsc_channel/.cargo/config.toml b/examples/stm32f411_adc_and_mpsc_channel/.cargo/config.toml
new file mode 100644
index 0000000..806f2ee
--- /dev/null
+++ b/examples/stm32f411_adc_and_mpsc_channel/.cargo/config.toml
@@ -0,0 +1,14 @@
+[target.thumbv7em-none-eabihf]
+
+runner = "probe-rs run --chip STM32F411CEUx"
+
+rustflags = [
+ "-C", "link-arg=-Tlink.x",
+ "-C", "link-arg=-Tdefmt.x",
+]
+
+[build]
+target = "thumbv7em-none-eabihf"
+
+[env]
+DEFMT_LOG = "debug" \ No newline at end of file