Commit Graph

8919 Commits

Author SHA1 Message Date
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
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