From 87a8b7490866cda9e5c6819eeb357647bdb8d36e Mon Sep 17 00:00:00 2001 From: Milton Eduardo Sosa <31409391+snorkman88@users.noreply.github.com> Date: Wed, 2 Oct 2024 20:46:42 +0200 Subject: Add example to poll encoder and display value on I2C display (#963) Co-authored-by: Milton Eduardo Sosa --- examples/stm32f411_encoder_polling/.cargo/config.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/stm32f411_encoder_polling/.cargo/config.toml (limited to 'examples/stm32f411_encoder_polling/.cargo') 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 -- cgit v1.2.3