Commit graph

6718 commits

Author SHA1 Message Date
Ulf Lilleengen
3119aeec5c add nrf9160 example (assumes SPM from zephyr) 2024-01-11 19:19:16 +01:00
Dario Nieuwenhuis
ae84f2a157
Merge pull request #2434 from embassy-rs/time-driver-crate
time: docs improvements, add ci.
2024-01-11 16:20:58 +00:00
Dario Nieuwenhuis
75b05fb344 time: docs improvements, add ci. 2024-01-11 17:17:58 +01:00
Dario Nieuwenhuis
650f566149
Merge pull request #2432 from embassy-rs/time-driver-crate
time: split driver into a separate embassy-time-driver crate.
2024-01-11 16:00:12 +00:00
Dario Nieuwenhuis
15f94fb0fc time: split driver into a separate embassy-time-driver crate. 2024-01-11 16:56:08 +01:00
Dario Nieuwenhuis
dcffad6b05
Merge pull request #2428 from embassy-rs/no-nightly
Remove nightly autodetect, update readme MSRV.
2024-01-10 17:40:10 +00:00
Dario Nieuwenhuis
68166eda68 update MSRV in readme, nightly is no longer needed. 2024-01-10 18:32:14 +01:00
Dario Nieuwenhuis
fe0b21e21e Remove nightly autodetects. 2024-01-10 18:32:14 +01:00
Dario Nieuwenhuis
77e60ecff8
Merge pull request #2426 from embassy-rs/update-metapac-3984
stm32: update metapac.
2024-01-10 17:18:39 +00:00
Dario Nieuwenhuis
3bc6e414f7 stm32: update metapac. 2024-01-10 18:06:47 +01:00
Dario Nieuwenhuis
38a927175b
Merge pull request #2424 from embassy-rs/net-packet-trace
net: add packet-trace feature.
2024-01-10 13:50:46 +00:00
Dario Nieuwenhuis
01b0af5a84 net: add packet-trace feature. 2024-01-10 14:06:15 +01:00
Ulf Lilleengen
0027a76bb6
Merge pull request #2420 from chrisprice/mock-driver
Extend mock time driver to support alarms
2024-01-10 10:51:28 +00:00
Ulf Lilleengen
c223697e28
Merge pull request #2423 from embassy-rs/revert-unintended
fix: revert unintended change
2024-01-10 09:04:29 +00:00
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
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