Commit Graph

8449 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
a94f197950
Merge pull request #3230 from 9names/cyw43-release-0.2
Uprev cyw43 and cyw43-pio for embassy-rp 0.2 release
2024-08-05 12:26:17 +00:00
9names
49a8cf251b Add cyw43/cyw43-pio changelogs 2024-08-05 22:19:01 +10:00
9names
dc77601e9f Update rp examples to cyw43 0.2 and cyw43-pio 0.2 2024-08-05 22:18:04 +10:00
9names
819d1efb5b Uprev cyw43 and cyw43-pio for embassy-rp 0.2 2024-08-05 20:48:55 +10:00
Ulf Lilleengen
0f685761e0
Merge pull request #3229 from plaes/nrf-changelog
nrf: Rearrange CHANGELOG by features for better overview
2024-08-05 07:40:15 +00:00
Priit Laes
31ac31f3f3 nrf: Rearrange CHANGELOG by features for better overview 2024-08-05 10:37:12 +03:00
Ulf Lilleengen
d091b3f0a4
Merge pull request #3225 from embassy-rs/prepare-nrf-release
Prepare some crate releases
2024-08-05 07:05:57 +00:00
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
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
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