Commit Graph

8935 Commits

Author SHA1 Message Date
Grant Miller
f571ab9d60 oops again 2024-09-06 14:04:58 -05:00
Grant Miller
71e49839fc oops 2024-09-06 14:01:10 -05:00
Grant Miller
1a8977db78 Update examples 2024-09-06 13:53:49 -05:00
Grant Miller
cfc76cec71 Match embedded-hal api 2024-09-06 13:29:54 -05: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
Badr Bouslikhin
55f41da66c
Merge branch 'embassy-rs:main' into main 2024-09-06 18:37:30 +02:00
Grant Miller
f7f062e0a3 Deduplicate SimplePwm's channel methods 2024-09-06 10:25:29 -05:00
Grant Miller
8ac758bdee embassy-stm32: Add SimplePwmChannel 2024-09-06 09:09:09 -05: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
Romain Goyet
ccce870642 ci: Fix the "test" task when using stm32-metapac from a CI artifact 2024-09-05 18:01:05 -04:00
elagil
a8ca6713e6 feat(usb): make use of ISO endpoint support 2024-09-05 21:29:24 +02:00
elagil
d37c482e21 feat(usb-otg): add support for ISO endpoints 2024-09-05 21:29:11 +02:00
elagil
ccf68d7391 feat(usb): add support for ISO endpoints 2024-09-05 21:29:04 +02:00
Ulf Lilleengen
b8fa5cdf06
Merge pull request #3312 from 9SMTM6/fix_wasm_linking
Enable critical-section/std on wasm
2024-09-05 11:39:59 +00:00
Samuel Maier
db00f3f5ec Enable critical-section/std on wasm
Without that feature one will find import errors on opening the webpage, that are hard to debug.
The feature was indirectly enabled in the wasm example, however the reason wasn't documented and thus it was easy to miss.
2024-09-05 11:45:49 +02:00
Ulf Lilleengen
d71fd447cc Add method for buypassing and running at command directly 2024-09-05 11:25:19 +02:00
Ulf Lilleengen
5d0ed24640 Move configure out of run 2024-09-05 10:31:51 +02:00
Ulf Lilleengen
836e8add1b Mintor fixes after testing re-attach 2024-09-05 10:02:45 +02:00
Dario Nieuwenhuis
e0b5d69d57
Merge pull request #3311 from embassy-rs/disable-flaky-test
stm32/tests: disable flaky stm32wl55jc/usart_rx_ringbuffered
2024-09-04 19:12:01 +00:00
Dario Nieuwenhuis
df4ed5c91d stm32/tests: disable flaky stm32wl55jc/usart_rx_ringbuffered 2024-09-04 21:09:37 +02:00
Caleb Jamison
e75903138a Fix commented out code 2024-09-04 13:42:03 -04:00
Ulf Lilleengen
ccfa6264b0 Add closing if raw socket to handle re-attach 2024-09-04 19:31:55 +02:00
Kezi
aa3c7b900e support custom style for usb logger 2024-09-04 19:24:33 +02:00
Ulf Lilleengen
372e45dabc Add context run task 2024-09-04 18:47:26 +02:00
Ulf Lilleengen
49881f6fd1 rustfmt 2024-09-04 14:21:13 +02:00
Ulf Lilleengen
b4221d75b8 Make tracing optional and use dedicated task 2024-09-04 14:09:17 +02:00
Ulf Lilleengen
5e27a3e64f Document public API and fix warnings 2024-09-04 13:09:27 +02:00
Ulf Lilleengen
b76b7ca9f5 Use at-commands crate and support DNS
* Use at-commands for building and parsing AT commands which has better
  error handling.
* Retrieve DNS servers
* Retrieve gateway
* Update example to configure embassy-net with retrieved parameters.
2024-09-04 12:58:33 +02:00
Ulf Lilleengen
aabdd45424 remove debug logging 2024-09-04 11:09:27 +02:00
Ulf Lilleengen
a6db8678eb Add utility for setting configuration for a context 2024-09-04 11:04:36 +02:00
Lucas Martins Mendes
32cff6530f
chore: fix using default_features instead of default-features in embassy boot dependency (#3306) 2024-09-03 21:02:39 +02:00
Adrian Friedli
b277f42c9d
nrf52840: fix naming of LED states in examples (#3304)
The LEDs on the nrf52840 DK are active low.
2024-09-02 22:07:49 +02:00
Maxime Vincent
82f274ea09
stm32: add f2 flash support (blocking) 2024-09-02 12:25:42 +02:00
Badr Bouslikhin
f6d92b7611
fix(stm32): disable transmitter during half-duplex read 2024-08-30 18:52:23 +02:00
Caleb Jamison
4c07c356e4 Fixup: forgot to rename fn in example 2024-08-29 21:35:57 -04:00
Caleb Jamison
0434798439 Import otp from rp-hal, helper fns for chipid and randid
Again, credit to @thejpster for doing the hard part and figuring out the
otp.
2024-08-29 21:08:25 -04:00
Maxime Vincent
abcb39a58b
Allow bos_descriptor_buf to be a zero-length slice 2024-08-29 17:32:43 +02:00
Caleb Jamison
372270a9b9 rp235x flash support.
The 2350 doesn't have a boot2 like the 2040, but it does have the
concept of a xip setup function that could be customized. By default the
bootrom searches for the attached flash chip and provides an xip setup
func at the base of the bootram. That bootram is not executable, so it
still needs to be copied to ram like boot2 would be.

Currently does not use inline assembly.

Also switch to picotool, as elf2uf2 has not been patched to support the
2350.
2024-08-29 10:47:03 -04:00
Daniel Trnka
22f4459ae2 stm32/usart: sending break character in buffered usart 2024-08-28 21:55:08 +02:00