Derek Hageman
7ed9e29326
rp: add async flash
...
Implement an async flash mode using the XIP background best effort
read interface. Only reads are actually async, write and erase remain
blocking.
2023-07-28 16:50:54 -06:00
pennae
cbc8871a0b
rp: relocate programs implicitly during load
...
this removed the RelocatedProgram construction step from pio uses.
there's not all that much to be said for the extra step because the
origin can be set on the input program itself, and the remaining
information exposed by RelocatedProgram can be exposed from
LoadedProgram instead (even though it's already available on the pio_asm
programs, albeit perhaps less convenient). we do lose access to the
relocated instruction iterator, but we also cannot think of anything
this iterator would actually be useful for outside of program loading.
2023-07-28 19:33:02 +02:00
JuliDi
93864610ce
Add DAC HIL test with ADC
2023-07-27 19:04:43 +02:00
xoviat
270d1d59a0
stm32/rcc: use wpan default only for wpan
2023-07-24 18:25:15 -05:00
xoviat
809d3476aa
wpan: further optimize mac event
2023-07-20 16:45:04 -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
xoviat
28b419d65e
wpan/mac: use lifetimes to control events
2023-07-16 15:09:30 -05:00
xoviat
e95a7dc555
wpan/mac: use slice view to avoid copy
2023-07-16 12:41:57 -05:00
xoviat
4db4200c37
wpan: factor mac logic into other mod
2023-07-15 14:47:34 -05:00
xoviat
1f63fdbb15
stm32/tests: fix cargo
2023-07-15 14:31:35 -05:00
xoviat
d11a94e2a7
wpan: add mac test
2023-07-15 14:28:42 -05:00
GhaithOueslati
0628dd997f
fix test
2023-07-15 13:52:04 +01:00
Dario Nieuwenhuis
91c1d17f16
rp/gpio: fix is_set_high/is_set_low, expand tests.
2023-07-11 12:40:07 +02:00
Dario Nieuwenhuis
b0da6318f3
Merge pull request #1623 from pennae/rp-adc
...
rp/adc: rewrite the module
2023-07-07 15:52:48 +00:00
pennae
972cdd4265
rp/adc: rewrite the module
...
- don't require an irq binding for blocking-only adc
- abstract adc pins into an AnyPin like interface, erasing the actual
peripheral type at runtime.
- add pull-up/pull-down functions for adc pins
- add a test (mostly a copy of the example, to be honest)
- configure adc pads according to datasheet
- report conversion errors (although they seem exceedingly rare?)
- drop embedded-hal interfaces. embedded-hal channels can do neither
AnyPin nor pullup/pulldown without encoding both into the type
2023-07-07 17:46:35 +02:00
pennae
4b63829110
rp/pio: use bind_interrupts for irqs
...
closes #1338
2023-07-07 16:27:10 +02:00
Dario Nieuwenhuis
c421b7f5f0
Merge pull request #1624 from embassy-rs/release-embassy-time-v0.1.2
...
Release embassy-time v0.1.2
2023-07-05 23:34:04 +00:00
Dario Nieuwenhuis
d137286981
Release embassy-time v0.1.2
2023-07-06 01:29:44 +02:00
xoviat
864202a23a
Merge pull request #1578 from schphil/can-split
...
stm32 can split method
2023-07-05 23:27:53 +00:00
Dario Nieuwenhuis
a101d9078d
update embedded-hal crates.
2023-07-04 19:59:36 +02:00
Philipp Scheff
a088c4bee6
fix stm32 can test
2023-07-04 00:39:10 +02:00
Philipp Scheff
8359d8c020
make stm32 can test work
2023-07-04 00:34:24 +02:00
Dario Nieuwenhuis
f7ec579c18
Update probe-rs-cli -> probe-rs
2023-06-29 02:39:28 +02:00
xoviat
d43417e97c
stm32/wpan: implement mm pattern
2023-06-23 19:59:48 -05:00
xoviat
29f32ce00e
stm32/wpan: reorg subsystems
2023-06-23 17:54:06 -05:00
xoviat
6f17286c75
Merge pull request #1576 from OueslatiGhaith/hci_v2
...
wpan: add BLE HCI
2023-06-23 02:09:52 +00:00
xoviat
caf63b9e73
stm32/tests: update ble test
2023-06-22 21:05:51 -05:00
Dario Nieuwenhuis
8bbfa6827c
esp-hosted: add perf hil test.
2023-06-22 21:12:24 +02:00
goueslati
810c6af77a
fix build
2023-06-22 15:31:45 +01:00
xoviat
1f2be2dac5
Merge pull request #1569 from xoviat/tl-mbox-2
...
wpan: misc. cleanup and add mac
2023-06-21 21:50:12 +00:00
Dario Nieuwenhuis
2e625138ff
Merge pull request #1501 from xoviat/can
...
async can
2023-06-20 22:57:31 +00:00
xoviat
0d67ef795e
Merge branch 'main' of https://github.com/embassy-rs/embassy into tl-mbox-2
2023-06-19 21:18:46 -05:00
xoviat
5a075acc6a
stm32/tests: fix can
2023-06-19 16:11:01 -05:00
xoviat
aaad906815
Merge branch 'main' of https://github.com/embassy-rs/embassy into can
2023-06-19 15:52:33 -05:00
Dario Nieuwenhuis
990dd5e5db
tests/stm32: do multiple transfers to catch more bugs.
2023-06-19 22:38:27 +02:00
Dario Nieuwenhuis
558918651e
stm32: update stm32-metapac.
2023-06-19 03:22:12 +02:00
xoviat
39334f7280
stm32/wpan: add ble, mac features and cleanup
2023-06-18 09:43:07 -05:00
xoviat
7177e7ea1a
stm32/wpan: cleanup and expand shci
2023-06-18 08:37:26 -05:00
xoviat
ae83e6f536
Merge pull request #1566 from xoviat/tl-mbox-2
...
tl-mbox: switch to new ipcc mechanism
2023-06-17 20:48:37 +00:00
xoviat
443550b353
stm32/wpan: use new ownership model
2023-06-17 15:37:34 -05:00
xoviat
c7b0df569b
stm32/wpan: modify evtbox to use slice view
2023-06-17 14:38:36 -05:00
xoviat
6b5d55eb29
stm32/wpan: convert to new ipcc
2023-06-17 12:00:33 -05:00
xoviat
e1161dfc80
stm32/wpan: improve linked list ergonomics
2023-06-16 20:15:03 -05:00
xoviat
af451b5462
stm32/wpan: move schi command into sys
2023-06-15 21:02:10 -05:00
Dario Nieuwenhuis
837ebe405f
rp: update rp-pac.
2023-06-16 01:41:07 +02:00
xoviat
29513074ee
rustfmt
2023-06-13 17:16:12 -05:00
xoviat
6c13f381c4
stm32/wpan: get --release working
2023-06-13 17:12:34 -05:00
xoviat
3c98587a88
tests/ble: disable test for now
...
does not work in --release
2023-06-12 21:23:42 -05: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