Commit Graph

4870 Commits

Author SHA1 Message Date
Philipp Scheff
8359d8c020 make stm32 can test work 2023-07-04 00:34:24 +02:00
Philipp Scheff
1869fe02ba make stm32f4 example work 2023-07-04 00:21:08 +02:00
Philipp Scheff
e3e8d82933 remove unused imports from example 2023-07-03 23:52:52 +02:00
Philipp Scheff
a96f30edf4 allow deed code can rx & clippy 2023-07-03 23:48:07 +02:00
Philipp Scheff
af15b49bfe fmt 2023-07-03 22:57:33 +02:00
schphil
71afa40a69
Merge branch 'embassy-rs:main' into can-split 2023-06-23 10:19:30 +02: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
GhaithOueslati
64ff1a6b75 update hci crate git path 2023-06-22 22:53:07 +01:00
GhaithOueslati
558247d8f6 update hci crate name 2023-06-22 22:51:38 +01:00
Dario Nieuwenhuis
70907d84f1
Merge pull request #1546 from embassy-rs/esp-hosted
esp-hosted embassy-net driver.
2023-06-22 19:18:01 +00:00
Dario Nieuwenhuis
8bbfa6827c esp-hosted: add perf hil test. 2023-06-22 21:12:24 +02:00
Dario Nieuwenhuis
6e65282f18 esp-hosted: smaller delay after transfer, makes slightly better perf. 2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
0d02298ea6 esp-hosted: fix build on stable. 2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
1ed909ea74 esp-hosted: fix warnings. 2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
764b43e82c esp-hosted: wait for esp firmware init. 2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
082f1ab494 esp-hosted: nicer names for shared state struct. 2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
ec2c095a76 esp-hosted: print events. 2023-06-22 21:12:10 +02:00
Dario Nieuwenhuis
6c123596b7 wip: esp-hosted net driver. 2023-06-22 21:12:10 +02:00
Philipp Scheff
89fbb02979 add as_mut 2023-06-22 17:49:33 +02:00
Philipp Scheff
76a334bd7c add as_mut & set loopback true in example 2023-06-22 17:47:58 +02:00
Philipp Scheff
f47a148f51 add stm32f7 can example 2023-06-22 17:18:55 +02:00
Philipp Scheff
5ecf9ec7bc split can 2023-06-22 17:17:51 +02:00
goueslati
3dbd58f40e fix unsound access in EvtBox 2023-06-22 15:59:03 +01:00
goueslati
810c6af77a fix build 2023-06-22 15:31:45 +01:00
goueslati
cd4f8f13a2 wpan: add BLE HCI 2023-06-22 15:21:14 +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
xoviat
5247c1c795 stm32/wpan: fix data alignment 2023-06-21 16:34:56 -05:00
Dario Nieuwenhuis
2e625138ff
Merge pull request #1501 from xoviat/can
async can
2023-06-20 22:57:31 +00:00
xoviat
ca21027eea
Merge pull request #3 from schphil/can
fix extended can id
2023-06-20 17:45:28 -05:00
xoviat
0a551eb7c6 stm32/can: fix time 2023-06-20 17:39:00 -05:00
Dario Nieuwenhuis
5dd0d35021
Merge pull request #1574 from embassy-rs/bootloader-safe-order
Prevent bootloader revert and add missing examples to CI
2023-06-20 17:04:34 +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
978e7b5e77 stm32/wpan: fix bugs 2023-06-19 21:17:31 -05:00
Ulf Lilleengen
161d3ce05c Add firmware updater examples to CI
CI was not building the a.rs application due to the requirement of b.bin
having been built first. Add a feature flag to examples so that CI can
build them including a dummy application.

Update a.rs application examples so that they compile again.
2023-06-19 23:34:07 +02:00
Dario Nieuwenhuis
37a1e9f971
Merge pull request #1573 from embassy-rs/stm32-gpdma-clear-irqs
stm32: GPDMA clear irqs
2023-06-19 21:11:20 +00:00
xoviat
5a075acc6a stm32/tests: fix can 2023-06-19 16:11:01 -05:00
xoviat
0998221478 stm32/can: update interrupts 2023-06-19 16:05:59 -05:00
Dario Nieuwenhuis
428a4ba3f9 stm32/gpdma: clear all interrupts after reset.
Reset doesn't clear them, this causes subsequent transfers to instantly
complete because the TC flag was set from before.
2023-06-19 23:03:31 +02:00
xoviat
aaad906815 Merge branch 'main' of https://github.com/embassy-rs/embassy into can 2023-06-19 15:52:33 -05:00
Ulf Lilleengen
76659d9003 Prevent accidental revert when using firmware updater
This change prevents accidentally overwriting the previous firmware before
the new one has been marked as booted.
2023-06-19 22:39:00 +02:00
Dario Nieuwenhuis
990dd5e5db tests/stm32: do multiple transfers to catch more bugs. 2023-06-19 22:38:27 +02:00
Dario Nieuwenhuis
3c70f799a2
Merge pull request #1572 from whitequark/bdma-blocking_wait-stop
BDMA: request stop after busy loop in blocking_wait()
2023-06-19 09:55:07 +00:00
Catherine
bbc81146ec BDMA: request stop after busy loop in blocking_wait().
Otherwise the channel cannot be used again, since CR.EN remains set
and the DMA channel registers are read-only while it is set.
2023-06-19 09:06:41 +00:00
Dario Nieuwenhuis
faf7aeba27
Merge pull request #1570 from embassy-rs/update-metapac2
stm32: update stm32-metapac.
2023-06-19 01:25:43 +00:00
Dario Nieuwenhuis
558918651e stm32: update stm32-metapac. 2023-06-19 03:22:12 +02:00
xoviat
0122b813d3 stm32/wpan: fix lifetime param 2023-06-18 19:03:50 -05:00
xoviat
72fd648d92 stm32/wpan: add shci mac init 2023-06-18 18:56:53 -05:00
xoviat
b95c0210b8 stm32/wpan: add draft mac mbox 2023-06-18 18:51:14 -05:00
xoviat
9f63158aad stm32/wpan: reorg modules 2023-06-18 10:11:36 -05:00