Dario Nieuwenhuis
d46b2b49c7
cyw43: remove pointless wait_complete.
2023-06-09 03:34:12 +02:00
Dario Nieuwenhuis
3465452a93
fmt: remove unused defmt::timestamp!
2023-06-09 03:33:39 +02:00
Dario Nieuwenhuis
2e0bc71c86
Merge pull request #1535 from rubdos/v4-optional
...
Add IPv6 to Embassy net, make IPv4 optional
2023-06-08 19:13:46 +00:00
Dario Nieuwenhuis
3dde01597a
tests/rp: make cyw43-perf less strict.
2023-06-08 21:12:34 +02:00
Dario Nieuwenhuis
4716166041
tests/rp: update cyw43-perf for embassy-net changes.
2023-06-08 20:51:36 +02:00
Dario Nieuwenhuis
8a1d3d5c84
Merge branch 'main' into v4-optional
2023-06-08 19:38:15 +02:00
Dario Nieuwenhuis
b68cf6c5c8
Merge pull request #1544 from embassy-rs/irq-typelevel
...
Rework typelevel interrupts.
2023-06-08 17:01:54 +00:00
Dario Nieuwenhuis
8c93805ab5
Add rt
feature to HALs, cfg out interrupt handling when not set.
2023-06-08 18:57:03 +02:00
Dario Nieuwenhuis
f498c689e7
Add RTIC example.
2023-06-08 18:07:49 +02:00
Dario Nieuwenhuis
5c2f02c735
Reexport NVIC_PRIO_BITS at HAL root.
...
This allows using RTIC with `#[rtic::app(device = embassy_nrf, ...)]`
2023-06-08 18:07:49 +02:00
Dario Nieuwenhuis
bce24e8005
asdg
2023-06-08 18:07:49 +02:00
Dario Nieuwenhuis
921780e6bf
Make interrupt module more standard.
...
- Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`.
- Reexport the PAC interrupt enum in `embassy_xx::interrupt`.
This has a few advantages:
- The `embassy_xx::interrupt` module is now more "standard".
- It works with `cortex-m` functions for manipulating interrupts, for example.
- It works with RTIC.
- the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs.
- When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
2023-06-08 18:00:48 +02:00
Ruben De Smet
2455fd4dbe
net: Add documentation to new Config system
2023-06-07 13:18:19 +02:00
Ruben De Smet
352f0b6c38
net: Support dual stack IP
2023-06-07 13:18:19 +02:00
Dario Nieuwenhuis
87ad66f2b4
Merge pull request #1540 from RussHewgill/can_recv
...
Added can_recv for TcpSocket
2023-06-06 16:59:57 +00:00
Russ Hewgill
2eb08b2dc9
updated can_recv and may_recv to match the smoltcp functions.
2023-06-06 09:49:38 -07:00
Ruben De Smet
ca47af6978
CI: introduce tests for dual stack v4 and v6
2023-06-06 18:21:45 +02:00
Ruben De Smet
ae1dedc059
net: proto-ipv6 in is_config_up
2023-06-06 17:58:46 +02:00
Ruben De Smet
ada7ec2289
CI: add proto-ipv4 to embassy-net test
2023-06-06 17:58:46 +02:00
Ruben De Smet
d2a6c5c608
CI: Add proto-ipv6 tests without ipv4 to CI
2023-06-06 17:58:46 +02:00
Ruben De Smet
18578fd15f
net: Allow a combined use of IPv4 and IPv6 DNS servers
2023-06-06 17:58:45 +02:00
Ruben De Smet
d7f674e410
net: Allow setting an IPv6 in the stack
2023-06-06 17:58:45 +02:00
Ruben De Smet
e871324bde
net: StaticV4 config behind proto-ipv4
2023-06-06 17:58:45 +02:00
Ruben De Smet
54bab33c73
Rename StaticConfig to StaticConfigV4
2023-06-06 17:04:21 +02:00
Dario Nieuwenhuis
a9fdd468d5
Merge pull request #1538 from embassy-rs/cyw43-hil
...
cyw43: add perf HIL test.
2023-06-06 00:55:40 +00:00
Dario Nieuwenhuis
6701606e4c
cyw43: add perf HIL test.
2023-06-06 02:50:57 +02:00
Dario Nieuwenhuis
79b982c941
Merge pull request #1536 from embassy-rs/rp-flash-fix
...
Rp flash fix
2023-06-05 22:16:44 +00:00
Dario Nieuwenhuis
593fc78dd8
tests/rp: enable run-from-ram.
...
Otherwise the flash test is flaky because it attempts to use boot2.
2023-06-06 00:07:03 +02:00
Dario Nieuwenhuis
4f03dff577
rp: add run-from-ram feature.
2023-06-06 00:06:32 +02:00
Dario Nieuwenhuis
162d485304
rp/flash: centralize USE_BOOT2
in a single const.
2023-06-05 23:41:26 +02:00
Dario Nieuwenhuis
70e1b976d8
rp/flash: fix missing clobbers, do not clobber frame pointer (r7).
2023-06-05 23:40:34 +02:00
Dario Nieuwenhuis
adf053a935
rp/flash: unify FLASH_BASE const.
2023-06-05 22:55:15 +02:00
Dario Nieuwenhuis
5ee26a5dd1
rp/dma: fix use-after-free read.
2023-06-05 22:28:14 +02:00
Ruben De Smet
44624b2d7a
Put proto-ipv4 behind a feature flag
2023-06-05 16:45:40 +02:00
Dario Nieuwenhuis
d690a1717f
Merge pull request #1530 from cumthugo/write_func_in_pipe
...
sync/pipe: write all user data to pipe
2023-06-05 02:48:36 +02:00
Dario Nieuwenhuis
f6d75970d8
Merge pull request #1534 from ExplodingWaffle/main
...
Replace Into<bool> for Level with From<Level> for bool
2023-06-05 02:48:22 +02:00
ExplodingWaffle
a4b8fc420a
Replace Into<bool> for Level with From<Level> for bool
2023-06-05 01:37:56 +01:00
ZhangYong
24c4ea71b1
sync/pipe: write all user data to pipe
...
sync/pipe: add write_all function
2023-06-04 22:29:59 +08:00
xoviat
f2c2536cf3
Merge pull request #1529 from sentry-sync/1528-stm32f7-usb-hs
...
Fix #1528 HS USB on STM32F7
2023-06-03 01:27:53 +00:00
gak
3539dd7d4c
Fix #1528 HS USB on STM32F7
2023-06-03 07:00:31 +10:00
Dario Nieuwenhuis
d414f4e4f7
Merge pull request #1527 from embassy-rs/rp-spi-fix
...
rp/spi: enable rxdmae/txdmae only once at init.
2023-06-02 02:09:04 +00:00
Dario Nieuwenhuis
dd5ce985bd
rp/spi: enable rxdmae/txdmae only once at init.
...
see https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/hardware_spi/spi.c#L27-L28
2023-06-02 04:05:25 +02:00
Dario Nieuwenhuis
f901cf57e5
Merge pull request #1526 from embassy-rs/rp-spi-fix
...
rp/spi: start rx dma first.
2023-06-02 01:47:15 +00:00
Dario Nieuwenhuis
fa7510968a
rp/spi: start rx dma first.
2023-06-02 03:44:49 +02:00
Dario Nieuwenhuis
d36feb6405
Merge pull request #1524 from embassy-rs/remove-irqs
...
Remove owned interrupts, PeripheralMutex.
2023-06-01 01:31:05 +00:00
Dario Nieuwenhuis
404aa29289
cortex-m: remove owned interrupts.
2023-06-01 03:25:19 +02:00
Dario Nieuwenhuis
2a435e53b7
cortex-m: remove PeripheralMutex.
2023-06-01 02:22:31 +02:00
Dario Nieuwenhuis
c036eab62c
Merge pull request #1523 from embassy-rs/static-cell
...
Use make_static! from static-cell v1.1
2023-05-31 23:49:00 +00:00
Dario Nieuwenhuis
1d8321b821
Use make_static! from static-cell v1.1
2023-06-01 01:42:34 +02:00
Dario Nieuwenhuis
d7d66bd74f
Document w5500, cyw43
2023-06-01 00:15:37 +02:00