Commit Graph

5959 Commits

Author SHA1 Message Date
8ddeaddc67 Rename to follow ref manual and CubeIDE 2023-06-08 20:46:48 -04:00
0915fb73b2 Merge branch 'master' into stm32g4-pll 2023-06-08 20:43:14 -04:00
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
3dde01597a tests/rp: make cyw43-perf less strict. 2023-06-08 21:12:34 +02:00
4716166041 tests/rp: update cyw43-perf for embassy-net changes. 2023-06-08 20:51:36 +02:00
8a1d3d5c84 Merge branch 'main' into v4-optional 2023-06-08 19:38:15 +02:00
b68cf6c5c8 Merge pull request #1544 from embassy-rs/irq-typelevel
Rework typelevel interrupts.
2023-06-08 17:01:54 +00:00
8c93805ab5 Add rt feature to HALs, cfg out interrupt handling when not set. 2023-06-08 18:57:03 +02:00
f498c689e7 Add RTIC example. 2023-06-08 18:07:49 +02:00
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
bce24e8005 asdg 2023-06-08 18:07:49 +02:00
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
ce1d72c609 wip 2023-06-08 16:26:47 +01:00
2455fd4dbe net: Add documentation to new Config system 2023-06-07 13:18:19 +02:00
352f0b6c38 net: Support dual stack IP 2023-06-07 13:18:19 +02:00
87ad66f2b4 Merge pull request #1540 from RussHewgill/can_recv
Added can_recv for TcpSocket
2023-06-06 16:59:57 +00:00
2eb08b2dc9 updated can_recv and may_recv to match the smoltcp functions. 2023-06-06 09:49:38 -07:00
ca47af6978 CI: introduce tests for dual stack v4 and v6 2023-06-06 18:21:45 +02:00
ae1dedc059 net: proto-ipv6 in is_config_up 2023-06-06 17:58:46 +02:00
ada7ec2289 CI: add proto-ipv4 to embassy-net test 2023-06-06 17:58:46 +02:00
d2a6c5c608 CI: Add proto-ipv6 tests without ipv4 to CI 2023-06-06 17:58:46 +02:00
18578fd15f net: Allow a combined use of IPv4 and IPv6 DNS servers 2023-06-06 17:58:45 +02:00
d7f674e410 net: Allow setting an IPv6 in the stack 2023-06-06 17:58:45 +02:00
e871324bde net: StaticV4 config behind proto-ipv4 2023-06-06 17:58:45 +02:00
54bab33c73 Rename StaticConfig to StaticConfigV4 2023-06-06 17:04:21 +02:00
a9fdd468d5 Merge pull request #1538 from embassy-rs/cyw43-hil
cyw43: add perf HIL test.
2023-06-06 00:55:40 +00:00
6701606e4c cyw43: add perf HIL test. 2023-06-06 02:50:57 +02:00
79b982c941 Merge pull request #1536 from embassy-rs/rp-flash-fix
Rp flash fix
2023-06-05 22:16:44 +00:00
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
4f03dff577 rp: add run-from-ram feature. 2023-06-06 00:06:32 +02:00
162d485304 rp/flash: centralize USE_BOOT2 in a single const. 2023-06-05 23:41:26 +02:00
70e1b976d8 rp/flash: fix missing clobbers, do not clobber frame pointer (r7). 2023-06-05 23:40:34 +02:00
adf053a935 rp/flash: unify FLASH_BASE const. 2023-06-05 22:55:15 +02:00
5ee26a5dd1 rp/dma: fix use-after-free read. 2023-06-05 22:28:14 +02:00
44624b2d7a Put proto-ipv4 behind a feature flag 2023-06-05 16:45:40 +02:00
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
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
a4b8fc420a Replace Into<bool> for Level with From<Level> for bool 2023-06-05 01:37:56 +01:00
4185c10bf8 Cleanup 2023-06-04 12:09:03 -04:00
ade46489f1 Added Vcore boost mode and Flash wait state 2023-06-04 11:57:42 -04:00
e83762e979 Use HSI16 for exemple since HSE might have a different value depending on board 2023-06-04 11:05:13 -04:00
6fe853a7d3 Better comments 2023-06-04 10:58:44 -04:00
24c4ea71b1 sync/pipe: write all user data to pipe
sync/pipe: add write_all function
2023-06-04 22:29:59 +08:00
675499449f Example using PLL 2023-06-03 22:10:43 -04:00
2f269f3256 stm32/rcc: Implement basic PLL support for STM32G4 series 2023-06-03 22:05:24 -04:00
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
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
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
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