Commit Graph

8649 Commits

Author SHA1 Message Date
Caleb Jamison
823a82adb7 Fixup formatting to work with log 2024-09-12 11:43:15 -04:00
Caleb Jamison
eeda57a424 rp2350 pio pin fixes
Disable pad isolation on any used pin.
Use GPIOBASE and offset pin bases if all pins are > 16, panic if some
pins are < 16 and some are > 31
2024-09-12 11:37:17 -04:00
Caleb Jamison
3d6a270f30
rp: Fix indexing for pins >31 on rp235xb (#3330)
* Fix indexing for pins >31 on rp235xb

* fixup knowing that 1<<7 is 128 not 64
2024-09-12 01:44:11 +02:00
Ulf Lilleengen
7648d42b7f
Merge pull request #3328 from Ddystopia/main
fix: `select_slice` is unsound.
2024-09-11 09:09:44 +00:00
Oleksandr Babak
29932c295c
fix: select_slice is unsound. fixes #3320 2024-09-11 10:46:28 +02:00
Ulf Lilleengen
dc98d865ff
Merge pull request #3327 from phycrax/docs-add-rustybits-video
docs: Add a link to [From Zero to Async in Embedded Rust] in resources
2024-09-11 07:08:10 +00:00
Süha Ünüvar
833537231e
add link to rustybits zero to async video in resources section 2024-09-11 12:50:46 +08:00
Dario Nieuwenhuis
2c6986f5b0
Merge pull request #3255 from embassy-rs/time-clarify-docs
time-driver: clarify docs for set_alarm.
2024-09-10 23:54:47 +00:00
Dario Nieuwenhuis
d193c9ef44 time-driver: clarify docs for set_alarm. 2024-09-11 01:36:11 +02:00
Dario Nieuwenhuis
7fde354b21
Merge pull request #3310 from Ecco/lptim
stm32: Add a first Lptim driver
2024-09-10 23:24:41 +00:00
Dario Nieuwenhuis
c739091085 Update stm32-metapac. 2024-09-11 01:19:46 +02:00
Romain Goyet
d69f68b8c0 stm32: Use a GLOBAL interrupt for lptim 2024-09-11 01:18:52 +02:00
Romain Goyet
69208daf6d stm32: Fixing stupid typo (thanks @dirbaio) 2024-09-11 01:18:52 +02:00
Romain Goyet
ac319970b8 stm32: Work around LPTIM4 2024-09-11 01:18:52 +02:00
Romain Goyet
652133bce4 stm32: Support LPTIM v1 and v2 2024-09-11 01:18:52 +02:00
Romain Goyet
37130f45e4 stm32: Use the updated LPTIM pac 2024-09-11 01:18:52 +02:00
Romain Goyet
b449e04a88 stm32: Temporary fix around incomplete stm32-metapac 2024-09-11 01:18:52 +02:00
Romain Goyet
3b8859653e stm32: Clean up the lptim driver 2024-09-11 01:18:52 +02:00
Romain Goyet
a1c9a2e8bd First working draft of a lptim driver
This driver is able to PWM a pin
2024-09-11 01:18:52 +02:00
Dario Nieuwenhuis
1ea29f1d2e
Merge pull request #3169 from Adancurusul/g4_dev
Add adc oversampling and adc differential for g4
2024-09-10 23:07:11 +00:00
Dario Nieuwenhuis
fac71e594e
Merge pull request #3271 from sjoerdsimons/ucpd-sop-filters
[UCPD] Add support for non-SOP packets
2024-09-10 23:03:58 +00:00
Dario Nieuwenhuis
0bf9a2591b
Merge pull request #3297 from CBJamo/rp2350_flash
rp: 2350 flash write and OTP
2024-09-10 21:36:49 +00:00
Dario Nieuwenhuis
aff1e74862
Merge pull request #3277 from dvdsk/main
embassy-net/read document return value Ok(0)
2024-09-10 21:34:11 +00:00
Dario Nieuwenhuis
609b1b0355
Merge pull request #3286 from trnila/stm32_usart_break
stm32/usart: sending break character
2024-09-10 21:33:27 +00:00
Dario Nieuwenhuis
8f3478193d
Merge pull request #3291 from bugadani/typo
Fix a typo
2024-09-10 21:31:50 +00:00
Dario Nieuwenhuis
e535676fa2
Merge pull request #3296 from maximevince/embassy-usb-empty-bos-desc
Allow bos_descriptor_buf to be a zero-length slice
2024-09-10 21:31:13 +00:00
Dario Nieuwenhuis
1058afd5fd
Merge pull request #3303 from maximevince/stm32f2-flash-support-blocking
stm32: add f2 flash support (blocking)
2024-09-10 21:30:54 +00:00
Dario Nieuwenhuis
d5e77f69c1
Merge pull request #3319 from badrbouslikhin/buffered-uart-rx-fix
fix(stm32): fix dma and idle line detection in ringbuffereduartrx
2024-09-10 21:30:22 +00:00
Dario Nieuwenhuis
3534ee1bd5
Merge pull request #3326 from elagil/sai_pull_down_for_rx
SAI pull down clock and data lines in receive mode
2024-09-10 21:18:23 +00:00
elagil
e698fbe598 fix: pull-down clock/data lines for receive 2024-09-10 21:38:05 +02:00
Dario Nieuwenhuis
2286e5da13
Merge pull request #3105 from embassy-rs/net-nrf91
embassy-net driver for nrf91
2024-09-09 20:03:28 +00:00
Ulf Lilleengen
6af1cb7a20 Use TX_BUF_SIZE matching MTU 2024-09-09 15:45:15 +02:00
Dario Nieuwenhuis
0ef06cc19b
Merge pull request #3323 from embassy-rs/cyw43-wpa3
cyw43: add support for WPA3 and more extensive security options.
2024-09-09 00:37:17 +00:00
Dario Nieuwenhuis
b9a1aaea5b cyw43: add support for WPA3 and more extensive security options. 2024-09-09 02:13:25 +02:00
Dario Nieuwenhuis
6b21f6d3d1 cyw43: log ioctls. 2024-09-09 02:13:25 +02:00
Dario Nieuwenhuis
3ac38e917c cyw43: use enum for ioctl instead of consts. 2024-09-09 02:13:25 +02:00
Dario Nieuwenhuis
74e724f968
Update to Rust 1.81 (#3322) 2024-09-09 02:13:17 +02:00
Badr Bouslikhin
94f109aec1
Merge branch 'embassy-rs:main' into buffered-uart-rx-fix 2024-09-06 18:56:11 +02:00
Badr Bouslikhin
0e477a4df5
fix(stm32): enable dma half transfer interrupt for buffereduart 2024-09-06 18:55:33 +02:00
Badr Bouslikhin
ee25f14b20
fix(stm32): reorder dma and idle futures 2024-09-06 18:55:33 +02:00
Dario Nieuwenhuis
1cf778904d
Merge pull request #3316 from Ddystopia/main
fix: nightly api changed during the night
2024-09-06 12:54:17 +00:00
Oleksandr Babak
1443f3386b
fix: remove stable nightly feature 2024-09-06 11:34:30 +02:00
Oleksandr Babak
5b4941a510
ci: update rust-toolchain 2024-09-06 11:29:12 +02:00
Ulf Lilleengen
1b1db2401b Use byte slice for config 2024-09-06 11:22:07 +02:00
Oleksandr Babak
01d8508b6c
fix: nightly api changed during the night 2024-09-06 11:16:44 +02:00
Ulf Lilleengen
e2e3143c2e Add explicit disable/enable function and skip enable in configure 2024-09-06 09:58:54 +02:00
Ulf Lilleengen
5e74434cb8 Ensure modem is enabled in run() 2024-09-06 09:52:26 +02:00
Ulf Lilleengen
ca3d091faf
Merge pull request #3309 from Kezii/main
support custom log formatting for usb logger
2024-09-06 07:36:16 +00:00
Ulf Lilleengen
ac7ebea762 Make sure to CFUN=0 before changing configuration 2024-09-06 09:34:39 +02:00
Dario Nieuwenhuis
54927cc3aa
Merge pull request #3315 from Ecco/fix-ci-test-http-git
ci: Fix the "test" task when using stm32-metapac from a CI artifact
2024-09-05 22:03:16 +00:00