5d8817d109
stm32/usart: return error instead of panicking on bad baudrate.
2023-09-26 00:19:27 +02:00
7d5e62d4a7
Update for rust-lorawan and lora-phy version 2.
2023-09-24 10:33:03 -05:00
5d5cd23715
Update to embedded-io 0.5 ( #1752 )
2023-08-07 13:43:09 +02:00
6c6bd11c1a
Merge pull request #1606 from JcBernack/rng-update
...
STM32: RNG update
2023-07-30 23:44:11 +00:00
4999b045df
stm32/rng: use bind_interrupts!.
2023-07-31 01:41:12 +02:00
d8f02e151b
Set frequency in stm32 SPI examples
2023-07-31 00:02:50 +02:00
04ed45941a
Fix format in stm32 SPI examples
2023-07-30 19:31:22 +02:00
55fb1d5126
Fix more stm32 SPI examples
2023-07-30 19:26:24 +02:00
4f791799a9
Fix formatting
2023-07-30 19:12:49 +02:00
d2127f6b82
Fix stm32 SPI examples
2023-07-30 18:58:40 +02:00
8938d928f8
Fix examples
2023-05-25 22:36:56 +02:00
860b519f99
Let Flash<Async/Blocking> be a thing
2023-05-25 21:40:54 +02:00
7371eefa86
Align with new bind_interrupt
2023-05-25 20:07:42 +02:00
525e065474
Align examples
2023-05-25 20:07:42 +02:00
7477785bbb
Align examples
2023-05-25 20:07:41 +02:00
316be179af
stm32: move to bind_interrupts
...
disable lora functionality for now
2023-05-24 17:29:56 -05:00
73f25093c7
Add lora-phy examples.
2023-04-23 18:32:34 -05:00
02c86bca52
Add external LoRa physical layer functionality.
2023-04-21 01:20:46 -05:00
63941432e3
Update to rust-lorawan with afit support
2023-04-15 01:00:12 +02:00
2a49e11cb0
Align flash examples
2023-04-05 10:55:31 +02:00
472dc6b7d1
Fix interrupt handling so it is similar to before the rework, and fix examples
2023-03-31 15:57:35 +02:00
9cac649fcf
stm32: Add support for read_until_idle on UART
2022-10-26 19:06:18 +02:00
a7fdeac560
Remove flash lock/unlock public API from stm32 flash, and perform the unlocking and locking automatically on erase and write operations
2022-09-30 06:00:46 +02:00
897b72c872
Update Rust nightly.
...
Removes feature(generic_associated_types)
2022-09-22 16:38:14 +02:00
47069dfbe1
lora: Fix for stm32l0 exampe to build
2022-08-26 15:44:58 +02:00
478f472784
Remove Forever, switch to static_cell.
2022-08-22 16:11:40 +02:00
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
2e85eaf7d5
examples Remove the fn config()
idiom.
...
It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that
it's gone, it makes more sense to build the config in main directly.
2022-08-17 22:25:58 +02:00
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
5ecbe5c918
embassy-stm32: Simplify time
...
- Remove unused `MilliSeconds`, `MicroSeconds`, and `NanoSeconds` types
- Remove `Bps`, `KiloHertz`, and `MegaHertz` types that were only used
for converting to `Hertz`
- Replace all instances of `impl Into<Hertz>` with `Hertz`
- Add `hz`, `khz`, and `mhz` methods to `Hertz`, as well as
free function shortcuts
- Remove `U32Ext` extension trait
2022-07-10 21:46:45 -05:00
a8703b7598
Run rustfmt.
2022-06-12 22:22:31 +02:00
931a137f8c
Replace embassy::io with embedded_io.
2022-05-07 01:45:54 +02:00
da61611f8f
Add bootloader to CI
2022-04-27 15:17:18 +02:00
484e0acc63
Add stm32 flash + bootloader support
...
* Add flash drivers for L0, L1, L4, WB and WL. Not tested for WB, but
should be similar to WL.
* Add embassy-boot-stm32 for bootloading on STM32.
* Add flash examples and bootloader examples
* Update stm32-data
2022-04-27 15:17:18 +02:00
2c0e28aa0c
Update to released lorawan crates
2022-04-26 19:06:15 +02:00
86e52e67d0
Update to latest rust-lorawan version
2022-04-08 12:58:57 +02:00
82803bffda
Use embassy/defmt-timestamp-uptime in all examples.
2022-04-02 04:35:06 +02:00
340eb4eead
stm32: add rust stable support
2022-02-12 02:45:52 +01:00
889d757ab8
stm32/spi: expose all functionality as inherent methods.
2022-01-19 17:59:55 +01:00
c949519714
stm32/usart: expose all functionality as inherent methods.
2022-01-19 17:59:55 +01:00
b526addf7b
stm32/exti: expose all functionality as inherent methods.
2022-01-19 17:59:55 +01:00
58fc64722c
stm32/gpio: expose all functionality as inherent methods.
2022-01-19 17:59:55 +01:00
2eb0cc5df7
stm32/rcc: remove Rcc struct, RccExt trait.
...
All the RCC configuration is executed in init().
2022-01-05 00:00:44 +01:00
cdc66e110f
stm32/rcc: remove builders on Config.
...
This makes API consistent with other Config structs in Embassy, where
the convention is to not use builders.
2022-01-04 13:31:30 +01:00
9a730ef692
Refactor sx127x radio to use async SPI with DMA
2021-12-03 09:53:28 +01:00
0ca6060bfd
Fix interrupt_take macro by specifying path to panic macro.
2021-11-23 11:00:37 +01:00
16a47a0ad9
Add embassy-lora crate
...
This crate contains async radio drivers for various lora drivers that
work with embassy timers. The code is imported from Drogue Device (
https://github.com/drogue-iot/drogue-device )
The radio drivers integrate with the async LoRaWAN MAC layer in the
lorawan-device crate.
Also added is an example for the STM32WL55 and for STM32L0 (requires
the LoRa Discovery board) for LoRaWAN. Future work is to make the
underlying radio drivers using fully async SPI when communicating
with the peripheral.
2021-09-30 10:32:24 +02:00
de016e8456
Remove trait_alias, allow(incomplete_features).
...
trait_alias seems unused. no idea why it's there.
2021-09-03 17:00:58 +02:00
2c992f7010
stm32: move dbgmcu stuff to toplevel config setting, defaulting to true.
2021-08-19 23:50:19 +02:00