xoviat
6a73ab1afa
stm32/l4: set rtc clock source in rcc
2023-08-08 19:58:03 -05:00
xoviat
6fc5c608f8
stm32/rtc: remove generics and segregate clock sel
2023-08-08 19:47:01 -05:00
xoviat
b555af1c5d
stm32/rtc: fix exampel
2023-08-06 12:12:18 -05:00
xoviat
ae608cf2fa
stm32: fix rtc and examples
2023-08-06 12:06:29 -05:00
Adam Greig
dc5acc687f
Fix package name for stm32f334-examples
2023-08-03 21:57:29 +01:00
Dario Nieuwenhuis
4d60c715e6
net: move tuntap from std example to separate crate. ( #1737 )
2023-08-03 14:23:11 +02:00
pennae
a6b8f3d994
rp: add single-channel dma from adc
...
with uniform treatment of adc inputs it's easy enough to add a new
sampling method. dma sampling only supports one channel at the moment,
though round-robin sampling would be a simple extension (probably a new
trait that's implemented for Channel and &[Channel]). continuous dma as
proposed in #1608 also isn't done here, we'd expect that to be a
compound dma::Channel that internally splits a buffer in half and
dispatches callbacks or something like that.
2023-08-02 17:04:32 +02:00
pennae
b166ed6b78
rp: generalize adc inputs from pins to channels
...
this lets us treat pins and the temperature sensor uniformly using the
same interface. uniformity in turn lets us add more adc features without
combinatorial explosion of methods and types needed to handle them all.
2023-08-01 18:31:28 +02:00
Dario Nieuwenhuis
6caf627262
Merge pull request #1704 from rubdos/ieee802154-fixes
...
Expose IEEE802.15.4 address in Driver
2023-07-31 12:30:33 +00:00
Ruben De Smet
4afdce4ec5
Introduce driver::HardwareAddress without smoltcp dependency
2023-07-31 14:21:26 +02:00
Dario Nieuwenhuis
958cace36d
Merge pull request #1724 from bguruprasath5/stm32g0-flash-support
...
Added STM32G0 Flash Support
2023-07-31 10:35:28 +00:00
Dario Nieuwenhuis
2568c714c8
Merge pull request #1687 from chemicstry/bxcan_timestamp
...
stm32/can: implement proper RX timestamps
2023-07-31 10:28:05 +00:00
dev-guruprasath
0ddabf0423
changed ADDR variable to addr
2023-07-31 15:37:01 +05:30
dev-guruprasath
b4d0f24bf9
changed ADDR variable to addr
2023-07-31 15:36:25 +05:30
dev-guruprasath
5a2f61a031
added working example for flash
2023-07-31 15:29:26 +05:30
dev-guruprasath
5b4c099afc
added working example for flash
2023-07-31 15:06:15 +05:30
dev-guruprasath
c3357f884a
added working example for flash
2023-07-31 14:45:23 +05:30
Julian
027801db60
Fix probe chip type in stm32h7 example
2023-07-31 10:17:44 +02:00
chemicstry
780569c08a
Merge remote-tracking branch 'origin/main' into bxcan_timestamp
2023-07-31 10:29:20 +03:00
Dario Nieuwenhuis
6c6bd11c1a
Merge pull request #1606 from JcBernack/rng-update
...
STM32: RNG update
2023-07-30 23:44:11 +00:00
Dario Nieuwenhuis
4999b045df
stm32/rng: use bind_interrupts!.
2023-07-31 01:41:12 +02:00
Dario Nieuwenhuis
105aa8f452
Merge pull request #1718 from copterust/stm32-spi-set-freq-in-config
...
Move frequency to SPI config
2023-07-30 22:05:22 +00:00
bofh
d8f02e151b
Set frequency in stm32 SPI examples
2023-07-31 00:02:50 +02:00
Michael van Niekerk
56b21ad429
Uart pio fix zeros
...
Prevent UART from only getting 0s from the output
2023-07-30 22:13:27 +02:00
bofh
04ed45941a
Fix format in stm32 SPI examples
2023-07-30 19:31:22 +02:00
bofh
55fb1d5126
Fix more stm32 SPI examples
2023-07-30 19:26:24 +02:00
bofh
4f791799a9
Fix formatting
2023-07-30 19:12:49 +02:00
bofh
d2127f6b82
Fix stm32 SPI examples
2023-07-30 18:58:40 +02:00
GhaithOueslati
73057ee241
wpan: fix examples
2023-07-30 16:46:33 +01:00
xoviat
0d7b005252
stm32/pwm: add output type control
2023-07-29 12:01:32 -05:00
Dario Nieuwenhuis
eb097b9d03
Merge pull request #1710 from Sizurka/rp-async-flash
...
rp: add async flash
2023-07-28 22:56:33 +00:00
Derek Hageman
7ed9e29326
rp: add async flash
...
Implement an async flash mode using the XIP background best effort
read interface. Only reads are actually async, write and erase remain
blocking.
2023-07-28 16:50:54 -06:00
xoviat
c7c701b3e3
Merge branch 'main' of https://github.com/embassy-rs/embassy into hrtim
2023-07-28 17:18:22 -05:00
xoviat
28136579e9
stm32/hrtim: extract into mod
2023-07-28 17:07:08 -05:00
Dario Nieuwenhuis
e3cc0d168c
Merge pull request #1707 from pennae/rp-pio-load
...
rp: relocate programs implicitly during load
2023-07-28 17:47:34 +00:00
pennae
cbc8871a0b
rp: relocate programs implicitly during load
...
this removed the RelocatedProgram construction step from pio uses.
there's not all that much to be said for the extra step because the
origin can be set on the input program itself, and the remaining
information exposed by RelocatedProgram can be exposed from
LoadedProgram instead (even though it's already available on the pio_asm
programs, albeit perhaps less convenient). we do lose access to the
relocated instruction iterator, but we also cannot think of anything
this iterator would actually be useful for outside of program loading.
2023-07-28 19:33:02 +02:00
Ruben De Smet
69c0a89aa5
Use HardwareAddress in Driver
2023-07-28 16:40:15 +02:00
JuliDi
937a63ce28
remove memory.x files for other stm32 examples
2023-07-28 16:38:02 +02:00
JuliDi
b57ba84da5
add dac-dma example for h7, remove memory.x
2023-07-28 16:34:20 +02:00
Dario Nieuwenhuis
3690af9bea
stm32/timer: merge pwm module into timer. ( #1703 )
...
The traits there are applicable to timer use cases other than PWM.
It doesn't make sense to keep them separated.
2023-07-28 15:29:27 +02:00
Dario Nieuwenhuis
b124222649
Merge pull request #1699 from mvniekerk/main
...
RP2040: PIO UART example
2023-07-28 11:58:07 +00:00
Dario Nieuwenhuis
d5f9d17b7c
Make pipes local vars.
2023-07-28 13:38:26 +02:00
Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )
2023-07-28 13:23:22 +02:00
Michael van Niekerk
146c744223
Fixes as per PR
2023-07-28 12:56:31 +02:00
Michael van Niekerk
6b6acc256d
Merge remote-tracking branch 'origin/main'
2023-07-28 11:57:50 +02:00
Michael van Niekerk
91338adc15
Don't include embedded-hal-common
2023-07-28 11:56:59 +02:00
Michael van Niekerk
1d4e1092c4
Merge branch 'embassy-rs:main' into main
2023-07-28 11:38:45 +02:00
Michael van Niekerk
0f1ff77fcc
Comments
2023-07-28 11:38:08 +02:00
Michael van Niekerk
e947aa0153
Comments
2023-07-28 11:37:38 +02:00
Chuck Davis
8f1ea85938
Merge branch 'main' into main
2023-07-27 08:50:53 -05:00