Dario Nieuwenhuis
a61701b756
stm32/usart: add OVER8 and PRESC support, update PAC
2023-05-02 19:36:00 +02:00
Ulf Lilleengen
42a8f1671d
Bump versions preparing for -macros and -executor release
2023-04-27 11:54:22 +02:00
xoviat
bd6bb2d248
Merge branch 'embassy-stm32/rtc' of https://github.com/MathiasKoch/embassy into rtc
2023-04-16 10:06:00 -05:00
Dario Nieuwenhuis
224eaaf797
stm32/sdmmc: switch to AFIT.
2023-04-15 00:58:58 +02:00
Dario Nieuwenhuis
577f060d24
Release embassy-sync v0.2.0
2023-04-13 23:40:49 +02:00
Dario Nieuwenhuis
f5df567619
stm32/test: add C0 hil tests.
2023-04-11 14:16:32 +02:00
Dario Nieuwenhuis
cae683cd41
stm32: update pac.
2023-04-10 21:12:48 +02:00
Dario Nieuwenhuis
f38899728c
stm32: add h5 flavor.
2023-04-07 02:28:36 +02:00
Dario Nieuwenhuis
dee1d51ad3
stm32: remove subghz feature.
...
It's available only on WL. if you're using a WL, you want subghz for sure.
2023-04-07 02:28:36 +02:00
Dario Nieuwenhuis
be37eee13d
Update embedded-hal crates.
2023-04-06 22:41:50 +02:00
Dario Nieuwenhuis
611d023829
stm32: add H5 support.
2023-04-06 18:59:37 +02:00
Dario Nieuwenhuis
9f28d80977
stm32/usb: add support for 32bit usbram.
2023-04-06 18:59:37 +02:00
Dario Nieuwenhuis
94890e544e
Update stm32-metapac.
2023-04-03 02:01:06 +02:00
Rasmus Melchior Jacobsen
68c260edeb
Use stm32-metapac v2
2023-03-29 15:03:48 +02:00
Rasmus Melchior Jacobsen
0bbc3a3d81
Merge branch 'master' into flash-regions
2023-03-29 13:59:17 +02:00
Rasmus Melchior Jacobsen
d6ce1c4325
Support running tests in embassy-stm32 and move impl from common back to stm32
2023-03-29 11:31:45 +02:00
Dario Nieuwenhuis
a33774ec51
Update stm32-metapac
2023-03-27 12:36:31 +02:00
Dario Nieuwenhuis
0b49b588a2
stm32: use stm32-metapac from crates.io, remove stm32-data submodule.
2023-03-20 02:38:12 +01:00
Dario Nieuwenhuis
43462947ed
stm32: remove unused embedded-storage-async.
2023-03-14 17:27:40 +01:00
Mathias
218b44652c
Rebase on master
2023-02-13 14:55:15 +01:00
Dario Nieuwenhuis
363054de98
stm32: doc all chips.
2023-02-13 03:02:12 +01:00
Dario Nieuwenhuis
0412d1922c
fix embedded-sdmmc integration.
...
- Rename feature to `embedded-sdmmc`.
- Move embedded-sdmmc fork repo to the embassy-rs org.
- Remove unused features in the fork
- Fix impl in embassy-stm32
- Add to CI so it doesn't break again.
2023-01-21 00:32:34 +01:00
Dario Nieuwenhuis
2a349afea7
stm32: add stm32c0 support.
2023-01-17 21:28:16 +01:00
Dario Nieuwenhuis
1f033d509a
net: split driver trait to a separate crate.
2022-12-26 04:49:08 +01:00
Dario Nieuwenhuis
5eae295c8a
stm32: rename feature net
to embassy-net
.
...
The eth code is always built and available, but has no own API (other
than the embassy-net Device impl) to rx/tx packets. We could add this
API in the future, so the feature only means "embassy-net support".
2022-12-13 16:43:25 +01:00
Dario Nieuwenhuis
1e2fb0459d
Switch to async-fn-in-trait
2022-11-25 21:02:06 +01:00
bors[bot]
01e23bf9dd
Merge #1025
...
1025: Implement I2C timeouts, second attempt r=Dirbaio a=chemicstry
This is an alterrnative to #1022 as discussed there.
Timeouts are implemented using suggested `check_timeout: impl Fn() -> Result<(), Error>` function, which does not depend on `embassy-time` by default and is a noop for regular I2C.
This also adds `time` feature like in `embassy-nrf` to enable `embassy-time` dependencies. While at it, I also gated some other peripherals that depend on `embassy-time`, notably `usb` and (partially) `subghz`.
`TimeoutI2c` is currently only implemented for i2cv1, because i2cv2 has additional complications:
- Async methods still use a lot of busy waiting code in between DMA transfers, so simple `with_timeout()` will not work and it will have to use both types of timeouts. It could probably be rewritten to replace busy waits with IRQs, but that's outside the scope of this PR.
- I2C definition `I2c<'d, T, TXDMA, RXDMA>` is different from i2cv1 `I2c<'d, T>` making it hard to share single `TimeoutI2c` wrapper. A couple of options here:
- Duplicate `TimeoutI2c` code
- Add dummy `TXDMA`, `RXDMA` types to i2cv1 considering that in the future it should also support DMA
Co-authored-by: chemicstry <chemicstry@gmail.com>
2022-10-26 19:34:43 +00:00
Dario Nieuwenhuis
eeb072d9cb
Update Rust nightly.
2022-10-26 16:47:29 +02:00
chemicstry
d99841fea9
Implement time feature
2022-10-24 11:38:15 +03:00
Matous Hybl
9d2641f2f5
Enable defmt in embassy-hal-common
2022-10-18 22:48:43 +02:00
Mathias
aff265a7f5
Merge branch 'master' of https://github.com/embassy-rs/embassy into embassy-stm32/rtc
2022-10-11 09:19:55 +02:00
chrysn
6718ca3a94
all Cargo.toml: Add license to all crate Cargo.toml files
...
Closes: https://github.com/embassy-rs/embassy/issues/1002
2022-10-07 12:41:56 +02:00
Mathias
62c0b18f10
Merge branch 'master' of https://github.com/embassy-rs/embassy into embassy-stm32/rtc
2022-09-30 06:15:12 +02:00
Mathias
a283c47557
Implement embedded-hal-nb for uart
2022-09-30 06:04:19 +02:00
Ulf Lilleengen
72c2e985bb
Update embedded-hal versions and explicitly pin
2022-09-29 11:27:46 +02:00
Mathias
a83560c6b1
Implement RTC peripheral for all stm32 families with rtc
2022-09-29 07:49:32 +02:00
Dario Nieuwenhuis
17d8d11f73
usb: make HALs depend only on embassy-usb-driver.
2022-09-27 13:16:49 +02:00
Dario Nieuwenhuis
10d1ad2343
Replace futures::future::join -> embassy_futures::join::join.
2022-09-22 16:48:35 +02:00
Dario Nieuwenhuis
5327b9c289
time: add more tick rates, use 1mhz as default.
2022-09-02 00:59:34 +02:00
Dario Nieuwenhuis
21072bee48
split embassy-util
into embassy-futures
, embassy-sync
.
2022-08-22 22:18:13 +02:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
Dario Nieuwenhuis
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
Dario Nieuwenhuis
67edea4168
Update to critical-section 1.0, atomic-polyfill 1.0
2022-08-17 19:01:56 +02:00
Dario Nieuwenhuis
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
Matous Hybl
c38755c5b7
Add defmt support to embassy-embedded-hal errors
2022-07-24 22:10:50 +02:00
Henrik Alsér
baae64d911
Add embassy-embedded-hal nightly feature
2022-07-09 23:41:02 +02:00
Henrik Alsér
880b71a1e8
impl SetConfig for stm32 i2c and SPI
2022-07-09 02:28:05 +02:00
Dario Nieuwenhuis
42bc510eff
Remove STM32L485 "ghost chips"
2022-06-27 02:47:15 +02:00
Dario Nieuwenhuis
948bb93dc2
docs: Add $COMMIT to git srclinks.
2022-06-26 23:55:38 +02:00
chemicstry
31177d994f
Fix example
2022-06-23 02:01:23 +03:00