From 35891f4559cb2ec90128530ebd0ea74a65421b7a Mon Sep 17 00:00:00 2001 From: Milton Eduardo Sosa <31409391+snorkman88@users.noreply.github.com> Date: Wed, 26 Jun 2024 19:35:43 +0200 Subject: Add ADC example for STM32F411 (#952) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add ADC example for STM32F411 * Update dependencies * Update RTIC version * example: f411-adc: prefer text over picture * example: f411-adc: nit: typo --------- Co-authored-by: Milton Eduardo Sosa Co-authored-by: Henrik Tjäder --- examples/stm32f411_adc/.cargo/config.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/stm32f411_adc/.cargo/config.toml (limited to 'examples/stm32f411_adc/.cargo') diff --git a/examples/stm32f411_adc/.cargo/config.toml b/examples/stm32f411_adc/.cargo/config.toml new file mode 100644 index 0000000..806f2ee --- /dev/null +++ b/examples/stm32f411_adc/.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