Commit graph

6936 commits

Author SHA1 Message Date
Dario Nieuwenhuis
a7415716b6
Merge pull request #2524 from matoushybl/wild-air
docs: Embassy in the wild - add air quality monitoring system
2024-02-04 22:45:48 +00:00
Dario Nieuwenhuis
e25eb6ca59
Merge pull request #2529 from GrantM11235/buffered-uart-doc-links
stm32/usart: Add doc links to buffered uarts
2024-02-04 23:29:27 +01:00
Dario Nieuwenhuis
fc8b1646e7
Merge pull request #2534 from embassy-rs/stm32-rcc-fixit
stm32/rcc: fix more build failures.
2024-02-04 21:55:45 +00:00
Dario Nieuwenhuis
6c72638ed0 stm32/rcc: fix more build failures. 2024-02-04 22:47:29 +01:00
Dario Nieuwenhuis
2279669200
Merge pull request #2533 from embassy-rs/stm32-rcc-fixit
stm32/rcc: fix build for some f0 and l4 chips.
2024-02-04 21:12:11 +00:00
Dario Nieuwenhuis
e3fe08428f stm32/rcc: fix build for some f0 and l4 chips.
Fixes #2531
2024-02-04 22:07:17 +01:00
Dario Nieuwenhuis
e782c8f463
Merge pull request #2532 from embassy-rs/nrf51-gpiote
nrf/gpiote: add support for nrf51.
2024-02-04 20:39:21 +00:00
Dario Nieuwenhuis
d5d86b866f nrf/gpiote: add support for nrf51. 2024-02-04 21:36:19 +01:00
Grant Miller
87a52f5ead stm32/usart: Add doc links to buffered uarts 2024-02-03 17:04:20 -06:00
Ulf Lilleengen
711dd120d1
Merge pull request #2526 from BoostCookie/fix-grammar
correct spelling of the word "receive"
2024-02-03 14:02:00 +00:00
Stefan Gehr
b9d0069671
correct spelling of the word "receive" 2024-02-03 14:56:31 +01:00
Matous Hybl
4650a35661 docs: Embassy in the wild - add air quality monitoring system 2024-02-03 09:41:14 +01:00
Dario Nieuwenhuis
88e7e1ceb9
Merge pull request #2521 from embassy-rs/rcc-mux
stm32: autogenerate clocks struct, enable mux for all chips.
2024-02-02 23:42:17 +01:00
Dario Nieuwenhuis
9866847375 stm32: autogenerate clocks struct, enable mux for all chips. 2024-02-02 23:24:34 +01:00
Dario Nieuwenhuis
a099084bff
Merge pull request #2520 from Ecco/stm32wba-rcc-v3
Migrate STM32WBA to RCCv3
2024-02-02 20:48:39 +00:00
Romain Goyet
92690d8590 Migrate STM32WBA to RCCv3 2024-02-02 14:12:26 -05:00
Dario Nieuwenhuis
9e704e622a
Merge pull request #2517 from embassy-rs/rcc-mux
stm32: misc rcc cleanups
2024-02-02 01:36:34 +00:00
Dario Nieuwenhuis
e05c8e2f44 stm32/dac: use autogenerated RCC impls. 2024-02-01 23:47:30 +01:00
Dario Nieuwenhuis
e7d1119750 stm32: automatically use refcounting for rcc bits used multiple times. 2024-02-01 23:15:17 +01:00
Dario Nieuwenhuis
b7bc31e51a
Merge pull request #2510 from tokenize-inc/ble_extended_scatter
STM32WB: Add scatter memory files for extended BLE stack
2024-02-01 20:38:11 +00:00
Dario Nieuwenhuis
8800d29ce2
Merge pull request #2513 from Gekkio/f2-adc-fixes
F2 ADC fixes
2024-02-01 20:12:13 +00:00
Joonas Javanainen
7e0f287431
Fix ADC max frequency for F2 2024-02-01 21:58:36 +02:00
Joonas Javanainen
21024e8638
Fix F2 temperature sensor ADC channel
On all F2 devices (F205/207/215/217) the sensor is connected to
ADC1_IN16, and is not shared with VBAT which is connected to ADC1_IN18.
2024-02-01 21:48:29 +02:00
Dario Nieuwenhuis
c4839e4671
Merge pull request #2511 from Ecco/stm32wba-fixed-hse
STM32WBA's high speed external clock has to run at 32 MHz
2024-02-01 19:03:35 +00:00
Romain Goyet
aa767272a8 STM32WBA's high speed external clock has to run at 32 MHz 2024-02-01 13:42:48 -05:00
Taylor Carpenter
72ca5a022b
Add scatter memory files for extended BLE stack
Build script chooses the 'x.in' to copy over to 'tl_mbox.x' based on features
2024-02-01 10:41:41 -05:00
Dario Nieuwenhuis
9769d29c22
Merge pull request #2508 from sinewave-ee/zero-init-ringbuffer
sync/pipe: be able to be zero-initialized
2024-02-01 14:11:45 +00:00
Sam Lakerveld
15e9b60abb
sync/pipe: be able to be zero-initialized 2024-02-01 13:47:07 +01:00
Dario Nieuwenhuis
7e02389995
Merge pull request #2410 from eZioPan/waveform-on-CHx
impl waveform with TIM OC Channel DMA
2024-02-01 01:02:01 +00:00
Dario Nieuwenhuis
2f7c8faf51
Merge pull request #2465 from sgasse/sgasse/feature/mii-phy
Implement MII interface with feature flag
2024-02-01 00:49:10 +00:00
Dario Nieuwenhuis
e613324e16 stm32/eth: rename new_rmii to new, update metapac to fix issues with PC2_C. 2024-02-01 01:39:52 +01:00
Simon B. Gasse
42d8f3930a Implement MII interface
- Extend the eth/v2 module to support MII besides RMII.
- Replace `Ethernet::new` with `Ethernet::new_mii` and
  `Ethernet::new_rmii`.
