Commit graph

356 commits

Author SHA1 Message Date
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
Dario Nieuwenhuis
22197320ff bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4. 2024-01-11 23:01:24 +01:00
Dario Nieuwenhuis
495b8b739a Change GPIO inherent methods back to &self.
With the embedded-hal rc3 update I changed them to require `&mut self`, but
in retrospect I think `&self` is better, for extra flexibility.

This PR reverts the changes from the rc3 update to inherent methods.
2024-01-10 00:00:10 +01:00