Henrik Alsér
9ff5c50774
Cleanup examples
2022-09-01 15:12:44 +02:00
Henrik Alsér
99dd2a9386
Reorder args
2022-09-01 15:12:44 +02:00
Henrik Alsér
6d347af9fa
transfer_in_place
2022-09-01 15:12:43 +02:00
Henrik Alsér
c8ecc55710
Fix example
2022-09-01 15:12:43 +02:00
Henrik Alsér
44150c4830
impl embedded-hal-async
2022-09-01 15:12:43 +02:00
Henrik Alsér
07c64d902e
example
2022-09-01 15:12:43 +02:00
Dario Nieuwenhuis
464ae67108
net: feature-gate nightly-only async traits to allow building on stable.
2022-08-30 19:43:32 +02:00
Dario Nieuwenhuis
e4d4166da2
Merge pull request #927 from embassy-rs/rp-usb
...
rp: add usb device support.
2022-08-30 19:15:44 +02:00
Dario Nieuwenhuis
598689ef43
futures: move select* and join* to separate modules.
2022-08-29 01:00:22 +02:00
bors[bot]
24ab21a7dd
Merge #913
...
913: (embassy-rp): Add DMA implementation r=Dirbaio a=MathiasKoch
This PR adds everything necessary to do peripheral to memory DMA & memory to memory DMA operations.
It also adds async UART read & write, powered by DMA
Co-authored-by: Mathias <mk@blackbird.online>
2022-08-26 10:57:10 +00:00
Dario Nieuwenhuis
a730e2cd0f
rp: add usb device support.
2022-08-25 00:03:55 +02:00
Ulf Lilleengen
bd4ae2e952
Enable 'std' feature on critical-section for WASM
...
This fixes the WASM support which was failing due to missing
critical-section implementation. This also upgrades the bindgen
dependency and ensures that tooling works.
2022-08-23 20:00:34 +02:00
Mathias
36cf719a18
Merge branch 'master' of https://github.com/embassy-rs/embassy into embassy-rp/dma
2022-08-23 13:24:52 +02:00
Dario Nieuwenhuis
5677b13a86
sync: flatten module structure.
2022-08-22 22:18:13 +02:00
Dario Nieuwenhuis
21072bee48
split embassy-util
into embassy-futures
, embassy-sync
.
2022-08-22 22:18:13 +02:00
Dario Nieuwenhuis
478f472784
Remove Forever, switch to static_cell.
2022-08-22 16:11:40 +02:00
Quentin Smith
614b894ff8
Switch to crates.io version of systemview-target
2022-08-20 14:16:06 -04:00
Quentin Smith
0c7ad54793
Fetch systemview-target from upstream git
2022-08-19 11:58:45 -04:00
Mathias
a29972413b
Fix uart rp2040 blocking example
2022-08-19 08:48:52 +02:00
Quentin Smith
5ce18f4915
Fix package name for the new nrf-rtos-trace example
2022-08-19 00:54:53 -04:00
Quentin Smith
71e468681b
Merge branch 'master' of https://github.com/embassy-rs/embassy into rtos-trace
2022-08-19 00:53:41 -04:00
bors[bot]
aefa5275a2
Merge #910
...
910: (embassy-rp): Implement remaining logic for blocking UART r=lulf a=MathiasKoch
async read/write is still `todo!()`, awaiting DMA implementation.
Co-authored-by: Mathias <mk@blackbird.online>
2022-08-18 18:36:27 +00:00
Mathias
0f74f870b0
Fix rp uart example
2022-08-18 14:01:37 +02:00
Quentin Smith
2edf532f8d
Move rtos-trace example to a separate project to simplify Cargo.toml
2022-08-18 01:38:58 -04:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
Dario Nieuwenhuis
2e85eaf7d5
examples Remove the fn config()
idiom.
...
It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that
it's gone, it makes more sense to build the config in main directly.
2022-08-17 22:25:58 +02:00
Dario Nieuwenhuis
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
Dario Nieuwenhuis
67edea4168
Update to critical-section 1.0, atomic-polyfill 1.0
2022-08-17 19:01:56 +02:00
Quentin Smith
7dfe119fe0
Run cargo fmt
2022-08-16 01:47:18 -04:00
Quentin Smith
cd561b19ef
Allow rtos_trace example to be used without log
2022-08-16 01:20:07 -04:00
Quentin Smith
c1d8c8cf36
Add example of rtos-trace / SystemView
2022-08-16 01:17:28 -04:00
Artur Kowalski
865a91976c
Add UDP example app
2022-08-10 20:13:10 +02:00
bors[bot]
0e524247fa
Merge #896
...
896: Implement I2C pullup configuration r=lulf a=chemicstry
I wasn't sure if I should put frequency into config struct, so left it separate as in SPI periph.
Also added Copy derives to gpio types, not sure why they weren't?
Co-authored-by: chemicstry <chemicstry@gmail.com>
2022-08-10 10:08:27 +00:00
chemicstry
6498324b58
Implement I2C pullup configuration
2022-08-09 22:13:35 +03:00
Ulf Lilleengen
2e76b13a4c
Add example using embedded-nal-async traits
2022-08-09 14:44:18 +02:00
Ulf Lilleengen
80c1551153
Wrap buffers in a single state type
2022-08-09 14:43:55 +02:00
Ulf Lilleengen
18671b94ba
Implement embedded-nal-async traits for embassy-net
2022-08-08 16:51:34 +02:00
chemicstry
8a25906eff
Add DACv1 example for F4
2022-08-04 03:31:59 +03:00
chemicstry
d990740dd5
Restore F1 example chip
2022-08-04 03:07:42 +03:00
chemicstry
5f01e56728
Merge v1, v2 DAC and update register definitions
2022-08-04 03:02:57 +03:00
Dario Nieuwenhuis
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
chemicstry
046778fc53
Improve ADC configuration options
2022-07-27 01:17:26 +03:00
Dario Nieuwenhuis
b5ff7c5d60
rename PwmPin::new_chX, update examples.
2022-07-23 16:16:29 +02:00
Dario Nieuwenhuis
4901c34d9c
Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral
2022-07-23 14:00:19 +02:00
Dario Nieuwenhuis
8a9d2f59af
Update embassy-stm32
2022-07-23 02:40:13 +02:00
bors[bot]
4dc800710d
Merge #853
...
853: Add embedded_hal_async support for embassy-rp r=Dirbaio a=danbev
This commit adds support for embedded-hal-async to the Embassy
Raspberry PI crate.
Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
2022-07-16 16:11:37 +00:00
chemicstry
0b70cc554e
Fix unused imports
2022-07-14 21:45:44 +03:00
chemicstry
5a265661bb
Fix erasing across banks
2022-07-14 20:58:01 +03:00
chemicstry
039acda3a8
Fix writing to last sector of F4 flash
2022-07-14 19:41:39 +03:00
Daniel Bevenius
8979959dd1
Add embedded_hal_async support for embassy-rp
...
This commit adds support for embedded-hal-async to the Embassy
Raspberry PI crate.
2022-07-14 13:52:22 +02:00