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
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
Dániel Buga
b56e95bf7c
Fix a typo
2024-08-28 10:26:48 +02:00
Scott Mabin
f0a8607051
Add block-device-driver impl for use with embedded-fatfs ( #2607 )
2024-08-26 20:45:57 +02:00
Pedro Ferreira
9347571fea
rp: add example code to flash bluetooth fw ( #3290 )
2024-08-26 20:28:30 +02:00
Dario Nieuwenhuis
a7bfec2467
Merge pull request #3288 from jbowes/chore/remove-rp-pins-from-mouse-example
...
chore: Remove unused keyboard code from rp mouse example
2024-08-26 15:00:34 +00:00
James Bowes
d4ab9fc247
chore: Remove unused keyboard code from rp mouse example
...
The usb mouse example included code copied from the keyboard example to set up
a button, which is not used in the mouse example. Remove it, to make the
example clearer.
2024-08-26 10:56:41 -03:00
Caleb Jamison
0a33edc997
Import rom_data for the rp235x, don't use intrinsics on rp235x
...
Many thanks to @thejpster for his work on the rom_data!
Working around boot2 is currently a bit hacky for the rp235x, that will
improve in upcoming rp235x flash pr.
2024-08-26 09:43:08 -04:00
Ulf Lilleengen
86ca664655
Merge pull request #3285 from CirrusNeptune/udp-zerocopy
...
feat(embassy-net): add zero-copy UDP send/recv functions
2024-08-26 05:44:30 +00:00
Cirrus
9b142bd80f
feat(embassy-net): add zero-copy UDP send/recv functions
...
Added recv_from_with and send_to_with. These are conceptually similar
to TCP's read_with and write_with functions.
An application can parse received datagrams directly out of the
receive buffer or assemble a datagram of known-length directly into
the send buffer.
2024-08-25 13:14:36 -07:00
Daniel Trnka
bea1f34440
stm32/usart: sending break character
2024-08-25 21:49:43 +02:00
Ulf Lilleengen
1ff1f00d5a
Merge pull request #3282 from elagil/add_sai_is_muted
...
feat: add function to check if SAI is muted
2024-08-25 13:59:27 +00:00
Ulf Lilleengen
1cfd5370ac
Merge pull request #3281 from elagil/ulpi_add_fs_support
...
feat: Add support for a full-speed ULPI mode
2024-08-25 06:05:41 +00:00
Ulf Lilleengen
f4c7ec7462
Merge pull request #3284 from korken89/fix-can-log-spam
...
stm32: Fix log storm when no CAN is connected
2024-08-25 06:04:48 +00:00
Emil Fresk
41e162541a
stm32: Fix log storm when no CAN is connected
...
Running the bxcan driver without having it connected
to a CAN bus causes the `info` logs to bombard.
This removes the logging statements as they looked
like remnants from the development of the driver.
2024-08-25 07:14:19 +02:00
elagil
557cff7085
feat: Add support for a full-speed ULPI mode
2024-08-24 20:23:10 +02:00
elagil
87e97fb69d
feat: add function to check if SAI is muted
2024-08-24 20:16:00 +02:00
James Munns
545eb39819
Merge pull request #3279 from ionspin/fix-timer0-tick
...
Set up timer0 tick when initializing clocks
2024-08-24 10:21:29 +00:00
Ugljesa Jovanovic
8c1024b2a5
Set up timer0 tick when initializing clocks
2024-08-24 12:19:12 +02:00
dvdsk
5479647962
embassy-net: fix/clearify TcpReader docs. Expand docs on timeouts
2024-08-23 19:18:12 +02:00
dvdsk
acc26a076a
embassy-net/read document return value Ok(0)
2024-08-23 15:04:00 +02:00
Ulf Lilleengen
423e5d7655
Merge pull request #3275 from embassy-rs/use-bthci-release
...
use released bt-hci crate
2024-08-21 16:25:13 +00:00
Ulf Lilleengen
c9ad897d4a
Use released bt-hci crate
2024-08-21 18:14:15 +02:00
Ulf Lilleengen
86a45b47e5
add at command file
2024-08-21 12:44:07 +02:00
Ulf Lilleengen
bc67cc22aa
update driver channel dependency
2024-08-21 12:44:07 +02:00
Dario Nieuwenhuis
11652ff5c7
don't crash if tx buffers fill up.
2024-08-21 12:44:07 +02:00
Dario Nieuwenhuis
160e1c38ce
Add embassy-net-nrf91.
2024-08-21 12:44:07 +02:00
Dario Nieuwenhuis
aff66b9695
nrf: add try_write to BufferedUarte.
2024-08-21 12:44:07 +02:00
Dario Nieuwenhuis
1c466b81e6
Merge pull request #3233 from nautd/uart_half_duplex_fix
...
Convert uart half_duplex to use user configurable IO
2024-08-19 20:20:20 +00:00
Karun
bbc06035c1
make half duplex fn private
2024-08-19 12:15:39 -04:00
Karun
fcf9b3239e
remove duplication
2024-08-19 11:27:18 -04:00
Sjoerd Simons
1b0661ebb1
[UCPD] Add support for non-SOP packets
...
Allow capturing (and distinguishing) non-SOP packets as well. The
default configuration will just configure SOP packets. For ease of use
the default receive function signature is unchanged as for PD sinks
(which is likely the common usage) just SOP is enough so no need to
differentiate.
2024-08-18 21:19:16 +02:00
James Munns
d8459685fd
Update faq.adoc - "code doesn't work in release mode" ( #3267 )
...
Add debugging tips from chat
2024-08-18 10:58:07 +02:00
Dario Nieuwenhuis
e0da483ad5
Merge pull request #3270 from barafael/patch-1
...
Fix link to PriorityChannel
2024-08-18 08:46:56 +00:00
Dario Nieuwenhuis
ad72b40c21
Merge pull request #3268 from embassy-rs/update-metapac-32985
...
stm32: update metapac
2024-08-18 08:46:45 +00:00