diff options
| author | Milton Eduardo Sosa <31409391+snorkman88@users.noreply.github.com> | 2024-10-02 20:46:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-02 18:46:42 +0000 |
| commit | 87a8b7490866cda9e5c6819eeb357647bdb8d36e (patch) | |
| tree | 3b69862d31adfd0bc09d9098a9a998eaf4349295 /examples/stm32f411_encoder_polling/.cargo | |
| parent | 805ea267a8515b7ee70125f444763f4aaa95c454 (diff) | |
Add example to poll encoder and display value on I2C display (#963)
Co-authored-by: Milton Eduardo Sosa <milton@Miltons-MacBook-Pro.local>
Diffstat (limited to 'examples/stm32f411_encoder_polling/.cargo')
| -rw-r--r-- | examples/stm32f411_encoder_polling/.cargo/config.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/stm32f411_encoder_polling/.cargo/config.toml b/examples/stm32f411_encoder_polling/.cargo/config.toml new file mode 100644 index 0000000..806f2ee --- /dev/null +++ b/examples/stm32f411_encoder_polling/.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 |
