kalkyl
e090ab1915
Remove lifetime, use pac fields
2022-12-24 03:22:51 +01:00
kalkyl
eaad0cc1dc
embassy-rp: Add Watchdog
2022-12-24 02:51:06 +01:00
kalkyl
787745188c
Change log level to debug
2022-12-23 23:14:58 +01:00
kalkyl
aa92ce6dc7
embassy-rp: Add split() to BufferedUart
2022-12-22 23:03:05 +01:00
@imrank03
55d9af71e3
enabled interrupt feature
2022-12-21 11:56:30 +05:30
@imrank03
395b5fed64
added watchdog example
2022-12-21 11:55:09 +05:30
@imrank03
0db3837dcc
added priority based example
2022-12-21 11:54:36 +05:30
@imrank03
c0f3610581
added interrupt example
2022-12-21 11:53:55 +05:30
@imrank03
63122f6d7e
button controlled example
2022-12-21 11:52:40 +05:30
Aaron Tsui
5ae91ed3b6
cargo fmt
2022-12-20 14:59:49 +08:00
Aaron Tsui
849a0e174f
add convert_to_celsius function in the adc module
...
modify RP2040 adc example to get inside biased bipolar diode voltage,
then convert this temperature sensor data into Celsius degree,
according to chapter 4.9.5. Temperature Sensor in RP2040 datasheet.
2022-12-20 09:12:01 +08:00
Dario Nieuwenhuis
790e4e1594
examples/std: update to new embassy-net trait.
2022-12-13 16:43:25 +01:00
Dario Nieuwenhuis
5eae295c8a
stm32: rename feature net
to embassy-net
.
...
The eth code is always built and available, but has no own API (other
than the embassy-net Device impl) to rx/tx packets. We could add this
API in the future, so the feature only means "embassy-net support".
2022-12-13 16:43:25 +01:00
Dario Nieuwenhuis
3005ee0178
stm32/eth_v2: update to new embassy-net trait, remove PeripheralMutex.
2022-12-13 16:43:25 +01:00
Dario Nieuwenhuis
8f30652109
stm32/eth_v1: update to new embassy-net trait, remove PeripheralMutex.
2022-12-13 16:43:25 +01:00
Dario Nieuwenhuis
e9219405ca
usb/cdc-ncm: add embassy-net Device implementation.
2022-12-13 16:43:25 +01:00
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