Commit Graph

1860 Commits

Author SHA1 Message Date
Caleb Jamison
57c1fbf308 Move pio programs into embassy-rp 2024-10-09 10:18:00 -04:00
Ulf Lilleengen
a74bae3de1
Merge pull request #3343 from george-cosma/hal-with-pac
LPC: embassy-lpc55 hal base with gpio and pint driver
2024-10-07 08:14:32 +00:00
George Cosma
e7e245eeb7 feat: embassy-lpc55 hal with gpio and pint driver 2024-10-07 09:34:10 +03:00
Paul Fornage
ce701c3e8e Fixed overflow on pio_stepper.rs 2024-10-02 13:35:59 -07:00
Caleb Jamison
bc0180800d
Remove binary_info blocks from most examples. (#3385) 2024-10-01 16:51:18 +02:00
Ulf Lilleengen
f19718b4f0 Add config option for setting SIM pin 2024-09-26 15:48:10 +02:00
Romain Reignier
6e2c5d0b45 rp23: add missing binary info in linker script
See https://github.com/rp-rs/rp-hal/issues/853

And https://github.com/rp-rs/rp-hal/pull/854
2024-09-26 13:24:50 +02:00
Kevin
6d9af8304c Add USBPHYC clock configuration for H7RS series 2024-09-22 00:23:07 +02:00
Kevin
2f60d78ea3 Add OTG_HS support for STM32H7R/S 2024-09-22 00:23:07 +02:00
Gerhard de Clercq
5ea934d4ba embassy_stm32/eth: support compliance testing
This change adds the possibility to perform compliance testing with
STM32 systems by directly exposing SMI when needed. Users can
then use this to configure PHY registers for test modes.
2024-09-20 09:57:31 +02:00
Ulf Lilleengen
4e1efd93fd Fix defmt support for example boot app 2024-09-19 09:22:47 +02:00
Ulf Lilleengen
df23a77bfc Add led to example to demonstrate revert state detection 2024-09-19 09:16:19 +02:00
Dario Nieuwenhuis
d12e98aaf4
Merge pull request #3338 from ionspin/add-rp2350-trng-support
RP2350 TRNG support
2024-09-17 22:17:23 +00:00
Ugljesa Jovanovic
2bc49763c6
TRNG support for 235x 2024-09-17 21:26:59 +02:00
kalkyl
0bfc98a3e5 rp: Add PIO example for one-wire temperature sensor 2024-09-17 19:41:58 +02:00
Dario Nieuwenhuis
be0d9775e3 net: refactor to simplify lifetimes/generics. 2024-09-16 21:17:11 +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
2286e5da13
Merge pull request #3105 from embassy-rs/net-nrf91
embassy-net driver for nrf91
2024-09-09 20:03:28 +00:00
Dario Nieuwenhuis
b9a1aaea5b cyw43: add support for WPA3 and more extensive security options. 2024-09-09 02:13:25 +02:00
Ulf Lilleengen
1b1db2401b Use byte slice for config 2024-09-06 11:22:07 +02: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
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
Ulf Lilleengen
ccfa6264b0 Add closing if raw socket to handle re-attach 2024-09-04 19:31:55 +02:00
Ulf Lilleengen
372e45dabc Add context run task 2024-09-04 18:47:26 +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
a6db8678eb Add utility for setting configuration for a context 2024-09-04 11:04:36 +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
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
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
Pedro Ferreira
9347571fea
rp: add example code to flash bluetooth fw (#3290) 2024-08-26 20:28:30 +02: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
Ulf Lilleengen
c9ad897d4a Use released bt-hci crate 2024-08-21 18:14:15 +02:00
Dario Nieuwenhuis
160e1c38ce Add embassy-net-nrf91. 2024-08-21 12:44:07 +02: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
Dario Nieuwenhuis
eab3a57263 rp: use the rp-binary-info crate for binary info. 2024-08-17 22:12:39 +02:00
Alexandros Liarokapis
2b7e76efe9 Fix dma nvic issues on dual core lines
This commit addresses #3256 by disabling dma NVIC interrupt enablement at startup.
Instead, per-channel NVIC interrupt enablement is now done with the rest of the dma channel configuration.
This ensures that each core will only handle the interrupts of the DMA channels that it uses.
2024-08-17 16:54:41 +03:00
Dario Nieuwenhuis
c0d74e153e
Merge pull request #3216 from 1-rafael-1/rp-example-orchestrate-tasks
add example to rp: orchestrate multiple tasks
2024-08-13 16:34:46 +00:00
Dario Nieuwenhuis
66a5a33da9
Merge pull request #3243 from HellbenderInc/rp2350
Initial rp235x support
2024-08-12 11:22:19 +00:00
Dario Nieuwenhuis
9dc4375f18 rp: update PAC, fix CI. 2024-08-12 03:25:41 -04:00
Caleb Jamison
e5d8d8b18e Switch to single pac 2024-08-09 12:31:29 -04:00
Caleb Jamison
6f03c40516 cargo fmt 2024-08-08 21:54:21 -04:00
Caleb Jamison
b185e02a42 Initial rp235x support
Examples have been run, but there is not yet a test suite.
2024-08-08 21:35:21 -04:00
Dario Nieuwenhuis
ad4df1c1ad cyw43: make sure to yield if doing busy-polling for interrupts. 2024-08-09 01:07:52 +02:00
Dario Nieuwenhuis
891c5ee105
Merge pull request #3232 from embassy-rs/misc-fixes-44
Misc fixes.
2024-08-07 13:01:33 +00:00