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
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
Dario Nieuwenhuis
c9ac39df94
Update embedded-hal to v1.0
2024-01-09 23:37:14 +01:00
Dario Nieuwenhuis
591c404813
Merge pull request #2404 from plaes/sync-link-ram
...
tests: Use unified link_ram_cortex_m.x linker script
2024-01-05 13:43:26 +00:00
Priit Laes
9b44cca4ce
tests: Fix location of __edata section and comment original
2024-01-05 15:34:04 +02:00
Priit Laes
890ceae4e5
tests: Use unified link_ram_cortex_m.x file for all Cortex M targets
2024-01-05 15:01:05 +02:00
Priit Laes
17346fdfc2
tests: nrf: Sync link_ram.x from upstream
...
Upstream has added bunch of improvements and fixes to linker script,
so sync these while keeping the FLASH -> RAM changes.
2024-01-05 14:47:56 +02:00
Scott Mabin
f85898771b
New embassy-net release
2024-01-04 16:06:59 +00:00
Dario Nieuwenhuis
8b36a32ed5
ci: use beta, add secondary nightly ci.
2023-12-21 15:03:57 +01:00
Ulf Lilleengen
0acf7b09c3
chore: replace make_static! macro usage with non-macro version
2023-12-21 10:29:57 +01:00
Dario Nieuwenhuis
d81395fab3
Update embedded-hal to 1.0.0-rc.3
2023-12-14 16:19:32 +01:00
Dario Nieuwenhuis
a9ec623622
Merge pull request #2246 from CaptainMaso/adc_f3_v1_1
...
stm32: add ADC f3_v1_1
2023-12-08 19:30:50 +00:00
Dario Nieuwenhuis
fe218ed978
tests/stm32: add L1 DAC/ADC test.
2023-12-08 20:24:15 +01:00
Jesse Braham
925f5cbc26
Update all references to embasy-executor
to the latest version
2023-12-06 12:05:47 +01:00
Scott Mabin
334900752a
update release version in examples and other crates
2023-12-04 13:15:10 +00:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
Dario Nieuwenhuis
4634316749
Update embedded-(hal,io,nal).
2023-11-29 17:01:36 +01:00
Dario Nieuwenhuis
0bd47c779b
tests: use executor task arena instead of TAIT.
2023-11-27 01:23:49 +01:00
Dario Nieuwenhuis
cf13f70ea9
stm32/test: add stm32f446 (board not in HIL rig yet)
2023-11-27 00:38:57 +01:00
Adam Greig
09d7950313
STM32 DAC: Rework DAC driver, support all families.
2023-11-25 00:29:45 +01:00
Dario Nieuwenhuis
1f9b649f80
executor: release v0.3.3
2023-11-15 18:44:01 +01:00
Dario Nieuwenhuis
6ccd8c051e
nrf/buffered_uarte: add test for recovering from buffer full.
2023-11-14 00:22:30 +01:00
Dario Nieuwenhuis
ace5221080
stm32/rcc: unify f2 into f4/f7.
2023-11-13 01:59:33 +01:00
Dario Nieuwenhuis
2376b3bdfa
stm32/rcc: fix pll enum naming on f4, f7.
2023-11-13 01:56:50 +01:00
Dario Nieuwenhuis
066dc297ed
stm32/rcc: unify l0l1 and l4l5.
2023-11-13 01:05:07 +01:00
Dario Nieuwenhuis
4fe344ebc0
stm32/rcc: consistent casing and naming for PLL enums.
2023-11-13 00:52:01 +01:00
xoviat
4b4c28d875
stm32: add low power for g4
2023-11-08 19:04:20 -06:00
Dario Nieuwenhuis
0272deb158
stm32/rcc: add shared code for hsi48 with crs support.
2023-11-05 23:52:54 +01:00
Dario Nieuwenhuis
8911a4d855
stm32/rcc: switch to modern api for l0, l1.
2023-11-05 03:06:13 +01:00
xoviat
3f2abd4fd5
Merge branch 'main' of github.com:embassy-rs/embassy into low-power
2023-11-04 13:51:11 -05:00
xoviat
dc467e89a0
stm32: compute stop mode and workaround rtt test bug
2023-11-04 13:49:54 -05:00
Dario Nieuwenhuis
1f51367eb9
Upgrade static-cell to v2.0
2023-11-02 21:52:07 +01:00
Dario Nieuwenhuis
dd6a29adb2
Release embassy-executor v0.3.1
2023-11-01 00:17:44 +01:00
Dániel Buga
d941882066
Prepare embassy-net 0.2.1 and embassy-sync 0.4.0
2023-10-31 09:33:27 +01:00