- Update ethernet examples.
- Add example for MII ethernet.
2024-02-01 01:33:34 +01:00
Dario Nieuwenhuis
e05f6505ae
Merge pull request #2505 from CBJamo/timeout_at
Add timeout_at convenience function and example.
2024-01-31 21:31:40 +00:00
Caleb Jamison
0ab0b5590a Fixup docs 2024-01-31 16:28:06 -05:00
Caleb Jamison
8b7d856195 Rename timeout_at to with_deadline 2024-01-31 16:26:11 -05:00
Caleb Jamison
1e698af05b Add timeout_at convenience function and example. 2024-01-31 14:10:31 -05: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
Dario Nieuwenhuis
fed8635e93
Merge pull request #2475 from cschuhen/feature/fdcan_r2
Support for FDCAN peripheral as found on newer STM32 micros.
2024-01-30 23:45:14 +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
Corey Schuhen
1698f4dbc3 Add FDCAN examples for STM32G4, STM32H5 and STM32H7
Fix examples

Fix examples

Fix examples.
2024-01-31 05:40:05 +10:00
Corey Schuhen
1de78d0490 Initial FDCAN driver implementation.
Original author:
    Torin Cooper-Bennun <tcbennun@maxiluxsystems.com>

Cleanup and documentaion by:
    Tomasz bla Fortuna <bla@reactor.local>
    Corey Schuhen <cschuhen@gmail.com>

Use new PAC method now that the names are common.

Use broken out definitions that can be shared with bxcan

Populate Rx struct with an embassy timestamp.

Remove use of RefCell.

As per review comment. - THis will probably get squashed down.

Fix
2024-01-31 05:40:05 +10:00
Tomasz bla Fortuna
03ba45065e Add FDCAN clock registers to G4 RCC.
Author: Adam Morgan <adam@luci.com>

Break definitions out of bxcan that can be used innm fdcan.

Typo
2024-01-31 05:40:05 +10:00
Tomasz bla Fortuna
a91a7a8557 Add FDCAN dependency in correct flavor based on selected chip.
Author: Torin Cooper-Bennun <tcbennun@maxiluxsystems.com>

Change from review.
2024-01-31 05:40:05 +10:00
James Munns
dcce40c8a2
Merge pull request #2497 from embassy-rs/james/resource-usage
[FAQ]: Add some comments from chat
2024-01-30 11:42:57 +00:00
James Munns
5e7876c800
Update docs/modules/ROOT/pages/faq.adoc 2024-01-30 12:41:46 +01:00
James Munns
f388074338 Add some comments from chat 2024-01-30 10:34:09 +01:00
Dario Nieuwenhuis
99265ffea4
Merge pull request #2495 from embassy-rs/update-metapac33
update stm32-metapac.
2024-01-30 01:40:32 +00:00
Dario Nieuwenhuis
5b2293e2b1 update stm32-metapac. 2024-01-30 02:34:12 +01:00
James Munns
3cd0a54e0e
Merge pull request #2492 from JomerDev/fix-read_to_break
Fix underflow in embassy-rp uartrx.read_to_break
2024-01-29 16:22:02 +00:00