f4736457f5
nrf/timer: use low power counter mode.
...
The regular one permanently requests HFCLK, while the low power one only does
so while counting, for 1 clock cycle. The regular mode is "deprecated" too.
2023-05-26 16:50:19 +02:00
f501a1ba2c
Disable ppi group first to avoid BufferedUarte not getting dropped properly
2023-05-26 16:40:10 +02:00
ee20fd4c16
Merge #1492
...
1492: Remove ability to, during runtime, set alt layout - it does not work. r=rmja a=rmja
I wasted yesterday trying to get this to work. It seems that erase operations does not work when in db1m mode. The erase operations, both bank and sector, runs and completes without any error flags being set. It also takes expected amount of time, but the flash is not actually erased.
I found [this](https://community.st.com/s/question/0D50X00009XkWrASAV/is-it-possilbe-to-checkand-may-be-writethe-db1m-option-byte-from-the-firmware-i-am-using-an-stmf4427ig-1mb-with-double-bank-via-db1m-option-byte ) on the topic, at it seems that one have to reset the mcu for the change to take effect, so it does not make any sense to have it as runtime configurable.
Co-authored-by: Rasmus Melchior Jacobsen <rmja@laesoe.org >
2023-05-26 13:58:59 +00:00
fee89ed7c7
Remove ability to set alt layout - it does not work.
2023-05-26 15:41:08 +02:00
c5c5b64729
Merge #1490
...
1490: sync: do will_wake check in MultiWakerRegistration. r=Dirbaio a=Dirbaio
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net >
2023-05-26 13:35:53 +00:00
3081ecf301
sync: do will_wake check in MultiWakerRegistration.
2023-05-26 13:17:39 +02:00
66304a102d
Revert "Merge branch 'tl_mbox' into ipcc"
...
This reverts commit 859e539f85
, reversing
changes made to 984cd47b41
.
2023-05-26 11:26:58 +01:00
859e539f85
Merge branch 'tl_mbox' into ipcc
2023-05-26 11:24:08 +01:00
984cd47b41
stm32/ipcc: update test
2023-05-26 10:03:01 +01:00
2ccf9f3abd
stm32/ipcc: static methods for IPCC
2023-05-26 09:56:55 +01:00
31b364b9b0
Merge #1480
...
1480: stm32: Async flash support for F4 r=rmja a=rmja
This PR depends on https://github.com/embassy-rs/embassy/pull/1478 .
It adds async write/erase operations to the F4 series based on the work in https://github.com/embassy-rs/embassy/pull/870 but aligned to the new flash regions.
If one considers the entire `Flash` then nothing has changed other than the async operations have been added.
Co-authored-by: Rasmus Melchior Jacobsen <rmja@laesoe.org >
2023-05-26 08:21:57 +00:00
307f2365da
Fix blocking example
2023-05-26 04:53:43 +02:00
d82ba4af8a
WHY does format on save not work
2023-05-26 00:35:53 +02:00
35d8edbc41
nightly guard async traits only
2023-05-26 00:31:41 +02:00
9115431d35
Move nightly guard and clear data cache reset bit
2023-05-26 00:12:22 +02:00
e08267df54
Move new async to asynch module to guard for models without flash interrupt
2023-05-25 23:51:10 +02:00
74104aafda
erase_sector_blocking -> blocking_erase_sector
2023-05-25 23:13:20 +02:00
4478d8322b
Endless rustfmt pain
2023-05-25 22:58:13 +02:00
88543445d8
Fix end address for assertion
2023-05-25 22:52:57 +02:00
41a632a56c
Formatting
2023-05-25 22:48:17 +02:00
524a89cc72
Merge #1487
...
1487: rp: Implement embedded_hal::serial::Write for Uart/UartTx r=Dirbaio a=Alpha-3
Uart/UartTx currently implements `embedded_hal_02::serial::Read<u8>` and `embedded_hal_02::blocking::serial::Write<u8>` but not `embedded_hal_02::serial::Write<u8>`.
This implements the missing `embedded_hal_02::serial::Write<u8>` to allow use of Uart with crates that expect this interface, such as [defmt_serial](https://docs.rs/defmt-serial/latest/defmt_serial/ ).
Co-authored-by: Alpha3__0 <Alpha3.0gmail.com>
2023-05-25 20:38:23 +00:00
8938d928f8
Fix examples
2023-05-25 22:36:56 +02:00
b50d04336e
Fix merge error
2023-05-25 22:32:57 +02:00
ce331b411c
Only assert_not_corrupted_read if we read from the second bank
2023-05-25 22:31:24 +02:00
8528455a75
Errata if _not_ pa12 out low
2023-05-25 22:20:05 +02:00
d28dc08f09
Merge #1486
...
1486: feature(embassy-stm32): add RTC MUX selection to embassy-stm32 L4 family r=Dirbaio a=MathiasKoch
To select and setup LSE and/or LSI
Co-authored-by: Mathias <mk@blackbird.online >
2023-05-25 20:13:27 +00:00
344e28360f
More blocking rename
2023-05-25 22:09:28 +02:00
983f01016b
Merge branch 'async-flash' of https://github.com/rmja/embassy into async-flash
2023-05-25 21:52:35 +02:00
9eca19b49d
*_blocking -> blocking_*
2023-05-25 21:46:26 +02:00
860b519f99
Let Flash<Async/Blocking> be a thing
2023-05-25 21:40:54 +02:00
181c4c5311
Add RTC MUX selection to embassy-stm32 L4 family, to select and setup LSE and/or LSI
2023-05-25 21:28:32 +02:00
18d14dff48
Handle errata 2.2.12
2023-05-25 21:14:35 +02:00
b412784a7a
Add runtime checks for errata 2.2.11
2023-05-25 20:55:12 +02:00
dc28a42fd2
Fix return definition
2023-05-25 11:55:05 -07:00
0d80a95e54
Implement eh 0.2.* serial::Write for Uart/UartTx
2023-05-25 11:33:29 -07:00
8073bf22e9
Add sector number tests
2023-05-25 20:07:43 +02:00
e764a3d9ca
Fix unused errors
2023-05-25 20:07:43 +02:00
49a31bd5d8
Simplify SR->Result
2023-05-25 20:07:43 +02:00
7371eefa86
Align with new bind_interrupt
2023-05-25 20:07:42 +02:00
15636f05f5
Actually transition to dual bank mode - key was required
2023-05-25 20:07:42 +02:00
efc71e08c4
Default to Async mode
2023-05-25 20:07:42 +02:00
bac8ad565e
Remove TryLockError,
2023-05-25 20:07:42 +02:00
525e065474
Align examples
2023-05-25 20:07:42 +02:00
44b6494ab7
Let FlashLayout and FlashRegion depends on a Blocking/Async mode generic
2023-05-25 20:07:42 +02:00
6df6239704
Run format with nightly
2023-05-25 20:07:42 +02:00
c6ffece410
Add more missing nightly guards
2023-05-25 20:07:41 +02:00
34a2804b54
Fix unused get_sector and ensure_sector_aligned
2023-05-25 20:07:41 +02:00
cdb1447569
Add missing nightly guards
2023-05-25 20:07:41 +02:00
7477785bbb
Align examples
2023-05-25 20:07:41 +02:00
0e90e98e9b
stm32: Add async flash write/erase to f4
2023-05-25 20:07:41 +02:00