Commit Graph

4869 Commits

Author SHA1 Message Date
Henrik Berg
6863786243 Document external button. Add wifi_blinky.rs for easy beginners start. 2023-06-12 20:19:33 +02:00
Dario Nieuwenhuis
c5a0e8579a
Merge pull request #1552 from embassy-rs/log-fix
usb-logger: fix breakage in log 0.4.19
2023-06-12 16:06:50 +00:00
Dario Nieuwenhuis
8d5f995a01 usb-logger: fix breakage in log 0.4.19
https://github.com/rust-lang/log/issues/567
2023-06-12 16:37:36 +02:00
goueslati
bf32dc5d3a clippy 2023-06-12 15:07:46 +01:00
goueslati
802416d267 fix CI for tests 2023-06-12 15:04:52 +01:00
goueslati
553c934325 fix CI for tests 2023-06-12 14:54:17 +01:00
goueslati
bb5ceb2d9c fix CI error 2023-06-12 14:52:14 +01:00
goueslati
a1b27783a6 fix build 2023-06-12 14:44:30 +01:00
Ghaith Oueslati
cf83f6820c
Merge pull request #3 from OueslatiGhaith/master
fix merge conflicts
2023-06-12 14:28:23 +01:00
goueslati
2d89cfb18f fix merge conflict 2023-06-12 14:27:53 +01:00
goueslati
2dd5ce83ec stm32/ipcc: fix tl_mbox example 2023-06-12 12:31:15 +01:00
goueslati
ca8957da43 stm32/ipcc: move tl_mbox into embassy-stm32-wpan 2023-06-12 12:27:51 +01:00
Dario Nieuwenhuis
ab86b06050
Merge pull request #1548 from embassy-rs/crate-cleanup
Crate cleanups
2023-06-09 14:55:50 +00:00
Dario Nieuwenhuis
6653f262d7 examples: use nicer InterrupExt to set irq priority in multprio. 2023-06-09 16:46:57 +02:00
Dario Nieuwenhuis
98c821ac39 Remove embassy-cortex-m crate, move stuff to embassy-hal-common. 2023-06-09 16:44:20 +02:00
Dario Nieuwenhuis
dc8e34420f Remove executor dep+reexports from HALs.
Closes #1547
2023-06-09 16:29:45 +02:00
Dario Nieuwenhuis
479ccf17df
Merge pull request #1545 from embassy-rs/fixes4
Dumb fixes.
2023-06-09 01:40:45 +00:00
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
c0331cdf89
Merge pull request #1532 from cstlaurent/stm32g4-pll
stm32/rcc: Add basic PLL support for G4 series chips
2023-06-09 01:22:31 +00:00
Carl St-Laurent
8ddeaddc67
Rename to follow ref manual and CubeIDE 2023-06-08 20:46:48 -04:00
Carl St-Laurent
0915fb73b2
Merge branch 'master' into stm32g4-pll 2023-06-08 20:43:14 -04: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
goueslati
ce1d72c609 wip 2023-06-08 16:26:47 +01: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