Caleb Jamison
bd0b450ca4
Improve rp2040 i2c slave
...
This commit takes the fixes and error reporting improvements from
jcdickinson's work and applies them without overlaying a software state
machine on top of the hardware state machine.
Also allows configuration of response to 'general call' writes.
2024-02-15 17:56:50 -05:00
Barnaby Walters
5b7eff6541
[embassy-stm32]: started stm32g4 RCC refactor
...
* Copied API from f.rs where applicable
* HSE and HSI independantly configurable
* Boost mode set by user rather
* Added HSE, pll1_q and pll1_p frequencies to set_clocks call
* Stubbed max module based on f.rs, needs cleanup
2024-02-15 23:56:26 +01:00
Priit Laes
50b8100fd3
nrf: Implement chunked DMA transfers for SPIM peripheral
...
On some chips (notably nrf52832), the maximum DMA transfer is 255
bytes, which has caused subtle issues while interfacing with various
devices over SPI bus.
2024-02-15 12:34:51 +02:00
Dario Nieuwenhuis
5220453d85
Merge pull request #2564 from embassy-rs/rcc-f1-update
...
stm32/rcc: port F1, F0 to new API.
2024-02-14 16:40:11 +00:00
Dario Nieuwenhuis
1860e22693
stm32/rcc: unify f0, f1, f3.
2024-02-14 17:24:20 +01:00
eZio Pan
bbe1eebc53
Add missing TIM for time-driver; reorder time-driver selection when use "time-drvier-any".
2024-02-14 17:43:46 +08:00
Dario Nieuwenhuis
63d592c7b0
Merge pull request #2543 from badrbouslikhin/usb-dfu-erase-then-write
...
feat(boot): enhance firmware write functionality
2024-02-14 09:35:41 +01:00
Dario Nieuwenhuis
50b621694a
Merge pull request #2569 from bsodmike/stm32_speed_settings_typo
...
FIX: Correct typo in stm32 gpio
2024-02-14 09:34:54 +01:00
Michael de Silva
0ceb313b6f
FIX: Correct typo in stm32 gpio
2024-02-14 07:22:52 +05:30
Dario Nieuwenhuis
4c7ed5e055
Merge pull request #2565 from caleb-garrett/hmac
...
STM32 HMAC
2024-02-13 20:47:42 +01:00
Caleb Garrett
f0045b9217
Added HMAC to STM32 hash test.
2024-02-13 10:17:19 -05:00
Dario Nieuwenhuis
ee4afa4280
Merge pull request #2567 from jr-oss/faq_linker_error
...
FAQ add hint to embassy-time linker error to include HAL in linking
2024-02-13 15:33:31 +01:00
James Munns
4a0b1cbadb
Update docs/modules/ROOT/pages/faq.adoc
2024-02-13 15:23:50 +01:00
Ralf
f9af0096bd
FAQ add hint to embassy-time linker error to include HAL in linking
2024-02-13 15:04:47 +01:00
Caleb Garrett
14a678fe45
Fixed HMAC blocking mode.
2024-02-12 20:33:04 -05:00
Caleb Garrett
f0f1f2d14c
Added HMAC example.
2024-02-12 20:33:04 -05:00
Caleb Garrett
37c869827e
Update STM32 hash test.
2024-02-12 20:33:04 -05:00
Caleb Garrett
d8b4922b3c
Add STM32 HMAC function.
2024-02-12 20:33:04 -05:00
Dario Nieuwenhuis
8c82d1bcbc
Merge pull request #2528 from caleb-garrett/hash
...
STM32 Hash Accelerator
2024-02-13 01:36:11 +01:00
Dario Nieuwenhuis
ccd2c574c3
stm32/rcc: port F0 to new API.
2024-02-13 01:21:51 +01:00
Dario Nieuwenhuis
b7c147445a
stm32/rcc: port F1 to new API.
2024-02-13 01:21:51 +01:00
Dario Nieuwenhuis
739c69bd63
stm32/rcc: some f3 fixes.
2024-02-13 01:15:54 +01:00
Badr Bouslikhin
7dd974aa0d
refactor(boot): use sector instead of page for consistency
2024-02-12 23:28:04 +01:00
Badr Bouslikhin
56e6b6bee6
refactor(boot): move page erase index out of state
2024-02-12 23:24:21 +01:00
Dario Nieuwenhuis
e8c998aad8
Merge pull request #2563 from nbars/main
...
Print panics via defmt per default for the stm32f0 example
2024-02-12 20:30:04 +00:00
Dario Nieuwenhuis
9664972f53
Merge pull request #2562 from embassy-rs/rcc-h7-sdlevel
...
stm32/rcc: use h7 sdlevel enum from pac.
2024-02-12 20:27:43 +00:00
Nils Bars
6e24f0562d
Print panics via defmt per default for the stm32f0 example
2024-02-12 21:18:50 +01:00
Ulf Lilleengen
acaac8ef70
Merge pull request #2556 from chamburr/fix-async-updater
...
Fix unaligned buffer in async updater
2024-02-12 20:05:50 +00:00
Ulf Lilleengen
a2b7b0c8e0
Merge pull request #2414 from JomerDev/usb-logger-without-device
...
Adds function and macro to create usb logger without device (also fixes a logger issue)
2024-02-12 20:04:57 +00:00
Dario Nieuwenhuis
937a9e7955
stm32/rcc: use h7 sdlevel enum from pac.
2024-02-12 20:58:04 +01:00
Dario Nieuwenhuis
180f4c9c9b
Merge pull request #2561 from embassy-rs/net-docs2
...
net: enable dhcpv4-hostname feature in docs.
2024-02-12 19:51:59 +00:00
Dario Nieuwenhuis
affaf2be1f
net: enable dhcpv4-hostname feature in docs.
2024-02-12 20:50:06 +01:00
Jomer.Dev
16ed0b1e37
Move usb clas loop to private function
...
Move const to the outside of the logger
2024-02-12 19:01:22 +01:00
Dario Nieuwenhuis
b7c1ad553f
Merge pull request #2560 from embassy-rs/rcc-f3
...
stm32/rcc: port F3 RCC to new API
2024-02-12 01:29:32 +00:00
Dario Nieuwenhuis
0dc5e6d3e4
stm32/rcc: port F3 RCC to new API
...
See #2515
2024-02-12 02:19:31 +01:00
Badr Bouslikhin
333b2afe6d
test(boot): add various write firmware test configurations
2024-02-11 20:17:15 +01:00
Badr Bouslikhin
eb3bd39b06
feat(boot): enhance firmware write functionality
2024-02-11 20:16:17 +01:00
Badr Bouslikhin
72ab04c453
Revert "feat(usb-dfu): change usb dfu chunks write mechanism "
...
This reverts commit c95bf6895a
.
2024-02-11 19:38:16 +01:00
Badr Bouslikhin
8f7d80f9f7
Revert "feat(boot): introduce non-erase flash write method "
...
This reverts commit 2e8b7d2590
.
2024-02-11 19:38:15 +01:00
Badr Bouslikhin
2a09996a78
Merge branch 'embassy-rs:main' into usb-dfu-erase-then-write
2024-02-11 19:35:42 +01:00
Caleb Garrett
7bf044278e
fmt
2024-02-11 11:47:38 -05:00
Caleb Garrett
eb64d71247
Consolidated hash drivers.
2024-02-11 11:32:29 -05:00
Caleb Jamison
b4dc406e19
Switch to ticker
2024-02-10 17:00:10 -05:00
Caleb Jamison
c873dcbb20
Add explicit reset time to ws2812 write fn.
2024-02-10 16:55:32 -05:00
Han Cen
d77b6a60d2
Fix unaligned buffer in async updater
2024-02-10 20:45:44 +08:00
Dario Nieuwenhuis
edb3989b57
Merge pull request #2555 from eZioPan/timer-doc-fix
...
timer-doc-fix
2024-02-10 11:37:04 +00:00
eZio Pan
b4399a1bf5
timer-doc-fix
2024-02-10 16:22:36 +08:00
Dario Nieuwenhuis
f0ffc9f74a
Merge pull request #2553 from embassy-rs/update-metapac55
...
stm32: update metapac.
2024-02-10 02:02:52 +00:00
Dario Nieuwenhuis
832776d2c7
stm32: update metapac.
2024-02-10 02:50:35 +01:00
Caleb Garrett
0c9661a661
Merge branch 'main' into hash
2024-02-09 19:24:19 -05:00