Commit Graph

6694 Commits

Author SHA1 Message Date
Ulf Lilleengen
ff5f5021fb cleanup docs and add channel synchronization example 2024-01-10 09:52:46 +01:00
Ulf Lilleengen
b867245894 simplify example 2024-01-10 09:23:53 +01:00
Ulf Lilleengen
be3c70d455
Merge pull request #2417 from vasilNnikolov/mutex_rp_example
Add example of pin sharing between tasks
2024-01-10 07:25:47 +00:00
Dario Nieuwenhuis
8c166272d8
Merge pull request #2421 from embassy-rs/shared-gpio
Change GPIO inherent methods back to `&self`.
2024-01-09 23:06:43 +00: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
67ed134479
Merge pull request #2357 from embassy-rs/eh10
Update embedded-hal to v1.0
2024-01-09 22:52:35 +00:00
Vasil Nikolov
781e33023e add draft doc page for peripheral sharing 2024-01-10 00:49:54 +02:00
Vasil Nikolov
4843c060d0 no need for a PeripheralRef 2024-01-10 00:47:45 +02:00
Dario Nieuwenhuis
c9ac39df94 Update embedded-hal to v1.0 2024-01-09 23:37:14 +01:00
Vasil Nikolov
ebf46d37aa remove unused import 2024-01-09 00:35:11 +02:00
Vasil Nikolov
2498fbdf52 add example of pin sharing between tasks 2024-01-09 00:26:48 +02:00
Dario Nieuwenhuis
49ee0564ed
Merge pull request #2413 from JomerDev/better-read_packet-doc
Add buffer size info to read_packet docs
2024-01-07 23:08:46 +00:00
Jomer.Dev
3729608e82 Add buffer size info to read_packet 2024-01-08 00:03:44 +01:00
Ulf Lilleengen
8e7f477b01
Merge pull request #2411 from uzytkownik/reading-from-async-firmware-updater
boot: Take maximum of READ_SIZE and WRITE_SIZE when checking sizes, fixes #2382
2024-01-07 16:12:58 +00:00
Maja Piechotka
b28629822b boot: Take maximum of READ_SIZE and WRITE_SIZE when checking sizes, fixes #2382 2024-01-06 15:21:24 -08:00
Dario Nieuwenhuis
294046cddb
Merge pull request #2405 from Sizurka/stm32g0-usb
stm32: Add G0 USB RCC and example
2024-01-06 00:03:54 +00:00
Dario Nieuwenhuis
e8a832e177
Merge pull request #2406 from embassy-rs/stm32f1-flash
stm32/flash: add support for f1.
2024-01-05 22:57:02 +00:00
Dario Nieuwenhuis
208ad8fbfc stm32/flash: add support for f1. 2024-01-05 23:49:10 +01:00
Dario Nieuwenhuis
0d5711b219
Merge pull request #2402 from ftilde/qspi-rxdelay
Expose rx_delay in nrf qspi config
2024-01-05 19:20:38 +00:00
ftilde
eb70d744a9 Expose rx_delay in nrf qspi config 2024-01-05 20:12:28 +01:00
Derek Hageman
d34910dbc8 stm32: Add G0 USB example
Add a USB CDC ACM example using STM32G0 USB and CRS.
2024-01-05 07:57:35 -07:00
Derek Hageman
801a36c7b4 stm32: Add G0 USB RCC
Add configuration for STM32G0 USB clock.
2024-01-05 07:56:22 -07: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
Dario Nieuwenhuis
8739c67edf
Merge pull request #2403 from itdiuna/main
Fix an error in compiling examples for rp2040
2024-01-04 20:45:46 +00:00
Pawel Rawski
c80781078c Fix an error in compiling examples for rp2040 2024-01-04 21:25:55 +01:00
Dario Nieuwenhuis
51de518bd3
Merge pull request #2398 from embassy-rs/update-stm32data-4
stm32: update metapac.
2024-01-04 19:50:07 +00:00
Dario Nieuwenhuis
4d442c1b74
Merge pull request #2401 from MabezDev/enet-release
New embassy-net release 0.3
2024-01-04 16:17:58 +00:00
Scott Mabin
f85898771b New embassy-net release 2024-01-04 16:06:59 +00:00
Dario Nieuwenhuis
03ba4ae386 stm32: update metapac. 2024-01-03 18:39:22 +01:00
Dario Nieuwenhuis
87ac51d656
Merge pull request #2396 from tyler-gilbert/update-rcc-u5-with-sai-support
Update STM32 RCC U5 to support P and Q dividers
2024-01-03 17:12:50 +00:00
Tyler Gilbert
7944e854dd Fix formatting of comments 2024-01-03 11:07:57 -06:00
Tyler
727906fa04
Update u5.rs
Update comments on p and q divider values to correctly describe what the clock outputs are used for.
2024-01-03 11:04:48 -06:00
Dario Nieuwenhuis
1d1e0d91cd
Merge pull request #2390 from AdinAck/hf-tim-g0-example
Add High Frequency (128MHz) Timer Example For G0
2024-01-03 16:51:08 +00:00
Dario Nieuwenhuis
4f3e1fa738
Merge pull request #2395 from swanandx/nrf-tx-nosck
add new_tx_nosck for nrf
2024-01-03 16:50:58 +00:00
Tyler Gilbert
31bf127807 Update STM32 RCC U5 to support P and Q dividers 2024-01-03 10:46:45 -06:00
swanandx
bdaf722cb8 fix: check if sck is some before setting high or low 2024-01-03 19:35:30 +05:30
swanandx
046af81a10 fix: info_ref! can't be called on Option 2024-01-03 19:33:43 +05:30
swanandx
8352d13cfd feat: new_txonly_nosck in spim 2024-01-03 19:25:39 +05:30
swanandx
face031245 feat: new_txonly_nosck in spis 2024-01-03 19:22:01 +05:30
Ulf Lilleengen
3b6eaf414a
Merge pull request #2394 from swanandx/ready-impl-tcp
impl ReadReady and WriteReady for tcp
2024-01-03 13:10:02 +00:00
swanandx
4a59fbdedc feat: impl ReadReady and WriteReady for tcp 2024-01-03 18:17:04 +05:30
Ulf Lilleengen
ffdc1807ca
Merge pull request #2393 from embassy-rs/qspi-async-multiwrite
fix: add missing impl block for async qspi multiwrite
2024-01-03 12:12:32 +00:00
Ulf Lilleengen
c924f89ead fix: add missing impl block for async qspi multiwrite 2024-01-03 13:08:53 +01:00
Adin Ackerman
9b47fbeb47 weird format rule 2024-01-02 20:12:58 -08:00
Adin Ackerman
e31dd036fe add hf timer example for g0 2024-01-02 20:03:14 -08:00
Dario Nieuwenhuis
713457ce00
Merge pull request #2389 from embassy-rs/update-stm32data-4
update stm32data, fixes missing interrupts.
2024-01-03 01:25:39 +00:00
Dario Nieuwenhuis
5fb6ad9a6a update stm32data, fixes missing interrupts. 2024-01-03 02:10:42 +01:00