Commit Graph

8655 Commits

Author SHA1 Message Date
Ulf Lilleengen
886580179f update dates 2024-08-05 08:58:56 +02:00
Ulf Lilleengen
187093e147 Prepare to release embassy-boot-rp 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
f605302791 Prepare to release embassy-rp 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
ec9a07d143 Prepare to release embassy-boot-nrf 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
1588fbc256 Prepare to release embassy-boot 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
37d7b0cd06 prepare release embassy-executor 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
61bda59d83 Prepare to release embassy-usb 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
ffb55754c8 Prepare release embassy-net-driver-channel 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
2f3b3335e1 Prepare for embassy-nrf release 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
44282b18fa Prepare embassy-time release 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
fb0ab1e42a Prepare release of embassy-hal-internal 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
5767c003cc Prepare release of embassy-embedded-hal 0.2.0 2024-08-05 08:56:29 +02:00
Dario Nieuwenhuis
e173b973ae
Merge pull request #3227 from barafael/patch-1
Fix possible typo in embassy-rp README.md
2024-08-04 18:49:16 +00:00
Rafael Bachmann
2a1ace29a3
Fix possible typo in embassy-rp README.md
There is no feature `time` in embassy-rp. Is it `time-driver`? Is it something else?
2024-08-03 15:32:39 +02:00
Dario Nieuwenhuis
03b8e36532
Merge pull request #3226 from embassy-rs/otg-bounds-checks
usb-synopsys-otg: ensure ep alloc fails when endpoint_count < MAX_EP_COUNT.
2024-08-02 22:21:23 +00:00
Dario Nieuwenhuis
7d65c5c4fa usb-synopsys-otg: ensure ep alloc fails when endpoint_count < MAX_EP_COUNT.
Before, it would alloc the endpoint fine and then panic later due to out of range.
This ensures it falis at ep alloc time, and with a panic message that says
what's the actual problem: "no free endpoints available".
2024-08-03 00:15:45 +02:00
Dario Nieuwenhuis
a2ea2630f6
Merge pull request #3224 from towynlin/adin1110-readme
Fix broken link to OPEN Alliance spec for ADIN1110
2024-08-02 15:49:23 +00:00
Zachary Crockett
4e905bfcba
Fix broken link to OPEN Alliance spec for ADIN1110 2024-08-02 08:39:37 -07:00
Ulf Lilleengen
f2c29ba9d8
Merge pull request #3174 from JomerDev/add-count-to-read_to_break
RP2040: Add read_to_break_with_count
2024-08-02 13:50:32 +00:00
Dario Nieuwenhuis
2b031756c6
Merge pull request #3222 from bobrippling/fix/bootloader-overflow
Fix bootloader-rp's bootloader memory region overflow
2024-07-31 17:20:44 +00:00
Rob Pilling
ec53b9187d Fix bootloader-rp's bootloader memory region overflow
The bootloader region (`FLASH`) mentioned below overflows into the
`BOOTLOADER_STATE` region by `0x100` bytes

```
0x10000100 + 24K = 0x10006100
```

32adddff9c/examples/boot/bootloader/rp/memory.x (L3-L8)
2024-07-31 18:16:04 +01:00
Ulf Lilleengen
32adddff9c
Merge pull request #3221 from wllenyj/lazy-lock
embassy-sync: fix the data of LazyLock never drop
2024-07-31 16:28:06 +00:00
Ulf Lilleengen
91f135e25b
Merge pull request #3161 from diondokter/hsem
Add function to get the active HSEM interrupt
2024-07-31 14:34:11 +00:00
wanglei
05562b92af embassy-sync: more unit-test for LazyLock
Signed-off-by: wanglei <wllenyj@gmail.com>
2024-07-31 10:32:44 +08:00
wanglei
93696c912e embassy-sync: fix the data of LazyLock never drop
Using `union` can save more space.

And the `MaybeUninit<T>` will never drop the T, when dropping the
`MaybeUninit<T>`. Fixed it.

