Caleb Jamison
25bff1d0b9
Fixup comments from James
2024-02-22 06:34:58 -05:00
Caleb Jamison
89986fe967
Fixup display -> debug
2024-02-22 06:21:40 -05:00
Caleb Jamison
5ddee8586a
rp2040 i2c_slave improvements
...
Fix race condition that appears on fast repeated transfers.
Add public reset function. Because application code can stall the bus,
we need to give application code a way to fix itself.
2024-02-22 06:15:31 -05:00
Caleb Jamison
0c6d3ea051
Add SetConfig impl to rp2040 i2c
...
Also expand test to cover 1kHz, 100kHz, 400kHz, and 1MHz speeds.
2024-02-22 06:14:48 -05:00
Dario Nieuwenhuis
69bfcaad42
Merge pull request #2594 from exzachlyvv/zvv/u5-i2c
...
Add simple i2c example for u5
2024-02-18 22:35:18 +00:00
Zach
f12bba8a6d
Add simple i2c example for u5
2024-02-18 16:26:44 -06:00
Ulf Lilleengen
63f955ce35
Merge pull request #2589 from plaes/nrf-clippy
...
nrf: Add some fixes for issues pointed out by clippy
2024-02-18 18:17:07 +00:00
Dario Nieuwenhuis
034e47abac
Merge pull request #2591 from exzachlyvv/zvv/u5-flash
...
support u5 flash
2024-02-18 17:55:35 +00:00
Dario Nieuwenhuis
c7e3eca98c
Merge pull request #2590 from andelf/fix/rp-io-bank
...
rp: Fix wrong io _bank calc
2024-02-18 17:53:59 +00:00
Dario Nieuwenhuis
e7af0f7f00
Merge pull request #2592 from exzachlyvv/zvv/u5-rng
...
u5 - add working rng example
2024-02-18 17:48:57 +00:00
Dario Nieuwenhuis
df6cf8da95
Merge pull request #2593 from MabezDev/cloneable-delay
...
time: cloneable delay
2024-02-18 17:45:44 +00:00
Scott Mabin
20cd7d09f4
time: cloneable delay
2024-02-18 17:01:09 +00:00
Zach
f9e7fc6e5e
u5 - add working rng example
2024-02-17 14:00:03 -06:00
Zach
dd9f0d9d9e
support u5 flash
2024-02-17 12:04:53 -06:00
Andelf
6734f52676
rp/gpio: fix wrong io _bank calc
2024-02-17 20:44:59 +08:00
Priit Laes
8507b0ad30
nrf: Remove useless lifetimes
2024-02-17 13:30:19 +02:00
Priit Laes
7f2f701c87
nrf: Remove useless returns
2024-02-17 13:30:19 +02:00
Priit Laes
580ab48451
nrf: More nits cleaned up - useless cast and struct item
2024-02-17 13:30:19 +02:00
Priit Laes
a8710e943d
nrf: Drop needless let
2024-02-17 13:30:19 +02:00
Priit Laes
bb2fb59a87
nrf: Remove useless borrows
2024-02-17 13:30:19 +02:00
Priit Laes
1aa999c2a8
nrf: Use .is_empty() instead of .len() == 0
2024-02-17 13:30:19 +02:00
Dario Nieuwenhuis
377e58e408
Merge pull request #2587 from embassy-rs/add-stm32-tests
...
tests/stm32: actually add stm32f091rc, stm32h503rb.
2024-02-17 03:52:08 +01:00
Dario Nieuwenhuis
cb7863aea5
tests/stm32: actually add stm32f091rc, stm32h503rb.
2024-02-17 03:46:30 +01:00
Dario Nieuwenhuis
a3f508e6d1
Merge pull request #2570 from eZioPan/time-driver-singleton
...
Add missing TIM for time-driver; reorder time-driver selection when use "time-drvier-any"
2024-02-17 02:34:45 +00:00
Dario Nieuwenhuis
b7c98b9ec9
Merge pull request #2558 from CBJamo/ws2812_write_fixup
...
RP: Add explicit reset time to ws2812 write fn.
2024-02-17 01:49:20 +00:00
Dario Nieuwenhuis
6b0e4dfb2d
Merge pull request #2584 from ohrlabs/fix-pdm-gain
...
embassy-nrf: Fix PDM gain register value derivation
2024-02-17 01:47:18 +00:00
Dario Nieuwenhuis
e19bed921d
Merge pull request #2581 from adsnaider/main
...
Add unsafe constructor for AnyPin
2024-02-17 01:46:12 +00:00
Dario Nieuwenhuis
542dab9189
Merge pull request #2578 from CBJamo/i2c_slave_fixes
...
Improve rp2040 i2c slave
2024-02-17 01:45:31 +00:00
Dario Nieuwenhuis
61963966fd
Merge pull request #2585 from embassy-rs/more-hil-yay
...
tests/stm32: add stm32f091rc, stm32h503rb.
2024-02-17 01:39:18 +00:00
Dario Nieuwenhuis
0e80dc4cd9
tests/stm32: add stm32f091rc, stm32h503rb.
2024-02-17 02:36:48 +01: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
Caleb Jamison
f41b0f6ba9
Remove unused imports
2024-02-15 23:06:57 -05: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