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
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
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
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
Dario Nieuwenhuis
e8527bac69
Merge pull request #1522 from embassy-rs/ci-doc
...
Add embsasy-stm32 docs build.
2023-05-31 18:06:25 +00:00
Dario Nieuwenhuis
25f367432d
ci: build stm32 docs.
2023-05-31 20:04:17 +02:00
Dario Nieuwenhuis
7fcded5705
stm32/rtc: fix build failure in some L4s
2023-05-31 20:03:52 +02:00
Dario Nieuwenhuis
c7e6c7ed18
Merge pull request #1521 from embassy-rs/ci-doc
...
Move doc building to new CI.
2023-05-31 12:31:28 +00:00
Dario Nieuwenhuis
046a99aba0
Move doc building to new CI.
2023-05-31 14:29:40 +02:00
Dario Nieuwenhuis
98398d31f7
README fixes.
2023-05-31 01:12:08 +02:00
Dario Nieuwenhuis
4f203ae175
Merge pull request #1520 from embassy-rs/w5500
...
Merge embassy-net-w5500 into main repo
2023-05-30 23:04:38 +00:00
Dario Nieuwenhuis
d70994e4a8
net-w5500: integrate into main repo.
2023-05-31 01:01:30 +02:00
Dario Nieuwenhuis
82d765689a
Merge remote-tracking branch 'w5500/main' into w5500
2023-05-31 00:55:16 +02:00
Dario Nieuwenhuis
7f0e778145
move embassy-net-w5500 to subdir.
2023-05-31 00:54:20 +02:00
Dario Nieuwenhuis
3f90620343
Merge pull request #1512 from embassy-rs/cyw43
...
Merge cyw43 into main repo
2023-05-30 21:54:32 +00:00
Dario Nieuwenhuis
3f35a8876e
cyw43: adapt build to main embassy repo.
2023-05-30 23:26:29 +02:00
Dario Nieuwenhuis
b3bbe5eb2d
Merge remote-tracking branch 'cyw43/master' into cyw43
2023-05-30 22:43:40 +02:00
Dario Nieuwenhuis
c327c6cd6f
cyw43: move crate to subdir.
2023-05-30 22:42:49 +02:00
Dario Nieuwenhuis
f5d0d28ac3
Merge pull request #1498 from rmja/remove-bootloader-partitions
...
Remove bootloader partitions
2023-05-30 20:08:01 +00:00
Dario Nieuwenhuis
05688934a1
Merge pull request #1511 from Eekle/ex-debug-symbols-on-release
...
Add [profile.release] debug = true to all examples
2023-05-30 19:52:13 +00:00
George Elliott-Hunter
36bd6c817e
Add [profile.release] debug = true to all examples
2023-05-30 20:27:06 +02:00
Rasmus Melchior Jacobsen
c22d2b5b5b
Remove unused use's
2023-05-30 14:15:52 +02:00
Rasmus Melchior Jacobsen
b703db4c09
Fix verify test
2023-05-30 14:07:35 +02:00
Rasmus Melchior Jacobsen
b527cc98af
Formatting
2023-05-30 14:05:38 +02:00
Rasmus Melchior Jacobsen
36e00caf4d
Align examples
2023-05-30 14:03:31 +02:00