Signed-off-by: wanglei <wllenyj@gmail.com>
2024-07-31 10:31:56 +08:00
Dario Nieuwenhuis
e89ff7d129
Merge pull request #3219 from mirkomartn/bound-dns-servers
embassy-net: dns: bound the dns_servers slice
2024-07-29 21:36:35 +00:00
Gasper Stukelj
c5d077a2c6 embassy-net: dns: bound the dns_servers slice
`smoltcp::socket::dns::Socket::update_servers()` will
panic if a slice exceeding a fixed length is passed
to it. This is can be especially inconvenient when
using DHCP config.

Avoid panicking by using at most `DNS_MAX_SERVER_COUNT`
DNS servers from the config.
2024-07-29 23:24:44 +02:00
Ulf Lilleengen
7d3c852613
Merge pull request #3215 from samueltardieu/lazy-lock
embassy-sync: add LazyLock
2024-07-29 12:01:17 +00:00
Samuel Tardieu
05e0f12846 embassy-sync: add LazyLock
`LazyLock` is inspired by Rust 1.80.0's `std::sync::LazyLock` type.
2024-07-29 11:04:59 +02:00
rafael
e05e5d33f0 review comments 2024-07-28 00:19:54 +02:00
Dario Nieuwenhuis
4e5a646f8b
Merge pull request #3217 from samueltardieu/f1-flash-bsy
embassy-stm32: wait for BSY flag to clear before flashing
2024-07-27 19:35:25 +00:00
Samuel Tardieu
8680c86894 embassy-stm32: wait for BSY flag to clear before flashing
While not waiting for the BSY flag to clear works on STM32F103C8T6, it
does not on APM32F103C8T6. Only one half-word gets written while the
other one gets lost.
2024-07-27 15:07:04 +02:00
rafael
5d46b694ca add example to rp: orchestrate multiple tasks 2024-07-27 14:57:46 +02:00
rafael
97125e53cd add example to rp: orchestrate multiple tasks 2024-07-27 14:54:02 +02:00
rafael
b2d8d7f009 add example to rp: orchestrate multiple tasks 2024-07-27 14:48:42 +02:00
Tobias Naumann
60aa9c15a8 Implement low-power feature for stm32l4 MCUs 2024-07-26 14:25:10 +02:00
Dario Nieuwenhuis
b88dc137e7
Merge pull request #3211 from busslina/original-mirror-main-fixing-missing-reexport
Fixing missing re-export
2024-07-25 18:07:20 +00:00
Vicente
29d79d3af2 Added doc comment to a public enum variant 2024-07-25 20:01:19 +02:00
Vicente
da5ecd29f1 Formmating 2024-07-25 19:55:54 +02:00
Vicente
6eb447eb58 Adding pub struct docs
cyw43::ScanOptions
2024-07-25 19:45:52 +02:00
Vicente
3efbd60a90 Fixing missing re-export
cyw::control::ScanOptions
2024-07-25 19:24:37 +02:00
Dario Nieuwenhuis
8c4f044ae7
Merge pull request #3207 from diondokter/fix-opamp-lifetimes
Add extra lifetime to opamp-using structs
2024-07-25 15:14:10 +00:00
Dario Nieuwenhuis
43b878708d
Merge pull request #3209 from embassy-rs/rust180
Update to Rust 1.80, make check-cfg unconditional.
2024-07-25 14:09:24 +00:00
Dion Dokter
4a8abe8028 Relax lifetimes again 2024-07-25 16:01:27 +02:00
Dario Nieuwenhuis
2d678d6956 Update to Rust 1.80, make check-cfg unconditional. 2024-07-25 15:53:00 +02:00
Dario Nieuwenhuis
8b4bb625be
Merge pull request #3206 from embassy-rs/rp-timer-test
tests/rp: add timer test.
2024-07-25 10:25:05 +00:00
Dion Dokter
6ef9e564ca Add extra lifetime to opamp-using structs 2024-07-25 12:22:55 +02:00
Dario Nieuwenhuis
1598dd55e4 tests/rp: add timer test. 2024-07-25 12:22:49 +02:00
Dario Nieuwenhuis
2436335f9b ci: add instructions to install cargo-batch if not installed. 2024-07-24 17:17:04 +02:00
Dario Nieuwenhuis
2537fc6f4f
Merge pull request #3188 from ninjasource/sdmmc-dma-buffers
embassy-stm32: Allow cmd block to be passed in for sdmmc dma transfers
2024-07-22 19:44:00 +00:00