anton smeenk
601d769e71
2c slave based on transactions and a channel
2023-11-03 13:36:53 +01:00
anton smeenk
ba9f5111d5
A buffer can be reset individuelly
2023-11-01 17:09:11 +01:00
anton smeenk
9474f1576a
Fixing master read: first byte was flushed. Fixing set i2c_address_1.
2023-10-29 09:45:06 +01:00
anton smeenk
a03407d08c
Searching for solution for vals::Omask not found. Is found locally, but not on build server
2023-10-28 08:58:08 +02:00
anton smeenk
26e37c673d
Added public interfaces for vals::Dir and vals::Oamsk, so they can be used outside the crate
2023-10-28 08:25:41 +02:00
anton smeenk
0fe0bc60fe
Merge remote-tracking branch 'origin/master' into feature-i2c-slave
...
# Conflicts:
# examples/stm32g0/Cargo.toml
2023-10-27 14:58:43 +02:00
anton smeenk
ce066e92e7
Arbitration lost test is working. Still some test failing
2023-10-27 14:54:06 +02:00
xoviat
b6fc682117
Merge pull request #2117 from xoviat/rtc-3
...
stm32/rtc: more rtc cleanup
2023-10-26 00:55:32 +00:00
xoviat
0beb84768e
stm32/rtc: more rtc cleanup
2023-10-25 19:50:30 -05:00
xoviat
b98a279367
Merge pull request #2116 from xoviat/rtc-2
...
stm32/low-power: refactor refcount
2023-10-26 00:11:21 +00:00
xoviat
e8a3cfaed6
stm32/low-power: refactor refcount
2023-10-25 19:07:31 -05:00
anton smeenk
70a64e8dcb
I2c slave is working now. Todo: enable and test master write-read transaction
2023-10-25 21:25:38 +02:00
Dario Nieuwenhuis
0cc3e18db6
Merge pull request #2112 from AzazKamaz/patch-1
...
Fix #2100 - function address comparison
2023-10-25 11:53:52 +00:00
Aleksandr Krotov
6b19c0abd1
Fix #2100 - function address comparison
2023-10-25 11:01:35 +03:00
Dario Nieuwenhuis
f956d19e6e
Merge pull request #2111 from yodaldevoid/more-ticks
...
time: Add tick rates in multiples of 10 kHz
2023-10-24 19:51:24 +00:00
Gabriel Smith
ceb0d0bf08
time: Add tick rates in multiples of 10 kHz
2023-10-24 15:34:39 -04:00
Dario Nieuwenhuis
b3879ec223
Merge pull request #2105 from andresv/fix-stm32-uart-set-config
...
Fix stm32 uart set_config
2023-10-24 13:13:42 +00:00
Andres Vahter
bda99e59ec
stm32: fix uart parity, add comment why it is so
2023-10-24 15:57:03 +03:00
Andres Vahter
25c2a9baaa
stm32 uart: remove redundant set_fifoen(true)
2023-10-24 10:11:54 +03:00
Andres Vahter
1e362c750b
stm32 uart: use ConfigError instead of () as error
2023-10-24 09:54:17 +03:00
Ulf Lilleengen
1a51a84313
Merge pull request #2109 from rmja/stm32-remove-unsafe-warning
...
stm32: Remove unneeded unsafe
2023-10-24 06:32:22 +00:00
Andres Vahter
7f72dbdaf2
stm32: fix set_config for buffered uart
...
In reconfigure() cr1 register is initialised with write (not modify) which means rxneie and idleneie are disabled after reconfiguration.
2023-10-24 09:09:33 +03:00
Rasmus Melchior Jacobsen
e8c162ac03
stm32: Remove unneeded unsafe
2023-10-24 07:44:04 +02:00
xoviat
1aaa19748a
Merge pull request #2107 from embassy-rs/hil-test
...
stm32/build: deterministically generate data
2023-10-23 23:42:38 +00:00
xoviat
9e230b64a4
stm32/build: deterministically generate data
2023-10-23 18:19:42 -05:00
xoviat
17b4cf8ce7
Merge pull request #2106 from xoviat/fix-stop-2
...
stm32: fix low-power test
2023-10-23 21:29:36 +00:00
xoviat
df4aa0fe25
stm32: fix low-power test
2023-10-23 16:26:34 -05:00
Andres Vahter
188ee59ba6
stm32: fix setting uart databits
2023-10-23 22:40:24 +03:00
Andres Vahter
591612db7e
stm32 uart: return error if rx and tx not enabled
2023-10-23 22:39:24 +03:00
Dario Nieuwenhuis
d673f8a865
Merge pull request #2103 from embassy-rs/rcc-no-spaghetti
...
stm32/rcc: merge wb into l4/l5.
2023-10-23 16:21:17 +00:00
Dario Nieuwenhuis
82593bd404
stm32/gpio: make port G work on U5.
2023-10-23 18:12:31 +02:00
Dario Nieuwenhuis
a39ae12edc
stm32/rcc: misc cleanups.
2023-10-23 17:36:21 +02:00
Dario Nieuwenhuis
0ef1cb29f7
stm32/rcc: merge wb into l4/l5.
2023-10-23 17:36:21 +02:00
Dario Nieuwenhuis
64ab23d17d
Merge pull request #2104 from glaeqen/slow-dhcp
...
net: Reset DHCP socket when the link up is detected
2023-10-23 09:55:17 +00:00
Gabriel Górski
18c9bcd44a
net: Reset DHCP socket when the link up is detected
...
Previously, because DHCP DISCOVER is sent before the link is
established, socket has to timeout first. Which takes extra 10 s.
Now if the state of the link changed to up, socket is explicitly reset
so the DISCOVER is repeated much earlier and DHCP configuration is
acquired much faster.
2023-10-23 11:07:21 +02:00
Dario Nieuwenhuis
e895ea2d8b
Merge pull request #2102 from embassy-rs/rcc-no-spaghetti
...
stm32/rcc: merge wl into l4/l5.
2023-10-22 22:48:57 +00:00
Dario Nieuwenhuis
b9e13cb5d1
stm32/rcc: merge wl into l4/l5.
2023-10-23 00:31:36 +02:00
Dario Nieuwenhuis
46ff2c82aa
Merge pull request #2101 from embassy-rs/rcc-no-spaghetti
...
stm32/tests: add stm32wba52cg, stm32u5a9zj
2023-10-22 21:05:27 +00:00
Dario Nieuwenhuis
a84ad741a4
stm32/tests: add stm32wba52cg, stm32u5a9zj
2023-10-22 22:45:11 +02:00
Dario Nieuwenhuis
412bcad2d1
stm32: rename HSI16 -> HSI
2023-10-22 22:39:55 +02:00
xoviat
e70c531d3d
Merge pull request #2098 from xoviat/doc
...
stm32: fix opamp bug in docs build
2023-10-21 12:33:47 +00:00
xoviat
7c5f963d1f
stm32: fix opamp bug in docs build
2023-10-21 07:32:04 -05:00
anton smeenk
b1afd5141c
Busy debugging the i2c slave
2023-10-21 12:11:32 +02:00
Dario Nieuwenhuis
62e1e1637c
Merge pull request #2097 from embassy-rs/rcc-no-spaghetti
...
stm32/tests: add stm32h753zi, stm32h7a3zi.
2023-10-21 02:49:12 +00:00
Dario Nieuwenhuis
3d03c18d4f
stm32/tests: add stm32h753zi, stm32h7a3zi.
2023-10-21 04:46:45 +02:00
xoviat
2157c5a4e3
Merge pull request #2096 from xoviat/rcc
...
wip: update metapac
2023-10-21 01:23:09 +00:00
xoviat
0fb677aad7
stm32: update metapac
2023-10-20 20:21:53 -05:00
anton smeenk
007855423e
Slave: write Starts working work in progress
2023-10-20 22:12:37 +02:00
Dario Nieuwenhuis
b1d0947a18
Merge pull request #1991 from diondokter/center-align
...
stm32: Add the ability to center-align timers
2023-10-20 16:39:30 +00:00
Dion Dokter
5b3f75dc72
Merge branch 'master' into center-align
2023-10-20 14:17:55 +02:00