Commit Graph

5892 Commits

Author SHA1 Message Date
xoviat
809d3476aa wpan: further optimize mac event 2023-07-20 16:45:04 -05:00
Dario Nieuwenhuis
4d1d125f41
Merge pull request #1673 from pennae/rp-disable-adc
rp: disable adc hardware on Adc drop
2023-07-20 14:21:40 +00:00
pennae
4d6b3c57b1 rp: fix multicore stack guard setup
the region field of the register is four bits wide followed by the valid
bit that causes the rnr update we rely on for the rasr write. 0x08 is
just a bit short to reach the valid bit, and since rp2040 has only 8
regions it (at best) doesn't do anything at all.
2023-07-20 16:08:59 +02:00
pennae
a3d4ae85b0 rp: disable adc hardware on Adc drop
the adc constantly pulls a small but significant amount of current while
the hardware is enabled. this can have quite an effect on sleeping
devices that also use the adc.
2023-07-20 15:48:59 +02:00
xoviat
02d57afd51 rustfmt 2023-07-19 17:52:07 -05:00
xoviat
28254842db - optimize event to parse opcode only once
- optimze channels
- return mut ref for smoltcp rx
2023-07-19 17:49:08 -05:00
Dario Nieuwenhuis
3382ca1a54
Merge pull request #1667 from quentinmit/nrf-pdm
nrf/pdm: Add continuous sampling API
2023-07-19 10:15:39 +00:00
Dario Nieuwenhuis
07a9a4ffd8
Merge pull request #1671 from alepez/uart-swap
stm32/uart: add swap_rx_tx
2023-07-19 10:12:49 +00:00
Alessandro Pezzato
36ff688fab stm32/uart: optimize swap_rx_tx 2023-07-19 10:50:40 +02:00
Alessandro Pezzato
3df2c71e6c stm32/uart: add swap_rx_tx 2023-07-19 10:26:47 +02:00
xoviat
ca1d4179a7 wpan: implement initial event loop 2023-07-18 20:52:03 -05:00
xoviat
890d113b85 wpan: fully implement initial draft concept 2023-07-18 18:28:12 -05:00
Quentin Smith
7555a1e302 cargo fmt 2023-07-18 18:32:19 -04:00
Quentin Smith
be7fbe50d7 Update pdm driver to build with all the PACs 2023-07-18 18:31:32 -04:00
Quentin Smith
2c01f277c2 cargo fmt 2023-07-18 17:17:04 -04:00
Quentin Smith
c333d855fc Remove merge error 2023-07-18 17:14:25 -04:00
Quentin Smith
42de1c3a06 Merge remote-tracking branch 'origin/main' into nrf-pdm 2023-07-18 17:13:00 -04:00
Dario Nieuwenhuis
a1d3bc30fa net-esp-hosted: build docs. 2023-07-18 18:15:35 +02:00
ivmarkov
98576c17b6
Fix multicast support (#1670) 2023-07-18 17:35:20 +02:00
Dario Nieuwenhuis
27a3d2cd0b
Merge pull request #1669 from embassy-rs/nocrlf
ci: add check for no CRLF line endings.
2023-07-18 12:33:14 +00:00
Dario Nieuwenhuis
10f5966787 Convert files to LF endings. 2023-07-18 14:24:58 +02:00
Dario Nieuwenhuis
48957dce87 Add gitattributes to control crlf conversion. 2023-07-18 14:23:37 +02:00
Dario Nieuwenhuis
fc901f9856 ci: add check for no CRLF line endings. 2023-07-18 14:23:37 +02:00
Dario Nieuwenhuis
13964c7fca
Merge pull request #1668 from bjoernQ/fix-embassy-net-dual-stack
Make dual-stack work in embassy-net
2023-07-18 11:30:27 +00:00
Dario Nieuwenhuis
a1cc3f2c60
Merge pull request #1666 from alexferro/possible-1664-fix
Embassy-rp I2C: Fix 1664 (async transaction failure)
2023-07-18 11:24:52 +00:00
Dario Nieuwenhuis
15a6e04887
Merge pull request #1665 from xoviat/eth
stm32/eth: fix cfg(not(time))
2023-07-18 11:22:42 +00:00
bjoernQ
6bf4717b0a cfg-gate unapply_config_v4 2023-07-18 10:57:05 +02:00
bjoernQ
f581831b86 Make dual-stack work in embassy-net 2023-07-18 10:39:29 +02:00
Quentin Smith
6f02403184 Merge remote-tracking branch 'origin/main' into nrf-pdm 2023-07-17 21:31:43 -04:00
xoviat
d040871f7a wpan: fix comp errors and impl. some of runner 2023-07-17 20:14:06 -05:00
xoviat
8f23b6faa6 wpan: refactor control, driver 2023-07-17 19:26:58 -05:00
xoviat
1d2c47273d Merge branch 'master' into mac 2023-07-17 16:38:46 -05:00
xoviat
55ac480cb0 stm32/eth: fix cfg(not(time)) 2023-07-17 16:24:09 -05:00
Alex Ferro
e4ad1aa542 Embassy-rp I2C: Fix 1664
Change embassy-rp i2c.rs impl of embedded_hal_async::i2c::I2c::transaction
to only do the call to setup() for address once per call to transactions.
Calling setup multiple times results in I2C transactions being skipped
on the bus, even across calls to transaction() or devices.
2023-07-16 19:59:35 -06:00
Tyler
6d8a5c6c20
Merge pull request #2 from embassy-rs/main
Pull changes from base embassy repo
2023-07-16 19:08:01 -05:00
xoviat
6b5df4523a
Merge pull request #1662 from xoviat/mac-2
wpan/mac: use slice view to avoid copy
2023-07-17 00:01:27 +00:00
xoviat
7b34f5e866 wpan: make dataind fields private 2023-07-16 18:54:11 -05:00
xoviat
fe1e7c4d76 wpan: fix datarequest 2023-07-16 18:07:05 -05:00
xoviat
34217ea797 wpan: add slice data view 2023-07-16 17:28:34 -05:00
xoviat
a0515ca7ac wpan: add repr(c) to mac responses 2023-07-16 16:16:56 -05:00
xoviat
28b419d65e wpan/mac: use lifetimes to control events 2023-07-16 15:09:30 -05:00
xoviat
7c465465c1 wpan: use builtin conversion methods 2023-07-16 13:59:15 -05:00
xoviat
e95a7dc555 wpan/mac: use slice view to avoid copy 2023-07-16 12:41:57 -05:00
xoviat
582006c75c wpan/mac: further cleanup 2023-07-16 09:32:54 -05:00
Dario Nieuwenhuis
c7ec45a004
Merge pull request #1659 from maximedeboeck/hid-tests
Add usb-hid keyboard example for rp pico.
2023-07-16 11:17:49 +00:00
maximedeboeck
88d1976e81 Added usb-hid keyboard example for rp pico. 2023-07-16 12:31:56 +02:00
xoviat
cd592cb055 wpan: add files from cyw43 2023-07-15 19:15:01 -05:00
xoviat
0b63af3313 wpan: prepare net impl. 2023-07-15 19:02:04 -05:00
Dario Nieuwenhuis
25197308e3
Merge pull request #1653 from xoviat/eth
stm32/eth: solve busy-loop polling
2023-07-15 21:18:03 +00:00
xoviat
cf278ea1b6
Merge pull request #1656 from xoviat/mac-4
wpan: factor mac logic into other mod
2023-07-15 19:49:16 +00:00