Commit Graph

1909 Commits

Author SHA1 Message Date
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
Grant Miller
b8beaba6df last oops I promise 2024-09-06 15:08:58 -05:00
Grant Miller
1a8977db78 Update examples 2024-09-06 13:53:49 -05: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
Dario Nieuwenhuis
59cb1531c9 examples: ensure at least 3 sockets to avoid running out (DHCP, DNS, the user's) 2024-08-07 14:58:20 +02:00
Niels Becker
207048ff38
Rename package for embassy-stm32h755cm7-example 2024-08-06 20:10:46 +02:00
Niels Becker
3f045ede48
Rename package for embassy-stm32h755cm4-example 2024-08-06 20:08:26 +02:00
Dario Nieuwenhuis
4f7ac1946a cyw43: add Bluetooth support.
Co-Authored-By: Brandon Ros <brandonros1@gmail.com>
2024-08-05 21:07:42 +02:00
Ulf Lilleengen
059c7b582c
Merge pull request #3158 from diondokter/stm-dualcore
Stm dualcore better init
2024-08-05 13:18:45 +00:00
Dion Dokter
e322732fdb Add H7 dual core to common and run fmt 2024-08-05 15:13:11 +02:00
Dion Dokter
3cd2081450 Fix tests 2024-08-05 15:07:51 +02:00
Dion Dokter
5884576b88 Updated WL examples to use new API 2024-08-05 14:43:57 +02:00
9names
dc77601e9f Update rp examples to cyw43 0.2 and cyw43-pio 0.2 2024-08-05 22:18:04 +10:00
Dion Dokter
9b8848936f Update new examples to new releases 2024-08-05 14:16:11 +02:00
Dion Dokter
90427ee231 Fix WL boot example 2024-08-05 12:12:55 +02:00
Dion Dokter
ab4d378dda Merge branch 'master' into stm-dualcore 2024-08-05 11:21:21 +02:00
Dion Dokter
2a7fe16ceb Improve shared data placement, require less atomic support and use unsafecell for the clocks 2024-08-05 11:18:16 +02:00
Ulf Lilleengen
187093e147 Prepare to release embassy-boot-rp 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
f605302791 Prepare to release embassy-rp 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
ec9a07d143 Prepare to release embassy-boot-nrf 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
1588fbc256 Prepare to release embassy-boot 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
37d7b0cd06 prepare release embassy-executor 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
61bda59d83 Prepare to release embassy-usb 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
2f3b3335e1 Prepare for embassy-nrf release 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
44282b18fa Prepare embassy-time release 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
5767c003cc Prepare release of embassy-embedded-hal 0.2.0 2024-08-05 08:56:29 +02:00
Rob Pilling
ec53b9187d Fix bootloader-rp's bootloader memory region overflow
The bootloader region (`FLASH`) mentioned below overflows into the
`BOOTLOADER_STATE` region by `0x100` bytes

```
0x10000100 + 24K = 0x10006100
```

32adddff9c/examples/boot/bootloader/rp/memory.x (L3-L8)
2024-07-31 18:16:04 +01:00
rafael
e05e5d33f0 review comments 2024-07-28 00:19:54 +02:00
rafael
5d46b694ca add example to rp: orchestrate multiple tasks 2024-07-27 14:57:46 +02:00
rafael
97125e53cd add example to rp: orchestrate multiple tasks 2024-07-27 14:54:02 +02:00
rafael
b2d8d7f009 add example to rp: orchestrate multiple tasks 2024-07-27 14:48:42 +02:00
James Munns
2766993099
Merge pull request #3159 from kalkyl/shared-bus
Add example for shared I2C and SPI buses
2024-07-18 15:11:54 +00:00
Dario Nieuwenhuis
5e625f274a
Merge pull request #3185 from MathiasKoch/embassy-rp/uart-split-ref
(embassy-rp): Add split_ref fn to uart, allowing a mutable reference split into RX & TX handles
2024-07-18 12:10:37 +00:00
Dario Nieuwenhuis
024097d833
Merge pull request #3163 from michelrandahl/f303-tsc-example
add TSC examples
2024-07-18 12:10:02 +00:00
Dario Nieuwenhuis
c83d940005
Merge pull request #3171 from nerwalt/nrf9151
nrf9151 support
2024-07-18 12:07:15 +00:00
Mathias
d1207706c0 Fix example after swapping bufferedUart rx and tx in split fn 2024-07-17 12:07:58 +02:00
JuliDi
d78ce3c6ab
bump more udbd-hid usages to 0.8.1 2024-07-16 12:38:16 +02:00
JuliDi
2571e0416f
bump usbd-hid from 0.7.0 to 0.8.1 2024-07-16 12:26:51 +02:00
nerwalt
0dd0e593c2 cargo fmt examples 2024-07-15 13:35:21 -06:00
nerwalt
38d8abef26 Merge branch 'main' into nrf9151 2024-07-11 06:58:05 -06:00
Chen Yuheng
f01ffbcc12 Add oversampling and differential for g4 2024-07-11 10:33:43 +08:00
michel
10a1a27cc3 add async TSC example for STM32L073 2024-07-10 20:59:18 +02:00
michel
52f40b9c9d add blocking TSC examples 2024-07-10 13:26:18 +02:00
Dion Dokter
f6f312270f fmt 2024-07-09 09:37:49 +02:00
kalkyl
af9c7379f9 Add link to example in book 2024-07-08 22:53:50 +02:00
rafael
52c43f0249 rustfmt 2024-07-08 22:26:32 +02:00
rafael
91e6aa3166 rustfmt 2024-07-08 22:20:23 +02:00
rafael
376f65e1d3 add assign_resources example 2024-07-08 22:07:38 +02:00
kalkyl
03f3a3389d Add example for shared I2C and SPI buses 2024-07-08 21:48:19 +02:00
kalkyl
028ca55f9c Add more docs and cross-links 2024-07-08 17:16:35 +02:00
Dion Dokter
203297b569 Make clocks repr C.
Add shared data.
Modify freq functions to use shared data.
Modify examples to use new init/
2024-07-08 16:54:06 +02:00
kalkyl
87f6634349 Add example for sharing things between tasks 2024-07-08 13:58:36 +02:00
Dion Dokter
b1ea90a87e Add H755 examples 2024-07-08 13:32:23 +02:00
Dickless
3408e1ddbf Fixed to reserve as much space as it uses. 2024-07-07 04:39:39 +09:00
Dickless
b90eef293b [#2905 #2904] Replaced static raw array with GroundedArrayCell 2024-07-06 17:36:22 +09:00