Commit graph

6917 commits

Author SHA1 Message Date
Ulf Lilleengen
50630192b8 fix: revert unintended change 2024-01-10 10:02:26 +01:00
Ulf Lilleengen
da17e67954
Merge pull request #2422 from embassy-rs/cleanup-docs
Cleanup docs and example
2024-01-10 08:57:34 +00:00
Ulf Lilleengen
de08da0bf1 rustfmt 2024-01-10 09:54:35 +01:00
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
Chris Price
3db8655e25 Ignore the doctest driver registration to prevent duplicate registrations 2024-01-09 17:39:02 +00:00
Chris Price
372a9b2833 Lint/format fixes 2024-01-09 15:58:01 +00:00
Chris Price
102e8d8ad6 Add mock-driver to ci features for embassy-time 2024-01-09 15:58:01 +00:00
Chris Price
9bf655ccd7 Use MockDriver in queue_generic tests 2024-01-09 15:17:25 +00:00
Chris Price
e4e2b31402 Prevent over-allocation 2024-01-09 15:17:25 +00:00
Chris Price
fdd7acd484 Restructure InnerMockDriver
Failing test for overallocation of alarms
2024-01-09 15:17:25 +00:00
Chris Price
8dab88f96d Merge TestDriver into MockDriver 2024-01-09 15:17:25 +00: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
Henk Oordt
45b7645525
Make adc::Resolution::to_max_count const 2024-01-08 13:56:21 +01:00
eZio Pan
b16cc04036 bug fix 2024-01-08 19:18:24 +08: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
eZio Pan
890a1269d0 refactor with clippy 2024-01-06 22:48:21 +08:00
eZio Pan
424ddaf3d9 impl waveform with TIM Channel 2024-01-06 22:22:38 +08:00
eZio Pan
fe3973c513
mark json file inside .vscode folder as jsonc 2024-01-06 11:59:55 +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