Henrik Alsér
3d68c0400b
Merge branch 'master' into multicore
2022-12-13 13:51:48 +01:00
kalkyl
13d9d8fde1
Refactor after review
2022-12-13 13:49:51 +01:00
bors[bot]
36639e5262
Merge #1043 #1103
...
1043: Rpi Pico PIO driver r=Dirbaio a=fluffware
This is a driver for the two PIOs in the Pico. I've tried using the type system to get as much compile time checks as possible. There is asynchronous support for FIFOs an Irqs. No DMA support yet. There's an example that shows how to use the driver asynchronously.
1103: embassy-stm32: add rs485 driver enable to uart r=Dirbaio a=FrozenDroid
Co-authored-by: Simon Berg <ksb@fluffware.se>
Co-authored-by: Vincent Stakenburg <v.stakenburg@sinewave.nl>
2022-12-13 11:47:27 +00:00
kalkyl
96d6c7243b
Cleanup
2022-12-10 13:43:29 +01:00
kalkyl
d8821cfd41
Feature gate critical-section-impl
2022-12-10 12:57:45 +01:00
kalkyl
34eaade14f
fmt
2022-12-10 08:33:09 +01:00
kalkyl
1ee58492fb
embassy-rp: Add multicore support
2022-12-10 08:26:35 +01:00
Dario Nieuwenhuis
5d4f09156a
nrf: add manually_create_executor example.
2022-12-09 23:33:53 +01:00
Simon Berg
cd59046e6c
Added RelocateProgram class for adjusting PIO-programs for different origins.
2022-12-09 20:18:41 +01:00
Simon Berg
35db6e639b
PIO support for RPi Pico
2022-12-09 20:18:41 +01:00
bors[bot]
58ab829049
Merge #1049
...
1049: embassy-nrf: Add I2S module r=lulf a=chris-zen
This PR adds I2S support for the nrf52 series (`nrf52832`, `nrf52833`, `nrf52840`).
We could only test it in a `nrf52840` in master mode for an output stream (see `i2s_waveform` example), using a clone of the [Adafruit I2S Stereo Decoder - UDA1334A](https://learn.adafruit.com/adafruit-i2s-stereo-decoder-uda1334a/overview ).
We were wondering if this could be a welcome addition to embassy, as we are working on this very informally and don't have much free time for it.
<img src="https://user-images.githubusercontent.com/932644/202316127-a8cf90ef-1e1a-4e1d-b796-961b8ad6cef5.png " width="600">
https://user-images.githubusercontent.com/932644/202316609-e53cd912-e463-4e01-839e-0bbdf37020da.mp4
Co-authored-by: `@brainstorm` <brainstorm@nopcode.org>
Co-authored-by: Christian Perez Llamas <932644+chris-zen@users.noreply.github.com>
Co-authored-by: Roman Valls Guimera <brainstorm@users.noreply.github.com>
2022-12-09 07:49:40 +00:00
Christian Perez Llamas
5fdd521a76
Move the responsibility to manage buffers to the I2S stream
2022-12-08 20:22:50 +01:00
bors[bot]
5e94b8060b
Merge #1089
...
1089: feat: embassy-boot for rp2040 r=Dirbaio a=lulf
Add embassy-boot support for RP2040, with examples for the Raspberry Pi Pico.
Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
2022-12-04 19:58:57 +00:00
Ulf Lilleengen
bb89a2341c
feat: embassy-boot for rp2040
...
Add embassy-boot support for RP2040, with examples for the Raspberry Pi
Pico.
Co-authored-by: Mathias Koch <mk@blackbird.online>
2022-12-02 11:28:33 +01:00
bors[bot]
f109e73c6d
Merge #1074
...
1074: Added blinky example for stm32f0 r=lulf a=imrank03
Hi, I have added **blinky** example for `stm32f0` and tested with Nucleo board `STM32F091RC`.
- Can I add more example for stm32f0?
Co-authored-by: @imrank03 <immu0396@gmail.com>
2022-12-02 08:10:12 +00:00
Dario Nieuwenhuis
1dcb0ea1f5
Bump defmt-rtt to 0.4
2022-11-29 21:15:24 +01:00
Dario Nieuwenhuis
3135ad016d
Bump embedded-nal-async to 0.3.0
2022-11-29 12:05:46 +01:00
Christian Perez Llamas
199504be56
Optimization to be able to work with only 2 buffers
2022-11-29 01:09:47 +01:00
Dario Nieuwenhuis
1e2fb0459d
Switch to async-fn-in-trait
2022-11-25 21:02:06 +01:00
@imrank03
5aad2129ef
added the runner for stm32f091rc
2022-11-23 17:51:43 +05:30
@imrank03
28991d7794
added blinky example for stm32f0
2022-11-23 17:30:58 +05:30
bors[bot]
83b199a874
Merge #1056
...
1056: embassy-nrf: Add TWIS module r=Dirbaio a=kalkyl
Verified to be working on nrf9160
Co-authored-by: kalkyl <henrik.alser@me.com>
Co-authored-by: Henrik Alsér <henrik.alser@me.com>
2022-11-22 21:50:42 +00:00
Henrik Alsér
cf900a8a3f
Rename write to respond_to_read
2022-11-22 22:10:04 +01:00
bors[bot]
97cb95bbf4
Merge #1042
...
1042: embassy-nrf: Add SPIS module r=Dirbaio a=kalkyl
Verified to be working on nrf9160
Co-authored-by: Henrik Alsér <henrik.alser@me.com>
Co-authored-by: Henrik Alsér <henrik.alser@ucsmindbite.se>
Co-authored-by: kalkyl <henrik.alser@me.com>
2022-11-22 11:20:14 +00:00
bors[bot]
f13639e78c
Merge #1059
...
1059: embassy-rp: Add basic ADC module r=kalkyl a=kalkyl
Oneshot ADC
Co-authored-by: Henrik Alsér <henrik.alser@me.com>
2022-11-22 01:06:25 +00:00
Christian Perez Llamas
15a93246d6
Buffer management in line with other peripherals. Constructor and config redesign
2022-11-19 19:18:20 +01:00
Christian Perez Llamas
16838f8a66
Fix format
2022-11-19 00:32:09 +01:00
Christian Perez Llamas
6b88057aef
Add missing parts and Cleanup
2022-11-19 00:29:05 +01:00
Ulf Lilleengen
a444a65ebf
feat: embassy-usb-logger and example for rpi pico
...
* Add embassy-usb-logger which allows logging over USB for any device
implementing embassy-usb
* Add example using logger for rpi pico.
2022-11-18 11:22:58 +01:00
Christian Perez Llamas
1ed260b105
Fix buffer overruns
2022-11-17 00:19:22 +01:00
Henrik Alsér
eb149a0bd4
embassy-rp: Add basic ADC module
2022-11-15 16:12:07 +01:00
kalkyl
43c1afb6a6
Return number of bytes written, add address match getter
2022-11-14 11:22:14 +01:00
kalkyl
eba42cb5f4
embassy-nrf: Add TWIS module
2022-11-13 22:15:19 +01:00
Christian Perez Llamas
4fe834db2f
Mono channels
2022-11-13 02:48:07 +01:00
Christian Perez Llamas
17857bc18f
Minor changes
2022-11-13 02:12:58 +01:00
Henrik Alsér
dca11095e2
Disable UARTE in embassy-nrf::init
2022-11-13 01:49:55 +01:00
Christian Perez Llamas
d2e8794f29
Investigating discontinuities in the signal
2022-11-13 01:41:32 +01:00
Christian Perez Llamas
122a31d208
Interrupts, async, sine oscillator
2022-11-12 18:48:57 +01:00
Christian Perez Llamas
4a2e810485
Restrict to pacs supporting i2s
2022-11-10 23:13:01 +01:00
Matous Hybl
cbc97758e3
stm32: Fix watchdog division by zero for 256 prescaler, add watchdog example for H7
2022-11-10 15:56:28 +01:00
Christian Perez Llamas
5a64bf651c
Buffer trait. Simpler config.
2022-11-10 00:10:42 +01:00
Christian Perez Llamas
356beabc3b
Apply config
2022-11-09 23:08:09 +01:00
Roman Valls Guimera
3760b60db3
Make bors grin ;)
2022-11-09 22:31:19 +01:00
Christian Perez Llamas
cecd77938c
Draft: Initial support for I2S with a working example.
...
Co-authored-by: @brainstorm <brainstorm@nopcode.org>
2022-11-09 19:19:01 +01:00
Henrik Alsér
af34fc4ccc
rustfmt
2022-11-05 01:40:20 +01:00
Henrik Alsér
7da18e194a
Add status checks
2022-11-05 01:12:25 +01:00
Henrik Alsér
1920e90dcd
embassy-nrf: Add SPIS module
2022-11-05 00:15:43 +01:00
miathedev
fc086fd4ba
Add uart async example
2022-11-01 10:38:02 +01:00
Mathias
c871fe0848
Rebase on master
2022-10-27 07:12:34 +02:00
Mathias
3c6c382465
Remove random delay from example, and move flash functions to allow using without embedded-storage in scope
2022-10-27 07:10:35 +02:00