Commit Graph

5862 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
603ea9f310
Merge pull request #1677 from xoviat/update-metapac
stm32: update metapac
2023-07-22 18:35:09 +00:00
JuliDi
a56b3e9a44
update feature gates for v3 2023-07-22 19:47:36 +02:00
JuliDi
0378366e29
Merge remote-tracking branch 'xoviat/update-metapac' into fix-dac-example 2023-07-22 19:26:20 +02:00
JuliDi
80ce6d1fb7
update DAC triggers to incorporate v3 2023-07-22 19:25:02 +02:00
xoviat
ba8e5d8589 rustfmt 2023-07-22 12:10:50 -05:00
xoviat
192cdc2f85 stm32: suppress adc f3 2023-07-22 12:07:02 -05:00
xoviat
64f8a779ca stm32: add dac fix 2023-07-22 11:54:54 -05:00
xoviat
5693ed1178 stm32: add minimal fdcan impl 2023-07-22 11:50:30 -05:00
xoviat
19c6c698b5 stm32: update metapac 2023-07-22 11:43:14 -05:00
Adam Greig
224fbc8125
stm32: remove duplicate features from stm32f4 examples Cargo.toml 2023-07-22 13:19:29 +01:00
Adam Greig
e5b4641f9e
stm32/dac: set pin mode to analog (ref #334) 2023-07-22 13:19:26 +01:00
Adam Greig
c83552eadc
stm32: fix DAC examples
The DAC driver defaults to enabling the channel trigger, but leaves it
at the default value of TIM6 TRGO, then performs a software trigger
after writing the new output value. We could change the trigger
selection to software trigger, but for this example it's simpler to just
disable the trigger.
2023-07-22 12:57:49 +01:00
xoviat
4db63677f6
Merge pull request #1658 from xoviat/mac
implement most infra for wpan mac
2023-07-21 22:29:15 +00:00
xoviat
f4d6a23f92 wpan/mac: misc fixes 2023-07-21 17:02:36 -05:00
xoviat
2cdd593290 Merge branch 'main' of https://github.com/embassy-rs/embassy into mac 2023-07-21 16:24:48 -05:00
xoviat
c675208b8a wpan: complete prelim. command impl. 2023-07-21 16:10:34 -05:00
pennae
e9445ec72d rp: allow for MPU-based stack guards on core 0 as well
using these will require some linker script intervention. setting the
core0 stack needs linker intervention anyway (to provide _stack_start),
having it also provide _stack_end for the guard to use is not that much
of a stretch.
2023-07-21 18:51:35 +02:00
xoviat
899a68325c wpan: impl. draft control scheme 2023-07-20 20:51:49 -05:00
xoviat
c80c232a72 wpan: impl. debug for structs 2023-07-20 19:52:36 -05:00
xoviat
83ff626c47 wpan/mac: incr. runner msdu handle 2023-07-20 17:00:03 -05:00
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