Dario Nieuwenhuis
7532a06f67
Merge pull request #3007 from liarokapisv/spi_v3-fix-rx
...
Add proper rxonly support for spi_v3 and force tx dma stream requirem…
2024-05-30 10:44:48 +00:00
Dario Nieuwenhuis
e9cb9badf7
Merge pull request #3012 from cschuhen/feature/fdcan_no_generics
...
Remove generic argument for STM32 FDCAN.
2024-05-30 10:42:53 +00:00
Ulf Lilleengen
cf0d227cca
Prepare for embassy-sync 0.6.0 release
2024-05-29 12:09:55 +02:00
Corey Schuhen
35feb1bf23
Remove generic argument for STM32 FDCAN.
2024-05-29 20:07:17 +10:00
Alexandros Liarokapis
4f76f6b9df
add spi_dma rx-only test
2024-05-28 16:08:36 +03:00
Jan Špaček
183f2f6913
stm32/usart: remove instance generic params
2024-05-23 16:32:15 +02:00
Dario Nieuwenhuis
2b09f9efd7
stm32/spi: check that the RCC enable bit is disabled on drop.
2024-05-20 23:43:10 +02:00
Dario Nieuwenhuis
7089e5b586
stm32/tests: add stm32u0 hil.
2024-05-13 16:20:52 +02:00
Dario Nieuwenhuis
a8f578751f
tests/riscv32: workaround linking bug, update deps.
...
https://github.com/rust-embedded/riscv/issues/196
2024-05-13 00:16:24 +02:00
Dario Nieuwenhuis
fb67fe0a6c
stm32: add support for STM32H7[RS] "bootflash line", add HIL tests.
2024-05-01 02:24:45 +02:00
Dario Nieuwenhuis
6f44d7a9df
stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.
2024-04-29 20:52:27 +02:00
eZio Pan
d9e59e8e42
low power for h5
2024-04-28 00:33:02 +08:00
Dario Nieuwenhuis
5732ee7ca9
Reduce use of the full futures
crate.
2024-04-26 23:22:25 +02:00
Dario Nieuwenhuis
597315873d
Remove leftover cargo new
boilerplate.
2024-04-26 22:59:50 +02:00
Torin Cooper-Bennun
543c02e649
stm32: can: fd: fix test build for all relevant chips
2024-04-22 13:30:57 +01:00
Dario Nieuwenhuis
d6b1233f16
stm32/usart: remove DMA generic params.
2024-04-16 02:00:55 +02:00
Dario Nieuwenhuis
be087e5d43
stm32/spi: remove DMA generic params.
2024-04-15 21:23:49 +02:00
Andres Vahter
fd901fc7e0
stm32: update adc examples
2024-04-10 10:57:52 +03:00
pawel00100
143b288333
Add parameter for enabling pull-up and pull-down in RP PWM input mode
2024-04-05 01:20:34 +02:00
Dario Nieuwenhuis
6c35a1769d
Merge pull request #2697 from eZioPan/stm32-cordic
...
stm32 CORDIC driver
2024-04-04 21:32:27 +00:00
Alexandru RADOVICI
aa9eb2ab01
rename PWM_CH to PWM_SLICE
2024-04-02 17:20:35 +03:00
Dario Nieuwenhuis
c8936edb6c
stm32/can: simplify bxcan api, merging bx::* into the main structs.
...
The bx::* separate structs (Can, Rx, Tx) and separate `Instance` trait
are a relic from the `bxcan` crate. Remove them, move the functionality
into the main structs.
2024-04-02 11:08:03 +02:00
Corey Schuhen
8d43fb4da4
CAN: Use the same testing code for BXCAN and FDCAN h/w.
2024-03-28 09:32:13 +10:00
Corey Schuhen
2217b80278
CAN: Unify API's between BXCAN and FDCAN. Use Envelope for all read methods instead of a tuple sometimes.
2024-03-28 09:32:13 +10:00
Emilie Burgun
402def86ee
Remove ad-hoc fixes for setting the IOSV bit to true
2024-03-26 17:27:02 +01:00
eZio Pan
6b2e15e318
stm32 CORDIC: exclude stm32u5a
2024-03-26 15:06:06 +08:00
eZio Pan
79eabc95aa
stm32 CORDIC: add g491re back to cordic test
2024-03-23 09:57:29 +08:00
eZio Pan
0abcccee96
stm32 CORDIC: re-design API
2024-03-23 09:15:25 +08:00
eZio Pan
441aa4c8ce
stm32 CORDIC: make HIL run
2024-03-23 09:15:25 +08:00
eZio Pan
0d065ab2d6
stm32 CORDIC: add HIL test
2024-03-23 09:15:25 +08:00
Dario Nieuwenhuis
eca9aac194
Fix warnings in recent nightly.
2024-03-20 16:39:09 +01:00
Corey Schuhen
3f5c8784af
FDCAN: Fix offset issue preventing CAN2 and CAN3 from working.
...
Fix for not H7
2024-03-16 19:32:38 +10:00
Dario Nieuwenhuis
c580d4c490
Merge pull request #2701 from timokroeger/stm32-ucpd
...
STM32 UCPD CI Test
2024-03-15 18:51:09 +00:00
Dario Nieuwenhuis
0f03018434
tests/stm32: run ucpd only on g0.
2024-03-15 19:47:05 +01:00
Timo Kröger
067e677ae5
[UCPD] Add unit test for stm32g071rb board
...
One test for changing the CC line pull-up resistor is skipped for now.
2024-03-15 17:49:15 +01:00
Corey Schuhen
242759a600
Use Result instead of Option for Frame creation.
2024-03-13 17:46:50 +10:00
Corey Schuhen
12a3af5043
Shared frame types.
...
Remove BXCAN speciffic id and frame modules
Remove SizedClassicData
2024-03-13 17:46:50 +10:00
Dario Nieuwenhuis
35f284ec22
Merge pull request #2691 from caleb-garrett/cryp-dma
...
STM32 CRYP DMA
2024-03-12 19:30:20 +00:00
Caleb Garrett
b1ba272987
rustfmt
2024-03-12 15:13:06 -04:00
Caleb Garrett
2634a57098
Correct cryp CI build issues.
2024-03-12 15:05:22 -04:00
Caleb Garrett
1ec9fc58f4
Add async CRYP to test.
2024-03-12 14:52:34 -04:00
Corey Schuhen
fecb65b988
Make use of internal BXCAN crate work. Tested on stm32f103 with real bus and HIL tests.
...
Fix
2024-03-07 17:45:01 +10:00
Dario Nieuwenhuis
ae266f3bf5
stm32/rcc: port c0 to new api. Add c0 HSIKER/HSISYS support.
2024-03-04 00:08:14 +01:00
Dario Nieuwenhuis
c8c4b0b701
stm32/rcc: port g0 to new api.
2024-03-04 00:04:06 +01:00
Dario Nieuwenhuis
b4567bb8c5
stm32/rcc: g4: consistent PllSource, add pll pqr limits, simplify a bit.
2024-03-04 00:04:06 +01:00
Dario Nieuwenhuis
95234cddba
stm32: autogenerate mux config for all chips.
2024-03-01 23:54:37 +01:00
Caleb Garrett
97e125872e
Remove CRYP from F429.
2024-02-29 19:18:25 -05:00
Caleb Garrett
27fac380cf
Remove CRYP from H7A3.
2024-02-29 19:15:32 -05:00
Caleb Garrett
c9cca3c007
Fix H7 CRYP operation.
2024-02-29 19:09:44 -05:00
Caleb Garrett
54f502e5e6
Run gen_test.py
2024-02-25 21:31:25 -05:00
Caleb Garrett
766372e06a
rustfmt
2024-02-25 21:16:43 -05:00
Caleb Garrett
236fc6f650
Add CRYP test.
2024-02-25 20:59:07 -05:00
Dario Nieuwenhuis
489d0be2a2
stm32/rcc: unify naming sysclk field to sys
, enum to Sysclk
.
2024-02-26 00:00:17 +01:00
Corey Schuhen
1327a644b6
FDCAN: Don't require internal module for public API.
2024-02-25 10:14:12 +10:00
Dario Nieuwenhuis
e67dfcb04f
stm32/dma: add AnyChannel, add support for BDMA on H7.
2024-02-24 02:41:41 +01:00
Dario Nieuwenhuis
d24349f57c
stm32/tests: run stm32u5a5zj from flash due to wrong RAM size in stm32-data.
2024-02-23 01:33:37 +01:00
Dario Nieuwenhuis
0665e0d452
stm32/rcc: port U5 to new API, add all PLLs, all HSE modes.
2024-02-23 01:24:05 +01:00
Dario Nieuwenhuis
9c918f6474
Merge pull request #2588 from cschuhen/feature/fdcan_buffered
...
Add FDCAN Buffered mode.
2024-02-23 00:07:05 +01:00
James Munns
2cceeab564
Merge pull request #2611 from CBJamo/rp2040_i2c_improvements
...
Rp2040 i2c improvements
2024-02-22 12:14:16 +00: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
036f703a4a
nrf/uart: add buffereduart drop, rxonly, txonly tests.
2024-02-21 23:38:51 +01:00
Dario Nieuwenhuis
1f17fdf84e
nrf/buffered_uart: refactor so rx/tx halves are independent.
2024-02-21 22:13:35 +01:00
Corey Schuhen
eafa90cd07
Remove the OperatingMode typestates
...
Instead have two explcit types(without the mode generic arg)types:
- One for config
- One for all operating modes
2024-02-18 13:09:37 +10:00
Corey Schuhen
70b3c4374d
Port FDCAN HAL to use PAC directly instead of fdcan crate.
...
- Provide separate FDCAN capable and Classic CAN API's
- Don't use fdcan crate dep anymore
- Provide embedded-can traits.
2024-02-17 18:25:58 +10:00
Dario Nieuwenhuis
0e80dc4cd9
tests/stm32: add stm32f091rc, stm32h503rb.
2024-02-17 02:36:48 +01: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
Caleb Garrett
f0045b9217
Added HMAC to STM32 hash test.
2024-02-13 10:17:19 -05:00
Caleb Garrett
37c869827e
Update STM32 hash test.
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
b7c147445a
stm32/rcc: port F1 to new API.
2024-02-13 01:21:51 +01:00
Dario Nieuwenhuis
0dc5e6d3e4
stm32/rcc: port F3 RCC to new API
...
See #2515
2024-02-12 02:19:31 +01:00
Caleb Garrett
eb64d71247
Consolidated hash drivers.
2024-02-11 11:32:29 -05:00
Caleb Garrett
0c9661a661
Merge branch 'main' into hash
2024-02-09 19:24:19 -05:00
Dario Nieuwenhuis
2e15d1371a
Delete tests/stm32/teleprobe.sh
2024-02-08 00:31:21 +01:00
Caleb Garrett
b7db75adff
Updated stm32-metapac.
2024-02-06 10:44:52 -05:00
Caleb Garrett
0b70d67bf6
Separated hash interrupt bindings.
2024-02-05 14:54:17 -05:00
Caleb Garrett
09973ad482
Corrected hash CI build issues.
2024-02-05 14:44:50 -05:00
Caleb Garrett
079bb7b490
Added STM32 hash test.
2024-02-05 14:36:02 -05:00
Dario Nieuwenhuis
d5d86b866f
nrf/gpiote: add support for nrf51.
2024-02-04 21:36:19 +01:00
Stefan Gehr
b9d0069671
correct spelling of the word "receive"
2024-02-03 14:56:31 +01:00
Dario Nieuwenhuis
68be63c0e8
Merge pull request #2469 from embassy-rs/nrf51-basic-support
...
feat: add basic support for nRF51 chips to embassy-nrf
2024-01-31 00:20:40 +00:00
Corey Schuhen
a14dc8413a
Disable h563 test.
2024-01-31 05:43:37 +10:00
Corey Schuhen
6e1047395d
HIL test for STM32 FDCAN support.
...
Internal loopback.
fdcan: use common.rs for HIL test.
Fix tests.
Fix tests.
Fix tests
Add HIL tests for H7 even though they are a bit crippled.
CI fixes
Bah
Test
bah
2024-01-31 05:40:05 +10:00
Ulf Lilleengen
bea3c5495a
use pull-up to ensure we assert the correct change
2024-01-26 09:05:58 +01:00
Ulf Lilleengen
0bd9a2f094
fix gpio test and remove dummy
2024-01-26 09:03:08 +01:00
Ulf Lilleengen
ee90ee185c
fix: link nrf51 tests from flash for now
2024-01-26 08:58:23 +01:00
Ulf Lilleengen
4d8043cade
assert only at least time slept
...
Cannot deterministically guarantee the upper bound
2024-01-26 08:39:50 +01:00
Ulf Lilleengen
7c21178e37
fix warnings
2024-01-26 08:14:11 +01:00
Ulf Lilleengen
2f347ece91
add simplest test
2024-01-26 08:00:50 +01:00
Ulf Lilleengen
43553381cd
lower arena for nrf51
2024-01-25 21:51:23 +01:00
Ulf Lilleengen
b16eca3f21
adjust memory settings for lower end variant
2024-01-25 21:50:03 +01:00
Ulf Lilleengen
f117213b6e
fix: use nrf51-dk chip variant
2024-01-25 21:47:49 +01:00
Ulf Lilleengen
d19c67023d
fix: teleprobe target
2024-01-25 14:36:51 +01:00
Ulf Lilleengen
7e6bc64331
fix: add missing hil test project
2024-01-25 14:23:57 +01:00
Ulf Lilleengen
85d7779668
rename nrf52 HIL test
2024-01-24 21:23:54 +01:00
Dario Nieuwenhuis
ee0ebe3121
rp/gpio: remove generics.
2024-01-22 21:32:10 +01:00
Dario Nieuwenhuis
2bc5e9523d
nrf/gpio: remove generics.
2024-01-22 21:32:10 +01:00
Dario Nieuwenhuis
9f76dbb93b
Remove nightly-only flags from cargo configs.
2024-01-22 21:31:06 +01:00
Dario Nieuwenhuis
7696b1c0b8
tests/stm32: fix h7 wrong smps config.
2024-01-20 01:52:21 +01:00
Ulf Lilleengen
7728c95584
fix changed import paths
2024-01-12 09:28:54 +01:00