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
Dickless
4f649caa81
cargo +nightly fmt
2024-07-05 03:29:25 +09:00
Dickless
49546abfec
rustfmt
2024-07-05 03:17:04 +09:00
Dickless
4ecdf31f9b
add SAI example
2024-07-05 02:33:30 +09:00
Andres Vahter
f851081e09
stm32 adc: introduce blocking_read
2024-07-03 15:20:31 +03:00
Ulf Lilleengen
914d7c7919
Merge pull request #3128 from andresv/stm32-adc-dma-v3
...
STM32 ADC v3 and V4 DMA support
2024-07-03 08:13:26 +00:00
Andres Vahter
09cfa28a21
stm32g0: add adc_dma example
2024-07-03 10:59:20 +03:00
Ulf Lilleengen
3e70601fc7
Merge pull request #3124 from Adancurusul/dev
...
Add adc oversampling support
2024-07-03 07:22:03 +00:00
Ulf Lilleengen
5223923bd2
Merge pull request #3111 from Eekle/feature/async_tsc
...
Add async API to TSC
2024-07-02 18:51:50 +00:00
Dario Nieuwenhuis
5137ebab56
Merge pull request #3132 from oro-os/wiznet-version-check
...
wiznet: add version check to initialization sequence
2024-07-02 16:58:00 +00:00
Alexandros Liarokapis
70061e74b2
add async dma read example
2024-07-02 17:07:18 +03:00
Dario Nieuwenhuis
6f21d5e478
Merge pull request #3116 from sethkrie/adc-v2-ringbuf
...
ring buffered adc v2
2024-07-02 01:05:49 +00:00
Dario Nieuwenhuis
f3fdeb26a4
Merge pull request #3127 from shufps/feat/dds-example
...
Feat/dds example
2024-07-01 23:50:35 +00:00
Dario Nieuwenhuis
00babd2ec4
Merge pull request #3126 from ninjasource/stm32-ltdc
...
Add support for the stm32 LTDC display peripheral
2024-07-01 23:18:15 +00:00
nerwalt
98263ac220
Merge branch 'main' into nrf9151
2024-07-01 10:03:24 -06:00
Josh Junon
c4b88b5781
wiznet: add version check to initialization sequence
2024-06-30 23:56:17 +02:00
Eekle
67f5b8d974
Update example
2024-06-30 11:06:32 +02:00
Krzysztof Królczyk
96cdf9c9e0
rp/i2c: add address flexibility and example
...
Previous i2c examples are using either blocking Embassy API
or e-h traits, this example uses Embassy pub API directly.
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2024-06-28 19:51:33 +02:00
David Haig
6edf7b4688
Applied formatting
2024-06-28 18:17:17 +01:00
David Haig
79f00e54cc
Moved ltdc example to its own crate
2024-06-28 18:11:34 +01:00
nerwalt
317e065517
Adding uart example to 9151-ns
...
Updated README
2024-06-28 08:59:22 -06:00
David Haig
1123e3fd41
Get dsi_bsp example to compile again
2024-06-28 15:12:17 +01:00
nerwalt
5e1a6a9753
Adding support for 9120
2024-06-28 07:11:50 -06:00
shufps
2462a22140
format
2024-06-28 14:52:21 +02:00
shufps
b2a0eb3cb4
added comment
2024-06-28 14:43:39 +02:00
shufps
ece6203a99
added DDS example
2024-06-28 14:42:19 +02:00
nerwalt
8a6b71b0bb
Adding initial support for nrf9151 s and ns
...
Adding s and ns examples, including a reference TFM
2024-06-27 14:07:26 -06:00
David Haig
0e84bd8a91
Add support for the stm32 ltdc display peripheral
2024-06-27 20:13:20 +01:00