Paul van Tilburg
3fe2d062f2
Port example to stm32f4xx-hal version 0.6
...
* Switch to the `embedded_hal::digital::v2::OutputPin` trait
* Handle all infallable `set_low`/`set_high` calls within the
`led_ring` module
2019-12-20 13:16:19 +01:00
Paul van Tilburg
4a57a751fb
Bump the dependency on heapless to version 0.5.1
2019-12-20 13:16:19 +01:00
Paul van Tilburg
a2985c8132
Bump the dependencies on cortex/semihosting crates to current version
2019-12-20 13:16:19 +01:00
Paul van Tilburg
39e043b9e9
Port example to RTFM version 0.5
...
See https://rtfm.rs/0.5/book/en/migration.html for the migration guide.
Additional changes:
* Turned all resources into snake case (as they are struct fields now)
* Set up and enable the cycle counter (CYCCNT) for scheduling
2019-12-20 13:16:15 +01:00
Paul van Tilburg
6e8de672ea
Move the led_ring module to a local crate
...
The library will allow for the tests to be actually run.
If we try to run the tests through the main binary this fails
due to missing a eh_personality language item.
2019-04-11 20:09:43 +02:00
Paul van Tilburg
18061e094e
CLean up Cargo.toml and the code a bit (more 2018 editionish)
2019-03-20 10:30:57 +01:00
Paul van Tilburg
e496e29e09
Rename the crate (and bin) to stm32f4disc-demo
...
Do this to make explicit it works just for the STM32F4DISCOVERY board.
2019-03-17 14:22:27 +01:00
Paul van Tilburg
a795bf910f
Clean up Cargo.toml a bit
2019-03-15 22:27:22 +01:00
Paul van Tilburg
6ce7d70613
Introduce a serial command interface via USART1
2019-03-07 22:41:59 +01:00
Paul van Tilburg
cbc0b0c93a
Rename the package (and application) to stm32f4-demo
2019-03-06 21:18:10 +01:00
Paul van Tilburg
283655e30e
Just spawn switch_leds task; drop unused crate
2019-03-05 17:03:46 +01:00
Paul van Tilburg
3e5088edfa
Rework the rftm example to do the same as main
2019-03-05 15:05:15 +01:00
Paul van Tilburg
ff21e58323
Initial import into Git
2019-03-05 15:04:26 +01:00