Eli Orona
7592e8be6e
Fix build
2024-02-16 16:45:58 -08:00
Eli Orona
77739faaeb
Rustfmt
2024-02-16 16:42:19 -08:00
Eli Orona
370db9fb06
Update f013.rs
...
Add stm32f398
2024-02-16 16:39:23 -08:00
Dario Nieuwenhuis
9352621058
Merge pull request #2579 from barnabywalters/g4rcc
...
[embassy-stm32]: stm32g4 RCC refactor
2024-02-16 23:38:49 +00:00
Barnaby Walters
6d7458dac7
Refinements
...
* Implemented boost mode dance (RM0440 p234-245, 6.5.1)
* Enabled boost mode in usb_serial example, tested on hardware
* Removed hard requirement of a valid 48MHz source (HSI48 is checked if
requested, PLL passed through as-is and assumed to be valid)
* Used calc_pclk to calculate APB frequencies
* Refactored 48MHz configuration code to remove unnecessary let and block
* Renamed ahb_freq to hclk for clarity and consistency
2024-02-17 00:30:16 +01:00
Barnaby Walters
a24087c36c
Configured SYSCLK after boost mode, added comments
2024-02-16 21:52:58 +01:00
Frank Plowman
7d11119168
embassy-nrf: Don't break lines; make rustfmt happy
2024-02-16 20:47:19 +00:00
Frank Plowman
07987aea4e
embassy-nrf: Fix various typos and make style more consistent
2024-02-16 20:45:58 +00:00
Frank Plowman
c5f39d5c89
embassy-nrf: Use fully-qualified core::mem::transmute
2024-02-16 20:42:14 +00:00
Barnaby Walters
e465dacf73
Added documentation, fixed and refined boost and flash read latency config
2024-02-16 21:34:12 +01:00
Barnaby Walters
25a95503f6
Configured HSI48 if enabled, assert is enabled if chosen as clk48 source
2024-02-16 20:41:04 +01:00
Barnaby Walters
ae74833999
Removed redundant HSI48 configuration
2024-02-16 20:32:35 +01:00
Barnaby Walters
32e4c93954
Removed dangling doc comments
2024-02-16 19:58:19 +01:00
Ulf Lilleengen
e9907de39d
Merge pull request #2572 from plaes/nrf-spim-chunked-dma
...
NRF: Implement chunked DMA transfers for SPIM
2024-02-16 17:35:53 +00:00
Frank Plowman
bcb0be21c1
embassy-nrf: Fix PDM gain register value derivation
...
Co-authored-by: Sol Harter <sol@glowinthedark.co.uk>
2024-02-16 17:24:58 +00:00
Ulf Lilleengen
b462dfa996
Merge pull request #2580 from DafabHoid/main
...
cyw43: Reuse buf to reduce stack usage
2024-02-16 17:14:07 +00:00
Eli Orona
d7623c7929
Remove extraneous , in cfg
2024-02-15 23:20:35 -08:00
Eli Orona
d28ba1d606
rustfmt
2024-02-15 23:16:17 -08:00
Eli Orona
56b345c722
Clean up register setting
2024-02-15 23:12:18 -08:00
Eli Orona
4408c169a5
Fix cfg lines
2024-02-15 22:55:11 -08:00
Caleb Jamison
f41b0f6ba9
Remove unused imports
2024-02-15 23:06:57 -05:00
Eli Orona
029d6383b5
Rust fmt and fix build.
2024-02-15 20:02:25 -08:00
Eli Orona
169f1ce928
I believe that this enables the PLL clock input to different TIMs for the STM32F3xx Series of chips.
2024-02-15 19:50:42 -08:00
Dario Nieuwenhuis
26fc17e8a7
Merge pull request #2582 from embassy-rs/update-metapac-44
...
stm32: update metapac.
2024-02-16 02:19:26 +01:00
Dario Nieuwenhuis
ae02467434
stm32: update metapac.
2024-02-16 02:07:21 +01:00
Adam Snaider
72e92647e2
Add unsafe constructor for AnyPin
2024-02-15 19:32:11 -05:00
DafabHoid
a75007f5cc
cyw43: Reuse buf to reduce stack usage
2024-02-16 00:33:23 +01:00
Barnaby Walters
396041ad1a
Commented out currently unused constants
2024-02-16 00:04:35 +01:00
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