aboutsummaryrefslogtreecommitdiff
path: root/examples/mspm0l2228/README.md
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-03-21 13:32:14 +0000
committerGitHub <[email protected]>2025-03-21 13:32:14 +0000
commite29be82c8bc1b7e2dbf9f58dad4229d12968e1b4 (patch)
tree4ae9e7b784c82b96bcf870c3f61c62abad8a3811 /examples/mspm0l2228/README.md
parentfecb7a2b2b6f1953a2fe57557cb83d063ab5eea4 (diff)
parent91684a11c8a15b62a773a1ace40791fcf80fdad2 (diff)
Merge pull request #3966 from i509VCB/mspm0-init
Embassy for MSPM0
Diffstat (limited to 'examples/mspm0l2228/README.md')
-rw-r--r--examples/mspm0l2228/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/mspm0l2228/README.md b/examples/mspm0l2228/README.md
new file mode 100644
index 000000000..c73fa13b6
--- /dev/null
+++ b/examples/mspm0l2228/README.md
@@ -0,0 +1,27 @@
1# Examples for MSPM0L222x family
2
3Run individual examples with
4```
5cargo run --bin <module-name>
6```
7for example
8```
9cargo run --bin blinky
10```
11
12## Checklist before running examples
13A large number of the examples are written for the [LP-MSPM0L2228](https://www.ti.com/tool/LP-MSPM0L2228) board.
14
15You might need to adjust `.cargo/config.toml`, `Cargo.toml` and possibly update pin numbers or peripherals to match the specific MCU or board you are using.
16
17* [ ] Update .cargo/config.toml with the correct probe-rs command to use your specific MCU. For example for L2228 it should be `probe-rs run --chip MSPM0L2228`. (use `probe-rs chip list` to find your chip)
18* [ ] Update Cargo.toml to have the correct `embassy-mspm0` feature. For example for L2228 it should be `mspm0l2228`. Look in the `Cargo.toml` file of the `embassy-mspm0` project to find the correct feature flag for your chip.
19* [ ] If your board has a special clock or power configuration, make sure that it is set up appropriately.
20* [ ] If your board has different pin mapping, update any pin numbers or peripherals in the given example code to match your schematic
21
22If you are unsure, please drop by the Embassy Matrix chat for support, and let us know:
23
24* Which example you are trying to run
25* Which chip and board you are using
26
27Embassy Chat: https://matrix.to/#/#embassy-rs:matrix.org