Commit Graph

1184 Commits

Author SHA1 Message Date
3bf1e1d4aa Fix f2, wl compilation 2022-07-10 21:46:14 +03:00
f43545f36e Fix warnings 2022-07-10 21:16:54 +03:00
85054a7233 Fix typo 2022-07-10 21:15:38 +03:00
1fd5022e72 Refactor IWDG to use LSI frequency from RCC 2022-07-10 20:59:36 +03:00
bd01e90bfa Implement IWDG timeout calculation 2022-07-10 20:38:30 +03:00
5f43c1d37e Merge #850
850: Shared buses with SetConfig r=Dirbaio a=kalkyl

Addresses issue #830 

Co-authored-by: Henrik Alsér <henrik@mindbite.se>
2022-07-10 00:03:44 +00:00
baae64d911 Add embassy-embedded-hal nightly feature 2022-07-09 23:41:02 +02:00
fa3e1ab68a correction of the access to flex pin attribute in gpio_v2 2022-07-09 14:06:47 +02:00
880b71a1e8 impl SetConfig for stm32 i2c and SPI 2022-07-09 02:28:05 +02:00
39702d7624 set_as_input_output() and set_as_output() : Have added comments and made functions public 2022-07-08 21:46:16 +02:00
43aec9083c Cleanup 2022-07-08 08:03:38 +02:00
01ef03f446 stm32/i2c: impl ErrorType for all. 2022-07-07 15:46:30 +02:00
399e7a4791 NoDma 2022-07-07 15:46:30 +02:00
be731b222e Cleanup 2022-07-07 15:46:30 +02:00
0fe818f4f8 v1 fix 2022-07-07 15:46:30 +02:00
1ed5b387f9 v2 fix 2022-07-07 15:46:30 +02:00
02812754ec rustfmt 2022-07-07 15:46:30 +02:00
2460d21fa4 Add EH 1.0 impls for stm32 i2c 2022-07-07 15:46:30 +02:00
4a8f117f25 Puts in the machinery to handle power detected/removed 2022-07-07 10:08:57 +10:00
4e54d09ab1 Have added OutputOpenDrain with Flex 2022-07-04 22:38:05 +02:00
13b259d7cd Have added Flex to eh01 and eh2 2022-07-04 22:19:02 +02:00
359fc4d124 Flex GPIO implementation : Output 2022-06-30 23:03:15 +02:00
f05082b9a3 have reverted changed in mod eh1 from previous commit 2022-06-30 22:55:57 +02:00
9b3c5af92a Flex GPIO implementation : Input 2022-06-30 22:50:53 +02:00
d1d07cd9e3 fix case when chip has multiple iwdg 2022-06-28 13:22:43 +02:00
f2ad9c2d9d rebase and fix unborrow 2022-06-28 12:51:08 +02:00
74bbf5aa02 address review 2022-06-28 12:46:17 +02:00
5cf3fbece4 initial independent watchdog implementation 2022-06-28 12:46:17 +02:00
42bc510eff Remove STM32L485 "ghost chips" 2022-06-27 02:47:15 +02:00
a855889f70 Update stm32-data 2022-06-27 02:10:01 +02:00
948bb93dc2 docs: Add $COMMIT to git srclinks. 2022-06-26 23:55:38 +02:00
397722c328 stm32: fix f100 build. 2022-06-26 23:52:38 +02:00
84628d36cf Merge #826
826: Bump bxcan version r=chemicstry a=chemicstry



Co-authored-by: chemicstry <chemicstry@gmail.com>
2022-06-22 23:48:45 +00:00
3cdd8c1aeb Fix PWM for advanced timers 2022-06-23 02:27:39 +03:00
31177d994f Fix example 2022-06-23 02:01:23 +03:00
2d2f9e39b9 Bump bxcan version 2022-06-23 01:42:21 +03:00
1f746e0939 Remove the authors field from Cargo.tomls
It currently contains whoever was first to write some code for the crate,
even if many more people have contributed to it later.

The field is "sort of" deprecated, it was made optional recently:
https://rust-lang.github.io/rfcs/3052-optional-authors-field.html

Due the the reasons listed there I believe removing it is better than
setting it to generic fluff like "The Embassy contributors".
2022-06-18 02:16:40 +02:00
88e36a70bd Update to 2021 edition. (#820) 2022-06-18 02:15:48 +02:00
9031b8f80a Fix doc comments for BpskPacketParams 2022-06-16 07:34:59 +02:00
d0edd171f8 Fix typo in LoRaPacketParams::new doc 2022-06-16 06:22:03 +02:00
faa59efbf6 Cargo fmt 2022-06-15 09:01:22 +02:00
3696226fe8 Sync subghz peripheral support with stm32wlxx-hal 2022-06-14 16:27:42 +02:00
a8703b7598 Run rustfmt. 2022-06-12 22:22:31 +02:00
5085100df2 Add embassy-cortex-m crate.
- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`.
- Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore)
- Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.
2022-06-12 21:45:38 +02:00
db344c2bda common/PeripheralMutex: remove unsafe API. (#802)
Following the project's decision that "leak unsafe" APIs are not marked as "unsafe",
update PeripheralMutex to accept non-'static state without unsafe.

Fixes #801
2022-06-09 21:28:13 +02:00
7d64f5cda7 Use correct index and bank 2022-06-07 15:59:22 +02:00
3e4bead321 stm32: add USB driver. 2022-06-07 03:29:00 +02:00
0aa73f58e2 Update stm32-metapac. 2022-06-07 00:28:26 +02:00
b0ffd9a1cc Fix AF pullup configuration for GPIOv1 2022-06-06 17:12:52 +03:00
34a8a64bf5 stm32: make tick rate configurable
The stm32 time drivers support arbitrary tick rates but the associated
Cargo features do not. Enabling any time driver presently enables
`embassy/time-tick-32768hz`; instead, enable only `embassy/time`.

This is a breaking change: users must now choose a tick rate. The
previous behavior is available by enabling the
`embassy/time-tick-32768hz` feature, but now users may also choose
`embassy/time-tick-1000hz` or `embassy/time-tick-1mhz` instead.
2022-05-30 20:13:25 -05:00