Commit Graph

6109 Commits

Author SHA1 Message Date
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
xoviat
4db4200c37 wpan: factor mac logic into other mod 2023-07-15 14:47:34 -05:00
xoviat
758862f4b1
Merge pull request #1655 from xoviat/mac-3
wpan: add mac
2023-07-15 19:39:06 +00:00
xoviat
3705b4f40d rustfmt 2023-07-15 14:38:02 -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
xoviat
d6dd5ea5d3 revert toolchain changes 2023-07-15 14:19:32 -05:00
xoviat
8a146a50ec Merge branch 'master' into mac-3 2023-07-15 14:18:01 -05:00
xoviat
17d5e1c470 stm32/eth: add set_poll_interval 2023-07-15 12:02:08 -05:00
xoviat
975a780efe stm32/eth: impl. poll interval 2023-07-15 09:57:09 -05:00
xoviat
c3774607a5 stm32/eth: convert static metho 2023-07-15 09:37:25 -05:00
xoviat
bb24cfd1e8 stm32/eth: add f4 example 2023-07-15 09:32:44 -05:00
xoviat
48b37aa2bf stm32/eth: refactor genericsmi 2023-07-15 09:32:36 -05:00
Dario Nieuwenhuis
0bde4992ea
Merge pull request #1652 from OueslatiGhaith/wpan_hci
wpan: update `stm32wb-hci`
2023-07-15 14:00:18 +00:00
Ghaith Oueslati
7ec7d1bbcc
fix ci issue 2023-07-15 14:56:26 +01:00
GhaithOueslati
0628dd997f fix test 2023-07-15 13:52:04 +01:00
GhaithOueslati
283ec756a9 stm32wb: add gatt server example 2023-07-15 13:37:41 +01:00
GhaithOueslati
5b076cb0dd wpan: update stm32wb-hci to version 0.1.3 2023-07-15 13:33:10 +01:00
Phil Markgraf
3bae533066
Enable RTC on STM32WL chips (#1645)
* Add clippy allow to not report if same then branch

* Support enabling RTC clock on STM32WL

* Add clippy allow to not report if same then branch

* Support enabling RTC clock on STM32WL

* Add rtc example for stm32wl

* Address code review feedback
2023-07-15 13:40:23 +02:00
Dario Nieuwenhuis
7b36fe049d
Merge pull request #1649 from simmsb/master
rp: Check intrstatus before signalling suspended
2023-07-14 18:52:53 +00:00
Dario Nieuwenhuis
4b3fda4f96
Merge pull request #1650 from henrikberg/rp_examples_doc
RP examples gets file description
2023-07-14 18:45:34 +00:00
Henrik Berg
56ca179475 Round temp to make more sense. 2023-07-13 22:47:03 +02:00
Ben Simms
460cdc9e0f
Check intrstatus before signalling suspended 2023-07-13 19:29:09 +01:00
goueslati
f90b170dad cleanup 2023-07-13 16:29:29 +01:00
goueslati
68792bb918 final structs
unchecked
2023-07-13 15:48:15 +01:00
goueslati
3f0c8bafb0 make it work, disgustingly 2023-07-13 15:20:50 +01:00
Henrik Berg
588c0479f5 Add descriptions to all RP2040 examples. Some need hardware that was not specified. 2023-07-13 11:16:11 +02:00
Dario Nieuwenhuis
d979841f17
Merge pull request #1644 from embassy-rs/remove-atompoly
Remove trivial to remove uses of atomic-polyfill.
2023-07-12 16:35:00 +00:00
Dario Nieuwenhuis
dff9bd9711 Remove trivial to remove uses of atomic-polyfill. 2023-07-12 18:30:43 +02:00
goueslati
eccd2ecebf change MacAddress to a union instead of an enum 2023-07-12 16:49:37 +01:00
Dario Nieuwenhuis
ed86fc175f
Merge pull request #1637 from ShakenCodes/main
Ensure I2C master_stop() called after error
2023-07-12 15:46:28 +00:00
Dario Nieuwenhuis
132327a40d
Merge pull request #1642 from henrikberg/rtc_rp_hb
RP2040 Rtc update with example
2023-07-12 15:46:00 +00:00
Dario Nieuwenhuis
a615a70eda
Merge pull request #1643 from bugadani/clear_timer
Reset `expires_at` of finished task
2023-07-12 15:40:10 +00:00
Dániel Buga
a2501bd5c1 Allow clearing finished task from timer queue 2023-07-12 16:56:02 +02:00