Derek Hageman
7ed9e29326
rp: add async flash
...
Implement an async flash mode using the XIP background best effort
read interface. Only reads are actually async, write and erase remain
blocking.
2023-07-28 16:50:54 -06:00
Dario Nieuwenhuis
cc414e63d3
Merge pull request #1709 from brandonros/cyw43-firmware-sync
...
sync latest cyw43-firmware
2023-07-28 21:59:53 +00:00
Dario Nieuwenhuis
fd47445d75
cyw43: Update firmware in HIL test.
2023-07-28 23:58:47 +02:00
Dario Nieuwenhuis
d39404cdda
fix flaky test wifi_esp_hosted_perf
2023-07-28 23:49:37 +02:00
pennae
cbc8871a0b
rp: relocate programs implicitly during load
...
this removed the RelocatedProgram construction step from pio uses.
there's not all that much to be said for the extra step because the
origin can be set on the input program itself, and the remaining
information exposed by RelocatedProgram can be exposed from
LoadedProgram instead (even though it's already available on the pio_asm
programs, albeit perhaps less convenient). we do lose access to the
relocated instruction iterator, but we also cannot think of anything
this iterator would actually be useful for outside of program loading.
2023-07-28 19:33:02 +02:00
JuliDi
93864610ce
Add DAC HIL test with ADC
2023-07-27 19:04:43 +02:00
chemicstry
62ab0bf2e7
stm32/can: implement proper RX timestamps
2023-07-25 12:12:45 +03:00
xoviat
270d1d59a0
stm32/rcc: use wpan default only for wpan
2023-07-24 18:25:15 -05:00
xoviat
809d3476aa
wpan: further optimize mac event
2023-07-20 16:45:04 -05:00
xoviat
28254842db
- optimize event to parse opcode only once
...
- optimze channels
- return mut ref for smoltcp rx
2023-07-19 17:49:08 -05:00
xoviat
28b419d65e
wpan/mac: use lifetimes to control events
2023-07-16 15:09:30 -05:00
xoviat
e95a7dc555
wpan/mac: use slice view to avoid copy
2023-07-16 12:41:57 -05:00
xoviat
4db4200c37
wpan: factor mac logic into other mod
2023-07-15 14:47:34 -05:00
xoviat
1f63fdbb15
stm32/tests: fix cargo
2023-07-15 14:31:35 -05:00
xoviat
d11a94e2a7
wpan: add mac test
2023-07-15 14:28:42 -05:00
GhaithOueslati
0628dd997f
fix test
2023-07-15 13:52:04 +01:00
Dario Nieuwenhuis
91c1d17f16
rp/gpio: fix is_set_high/is_set_low, expand tests.
2023-07-11 12:40:07 +02:00
Dario Nieuwenhuis
b0da6318f3
Merge pull request #1623 from pennae/rp-adc
...
rp/adc: rewrite the module
2023-07-07 15:52:48 +00:00
pennae
972cdd4265
rp/adc: rewrite the module
...
- don't require an irq binding for blocking-only adc
- abstract adc pins into an AnyPin like interface, erasing the actual
peripheral type at runtime.
- add pull-up/pull-down functions for adc pins
- add a test (mostly a copy of the example, to be honest)
- configure adc pads according to datasheet
- report conversion errors (although they seem exceedingly rare?)
- drop embedded-hal interfaces. embedded-hal channels can do neither
AnyPin nor pullup/pulldown without encoding both into the type
2023-07-07 17:46:35 +02:00
pennae
4b63829110
rp/pio: use bind_interrupts for irqs
...
closes #1338
2023-07-07 16:27:10 +02:00
Dario Nieuwenhuis
c421b7f5f0
Merge pull request #1624 from embassy-rs/release-embassy-time-v0.1.2
...
Release embassy-time v0.1.2
2023-07-05 23:34:04 +00:00
Dario Nieuwenhuis
d137286981
Release embassy-time v0.1.2
2023-07-06 01:29:44 +02:00
xoviat
864202a23a
Merge pull request #1578 from schphil/can-split
...
stm32 can split method
2023-07-05 23:27:53 +00:00
Dario Nieuwenhuis
a101d9078d
update embedded-hal crates.
2023-07-04 19:59:36 +02:00
Philipp Scheff
a088c4bee6
fix stm32 can test
2023-07-04 00:39:10 +02:00
Philipp Scheff
8359d8c020
make stm32 can test work
2023-07-04 00:34:24 +02:00
Dario Nieuwenhuis
f7ec579c18
Update probe-rs-cli -> probe-rs
2023-06-29 02:39:28 +02:00
xoviat
d43417e97c
stm32/wpan: implement mm pattern
2023-06-23 19:59:48 -05:00
xoviat
29f32ce00e
stm32/wpan: reorg subsystems
2023-06-23 17:54:06 -05:00
xoviat
6f17286c75
Merge pull request #1576 from OueslatiGhaith/hci_v2
...
wpan: add BLE HCI
2023-06-23 02:09:52 +00:00
xoviat
caf63b9e73
stm32/tests: update ble test
2023-06-22 21:05:51 -05:00
Dario Nieuwenhuis
8bbfa6827c
esp-hosted: add perf hil test.
2023-06-22 21:12:24 +02:00
goueslati
810c6af77a
fix build
2023-06-22 15:31:45 +01:00
xoviat
1f2be2dac5
Merge pull request #1569 from xoviat/tl-mbox-2
...
wpan: misc. cleanup and add mac
2023-06-21 21:50:12 +00:00
Dario Nieuwenhuis
2e625138ff
Merge pull request #1501 from xoviat/can
...
async can
2023-06-20 22:57:31 +00:00
xoviat
0d67ef795e
Merge branch 'main' of https://github.com/embassy-rs/embassy into tl-mbox-2
2023-06-19 21:18:46 -05:00
xoviat
5a075acc6a
stm32/tests: fix can
2023-06-19 16:11:01 -05:00
xoviat
aaad906815
Merge branch 'main' of https://github.com/embassy-rs/embassy into can
2023-06-19 15:52:33 -05:00
Dario Nieuwenhuis
990dd5e5db
tests/stm32: do multiple transfers to catch more bugs.
2023-06-19 22:38:27 +02:00
Dario Nieuwenhuis
558918651e
stm32: update stm32-metapac.
2023-06-19 03:22:12 +02:00
xoviat
39334f7280
stm32/wpan: add ble, mac features and cleanup
2023-06-18 09:43:07 -05:00
xoviat
7177e7ea1a
stm32/wpan: cleanup and expand shci
2023-06-18 08:37:26 -05:00
xoviat
ae83e6f536
Merge pull request #1566 from xoviat/tl-mbox-2
...
tl-mbox: switch to new ipcc mechanism
2023-06-17 20:48:37 +00:00
xoviat
443550b353
stm32/wpan: use new ownership model
2023-06-17 15:37:34 -05:00
xoviat
c7b0df569b
stm32/wpan: modify evtbox to use slice view
2023-06-17 14:38:36 -05:00
xoviat
6b5d55eb29
stm32/wpan: convert to new ipcc
2023-06-17 12:00:33 -05:00
xoviat
e1161dfc80
stm32/wpan: improve linked list ergonomics
2023-06-16 20:15:03 -05:00
xoviat
af451b5462
stm32/wpan: move schi command into sys
2023-06-15 21:02:10 -05:00
Dario Nieuwenhuis
837ebe405f
rp: update rp-pac.
2023-06-16 01:41:07 +02:00
xoviat
29513074ee
rustfmt
2023-06-13 17:16:12 -05:00
xoviat
6c13f381c4
stm32/wpan: get --release working
2023-06-13 17:12:34 -05:00
xoviat
3c98587a88
tests/ble: disable test for now
...
does not work in --release
2023-06-12 21:23:42 -05:00
goueslati
802416d267
fix CI for tests
2023-06-12 15:04:52 +01:00
goueslati
553c934325
fix CI for tests
2023-06-12 14:54:17 +01:00
goueslati
a1b27783a6
fix build
2023-06-12 14:44:30 +01:00
Dario Nieuwenhuis
98c821ac39
Remove embassy-cortex-m crate, move stuff to embassy-hal-common.
2023-06-09 16:44:20 +02:00
Dario Nieuwenhuis
3dde01597a
tests/rp: make cyw43-perf less strict.
2023-06-08 21:12:34 +02:00
Dario Nieuwenhuis
4716166041
tests/rp: update cyw43-perf for embassy-net changes.
2023-06-08 20:51:36 +02:00
Dario Nieuwenhuis
6701606e4c
cyw43: add perf HIL test.
2023-06-06 02:50:57 +02:00
Dario Nieuwenhuis
593fc78dd8
tests/rp: enable run-from-ram.
...
Otherwise the flash test is flaky because it attempts to use boot2.
2023-06-06 00:07:03 +02:00
xoviat
35083b262b
Merge branch 'main' into can
2023-05-30 21:15:26 -05:00
xoviat
16bfbd4e99
stm32/can: add hw test and cleanup
2023-05-30 21:14:25 -05:00
Dario Nieuwenhuis
020e956f1b
ci: run HIL tests in parallel.
2023-05-30 01:10:53 +02:00
bors[bot]
bab03a3927
Merge #1489 #1500
...
1489: stm32/ipcc: make IPCC methods static r=xoviat a=OueslatiGhaith
1500: stm32/tests: disable sdmmc test for now r=xoviat a=xoviat
Co-authored-by: goueslati <ghaith.oueslati@habemus.com>
Co-authored-by: Ghaith Oueslati <73850124+OueslatiGhaith@users.noreply.github.com>
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-29 14:42:51 +00:00
xoviat
bd6a1d38d2
stm32/tests: disable sdmmc test for now
2023-05-29 09:16:50 -05:00
xoviat
5d7301e510
tests/stm32: revert cfg changes
2023-05-27 15:08:30 -05:00
xoviat
09d52638b5
stm32/ipcc: refactor examples and tests
2023-05-27 15:05:50 -05:00
xoviat
c19967dcf2
stm32/ipcc: extract tl_mbox linker file to embassy-stm32
2023-05-27 15:03:25 -05:00
goueslati
984cd47b41
stm32/ipcc: update test
2023-05-26 10:03:01 +01:00
xoviat
316be179af
stm32: move to bind_interrupts
...
disable lora functionality for now
2023-05-24 17:29:56 -05:00
bors[bot]
1fdde8f03f
Merge #1457
...
1457: TL Mbox read and write for stm32wb r=xoviat a=OueslatiGhaith
Hello,
This pull request is related to #1397 and #1401 , inspired by #24 , built upon the work done in #1405 and #1424 , and was tested on an stm32wb55rg.
This pull request aims to add read and write functionality to the TL mailbox for stm32wb microcontrollers
Co-authored-by: goueslati <ghaith.oueslati@habemus.com>
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-23 01:15:22 +00:00
xoviat
64092169e3
stm32/ipcc: disable test
2023-05-22 20:14:37 -05:00
xoviat
d1dfaa1905
stm32/ipcc: fix hil test
2023-05-21 20:18:26 -05:00
xoviat
1f65a4eb6f
stm32/ipcc: enable test
2023-05-21 18:40:29 -05:00
goueslati
d736c9205c
updated test case
2023-05-19 15:40:09 +01:00
kalkyl
b950d6d72b
Add HIL test
2023-05-16 11:28:35 +02:00
bors[bot]
1a87f7477a
Merge #1458
...
1458: rp: remove take!, add bind_interrupts! r=Dirbaio a=pennae
both of the uart interrupts now check a flag that only the dma rx path ever sets (and now unsets again on drop) to return early if it's not as they expect. this is ... not our preferred solution, but if bind_interrupts *must* allow mutiple handlers to be specified then this is the only way we can think of that doesn't break uarts.
Co-authored-by: pennae <github@quasiparticle.net>
2023-05-15 15:59:30 +00:00
pennae
14a5d03af2
rp: remove take!, add bind_interrupts!
2023-05-15 15:24:56 +02:00
Timo Kröger
3e9d5978c0
stm32 uart: Add a test for blocking RX overflow
2023-05-14 22:03:06 +02:00
bors[bot]
7f96359804
Merge #1424
...
1424: add TL maibox for stm32wb r=xoviat a=OueslatiGhaith
Hello,
This pull request is related to #1397 and #1401 , inspired by #24 , build upon the work done in #1405 , and was tested on an stm32wb55rg.
This pull request aims to add the transport layer mailbox for stm32wb microcontrollers. For now it's only capable of initializing it and getting the firmware information
Co-authored-by: goueslati <ghaith.oueslati@habemus.com>
Co-authored-by: Ghaith Oueslati <73850124+OueslatiGhaith@users.noreply.github.com>
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-11 22:48:55 +00:00
xoviat
8a620fd59c
stm32/ble: fix tests and add instructions to run example
2023-05-11 16:45:42 -05:00
xoviat
a0b1299890
stm32/tests: add hil test for ble
2023-05-03 17:36:31 -05:00
Dario Nieuwenhuis
433422b9f2
stm32/test: remove adsfa
2023-05-02 22:13:38 +02:00
Dario Nieuwenhuis
a85b34c1fe
stm32/test: F1 no longer fits in RAM.
2023-05-02 22:13:38 +02:00
Dario Nieuwenhuis
1078f6f4e7
stm32/test: workaround #1426
2023-05-02 22:13:38 +02:00
Dario Nieuwenhuis
2bb6e93e86
stm32/usart: add baudrate calc test.
2023-05-02 20:10:09 +02:00
bors[bot]
b2047c4351
Merge #1423
...
1423: rp: fix gpio InputFuture and inefficiencies r=pennae a=pennae
InputFuture could not wait for edges without breaking due to a broken From impl, but even if the impl had been correct it would not have worked correctly because raw edge interrupts are sticky and must be cleared from software. also replace critical sections with atomic accesses, and do nvic setup only once.
Co-authored-by: pennae <github@quasiparticle.net>
2023-05-02 12:56:51 +00:00
pennae
849011b826
rp/gpio: set up gpio interrupts only once
...
doing this setup work repeatedly, on every wait, is unnecessary. with
nothing ever disabling the interrupt it is sufficient to enable it once
during device init and never touch it again.
2023-05-02 14:28:27 +02:00
bors[bot]
5f99ccf54c
Merge #1422
...
1422: rp: remove leftovers from #1414 r=Dirbaio a=pennae
forgot to remove these when they were no longer necessary or useful. oops.
Co-authored-by: pennae <github@quasiparticle.net>
2023-05-02 10:07:32 +00:00
pennae
3c31236c10
rp: remove leftovers from #1414
...
forgot to remove these when they were no longer necessary or useful. oops.
2023-05-02 07:40:12 +02:00
Dario Nieuwenhuis
a1d45303c3
stm32/test: fix race condition in uart_dma.
2023-05-01 23:20:51 +02:00
Dario Nieuwenhuis
7601779693
stm32/test: cleanup ringbuffer test, exit on success (transferring 100kb)
2023-05-01 23:20:51 +02:00
Dario Nieuwenhuis
1806422763
stm32/test: add real defmt timestamp
2023-05-01 23:20:51 +02:00
Dario Nieuwenhuis
96e8a7ddb9
stm32/uart: feature-gate ringbuffer out when using gpdma, not supported yet.
2023-05-01 22:43:23 +02:00
Rasmus Melchior Jacobsen
fc268df6f5
Support overflow detection for more than one ring-period
2023-05-01 22:42:36 +02:00
Rasmus Melchior Jacobsen
49455792cb
Ring-buffered uart rx with one-period overrun detection
2023-05-01 22:42:36 +02:00
bors[bot]
855c0d1423
Merge #1376
...
1376: rtc: cleanup and consolidate r=Dirbaio a=xoviat
This removes an extra file that I left in, adds an example, and consolidates the files into one 'v2' file.
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-01 19:32:06 +00:00
pennae
b58b9ff390
rp/uart: report errors from dma receive
2023-05-01 15:36:53 +02:00
pennae
861f49cfd4
rp/uart: report errors from buffered uart
...
this reports errors at the same location the blocking uart would, which
works out to being mostly exact (except in the case of overruns, where
one extra character is dropped). this is actually easier than going
nuclear in the case of errors and nuking both the buffer contents and
the rx fifo, both of which are things we'd have to do in addition to
what's added here, and neither are needed for correctness.
2023-05-01 15:32:58 +02:00
pennae
1c8492bab2
tests/rp: test error conditions for uart
2023-05-01 15:22:56 +02:00
pennae
bcbe3040a1
tests/rp: fix buffered uart test
...
the rp uart receive fifo is 32 entries deep, so the 31 byte test data
fits into it without needing any buffering. extend to 48 bytes to fill
the entire fifo and the 16 byte test buffer.
2023-05-01 13:00:40 +02:00
Ulf Lilleengen
42a8f1671d
Bump versions preparing for -macros and -executor release
2023-04-27 11:54:22 +02:00
xoviat
0d82ebea29
stm32/rtc: fix datetime and add f4 test
2023-04-25 17:35:01 -05:00
pennae
a4866ad278
rp: add PWM api
2023-04-23 22:49:15 +02:00
pennae
fdd6e08ed6
rp: hook up softfloat rom intrinsics
...
rp-hal has done this very well already, so we'll just copy their entire
impl again. only div.rs needed some massaging because our sio access
works a little differently, everything else worked as is.
2023-04-19 23:04:47 +02:00
Dario Nieuwenhuis
e63a34ba21
stm32/sdmmc: add hil test for f4.
2023-04-17 21:49:34 +02:00
Dario Nieuwenhuis
577f060d24
Release embassy-sync v0.2.0
2023-04-13 23:40:49 +02:00
Roy Buitenhuis
6e947c83b6
Move linker flags to build script.
2023-04-11 17:22:47 +02:00
Roy Buitenhuis
e183801957
Rustfmt
2023-04-11 17:04:25 +02:00
Roy Buitenhuis
00258bca43
Add empty test binary for riscv
2023-04-11 16:53:04 +02:00
Dario Nieuwenhuis
f5df567619
stm32/test: add C0 hil tests.
2023-04-11 14:16:32 +02:00
Dario Nieuwenhuis
dbfd28130f
stm32/test: add h5 hil tests.
2023-04-10 15:25:11 +02:00
Dario Nieuwenhuis
be37eee13d
Update embedded-hal crates.
2023-04-06 22:41:50 +02:00
bors[bot]
5923e143e3
Merge #1321
...
1321: executor: add Pender, rework Cargo features. r=Dirbaio a=Dirbaio
This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and
custom callback executors. This avoids calls through function pointers when using only
the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`.
`embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable
the builtin executors (thread and interrupt).
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-04-04 15:50:12 +00:00
Ulf Lilleengen
ae26a08026
Add HIL test for timer on nrf
2023-04-03 22:55:21 +02:00
Dario Nieuwenhuis
d3c4e4a20a
executor: add Pender, rework Cargo features.
...
This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and
custom callback executors. This avoids calls through function pointers when using only
the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`.
`embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable
the builtin executors (thread and interrupt).
2023-04-03 03:09:11 +02:00
Lachezar Lechev
7be63b3468
fix: spi transfer bug and additions to test
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-26 18:14:17 +03:00
Lachezar Lechev
cd2f28d2ab
chore: add spi_async tests for uneven buffers
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-24 12:14:38 +02:00
Mathias
89a371d10c
Add HIL test for into_buffered uart on embassy-rp
2023-03-14 12:46:58 +01:00
Dario Nieuwenhuis
9cf000ef4e
nrf/uart: switch to new interrupt binding.
2023-03-06 00:17:51 +01:00
Dario Nieuwenhuis
7650fea5f2
nrf/buffered_uarte: add HIL tests.
2023-03-04 15:12:49 +01:00
kalkyl
13d9d8fde1
Refactor after review
2022-12-13 13:49:51 +01:00
kalkyl
d8821cfd41
Feature gate critical-section-impl
2022-12-10 12:57:45 +01:00
kalkyl
cc0248d83a
Select critical-section in tests
2022-12-10 12:42:08 +01:00
Dario Nieuwenhuis
54c153673d
rp: add OutputOpenDrain input test.
2022-12-06 21:09:27 +01:00
Dario Nieuwenhuis
1dcb0ea1f5
Bump defmt-rtt to 0.4
2022-11-29 21:15:24 +01:00
Dario Nieuwenhuis
7b838d0336
rp/uart: use lockfree ringbuffer.
...
This gets rid of another PeripheralMutex usage.
2022-11-25 22:30:47 +01:00
Dario Nieuwenhuis
1e2fb0459d
Switch to async-fn-in-trait
2022-11-25 21:02:06 +01:00
Mathias
bc21b6efaf
Add delay to flash test to allow time to parse RTT header
2022-10-27 12:49:20 +02:00
Mathias
a7b90c7fb6
Remove unused imports from test
2022-10-27 11:36:46 +02:00
Mathias
c871fe0848
Rebase on master
2022-10-27 07:12:34 +02:00
Guillaume MICHEL
9cac649fcf
stm32: Add support for read_until_idle on UART
2022-10-26 19:06:18 +02:00
Dario Nieuwenhuis
eeb072d9cb
Update Rust nightly.
2022-10-26 16:47:29 +02:00
Mathias
80e58426fc
Add flash example & flash HIL test
2022-10-26 12:24:04 +02:00
chrysn
6718ca3a94
all Cargo.toml: Add license to all crate Cargo.toml files
...
Closes: https://github.com/embassy-rs/embassy/issues/1002
2022-10-07 12:41:56 +02:00
Ulf Lilleengen
72c2e985bb
Update embedded-hal versions and explicitly pin
2022-09-29 11:27:46 +02:00
Mathias
e129a97d48
Fix bufferedUart read and write tests
2022-09-27 07:45:10 +02:00
Mathias
93354b812c
Extend buffered-uart test to transmit 32 bytes
2022-09-27 05:54:31 +02:00
Dario Nieuwenhuis
c863acd24f
rp: set correct teleprobe target for rpi-pico tests.
2022-09-26 20:36:06 +02:00
Mathias
f76444bdc4
Add HIL test for bufferedUart
2022-09-26 20:34:55 +02:00
Dario Nieuwenhuis
75e93cc142
rp: enable time-driver in Cargo.toml instead of ci.sh
2022-09-26 20:33:20 +02:00
Dario Nieuwenhuis
10d1ad2343
Replace futures::future::join -> embassy_futures::join::join.
2022-09-22 16:48:35 +02:00
Dario Nieuwenhuis
5327b9c289
time: add more tick rates, use 1mhz as default.
2022-09-02 00:59:34 +02:00
Henrik Alsér
9ff5c50774
Cleanup examples
2022-09-01 15:12:44 +02:00
Henrik Alsér
7954cbc4e7
Add HIL tests
2022-09-01 15:12:44 +02:00
Mathias
bd27b9080f
Add HIL tests of DMA & UART, and correctly set DREQ for uart DMA
2022-08-26 12:55:15 +02:00
Dario Nieuwenhuis
21072bee48
split embassy-util
into embassy-futures
, embassy-sync
.
2022-08-22 22:18:13 +02:00
Dario Nieuwenhuis
461cce255e
tests/stm32: add lpuart test on stm32wb55
2022-08-20 03:42:55 +02:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +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
Dario Nieuwenhuis
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02: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
bors[bot]
93e7d53e39
Merge #851
...
851: Gpio dynamic flex r=Dirbaio a=AntoineMugnier
Add Flex GPIO type for embassy-stm32 as it is the case for embassy-nrf.
Co-authored-by: amugniere@gmail.com <antoine.mugnier@depixus.com>
2022-07-10 21:22:46 +00:00
amugniere@gmail.com
e4a36e1d98
rustfmt on previously edited files
2022-07-10 21:08:12 +02:00
Dario Nieuwenhuis
ccf57cfab6
rp: add GPIO HIL test.
2022-07-09 02:14:30 +02:00
amugniere@gmail.com
94c13eb2af
forgotten file
2022-07-08 22:34:17 +02:00
amugniere@gmail.com
abba86d1ba
Have added doc + minor correction
2022-07-08 22:24:29 +02:00
amugniere@gmail.com
dda528808a
Flex/ output open drain test done
2022-07-08 22:16:01 +02:00
amugniere@gmail.com
00df9b507c
Flex/ input pull up test done
2022-07-08 22:10:52 +02:00
amugniere@gmail.com
1d91405d4d
Flex/ input pull down test done
2022-07-08 22:08:14 +02:00
amugniere@gmail.com
555f18aa95
Flex/ input no pull test done
2022-07-08 22:02:49 +02:00
amugniere@gmail.com
f911ad25c3
Flex/ Test initial output test done
2022-07-08 21:59:09 +02:00
Dario Nieuwenhuis
6852e05c59
Merge pull request #822 from embassy-rs/remove-authors
...
Remove the authors field from Cargo.tomls
2022-06-18 17:33:29 +02:00
Dario Nieuwenhuis
3fd4ee34ec
Merge pull request #821 from embassy-rs/defmt-trace
...
Add env DEFMT_LOG=trace to all examples.
2022-06-18 02:24:25 +02:00
Dario Nieuwenhuis
1f746e0939
Remove the authors field from Cargo.tomls
...
It currently contains whoever was first to write some code for the crate,
even if many more people have contributed to it later.
The field is "sort of" deprecated, it was made optional recently:
https://rust-lang.github.io/rfcs/3052-optional-authors-field.html
Due the the reasons listed there I believe removing it is better than
setting it to generic fluff like "The Embassy contributors".
2022-06-18 02:16:40 +02:00
Dario Nieuwenhuis
88e36a70bd
Update to 2021 edition. ( #820 )
2022-06-18 02:15:48 +02:00
Dario Nieuwenhuis
dd99356062
Add env DEFMT_LOG=trace to all examples.
2022-06-18 01:59:12 +02:00
Dario Nieuwenhuis
a8703b7598
Run rustfmt.
2022-06-12 22:22:31 +02:00
Will Glynn
962fabe5c9
examples/stm32*, tests/stm32: specify time-tick-32768hz
2022-05-31 16:14:23 -05:00
Dario Nieuwenhuis
6320e30adf
Update embedded-hal-async to 0.1.0-alpha.1
2022-05-29 22:34:08 +02:00
Dario Nieuwenhuis
009bb8e4e1
stm32: add stm32u5 GPDMA, SPIv4 support, add HIL tests.
2022-04-27 01:16:14 +02:00
Dario Nieuwenhuis
3251a21fb7
Switch to crates.io embedded-hal, embedded-hal-async.
...
This temporarily removes support for the async UART trait, since it's
not yet in embedded-hal-async.
2022-04-22 19:58:24 +02:00
Dario Nieuwenhuis
1dc618f0e4
stm32/spi: fix blocking transfer hanging after async.
2022-03-15 04:13:33 +01:00
Dario Nieuwenhuis
3d6592d22d
stm32/spi: check zero-length trasnfers.
2022-03-15 02:14:24 +01:00
Dario Nieuwenhuis
06f35c2517
stm32/spi: more exhaustive test.
2022-03-15 02:14:24 +01:00
Dario Nieuwenhuis
306110f56e
stm32/spi: implement async trasnfer_in_place
2022-03-15 00:40:48 +01:00
Dario Nieuwenhuis
9bad9365dc
Update rust nightly, embedded-hal 1.0, embedded-hal-async.
2022-03-11 00:38:07 +01:00
Grant Miller
fe6d7ef5fe
Update tests
2022-03-08 17:35:37 -06:00
Dario Nieuwenhuis
e39fd4a736
stm32: add stm32f103 bluepill to HIL tests.
2022-02-24 00:37:15 +01:00
Dario Nieuwenhuis
340eb4eead
stm32: add rust stable support
2022-02-12 02:45:52 +01:00
Dario Nieuwenhuis
0719b05d63
traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.
2022-01-27 00:08:02 +01:00
Ulf Lilleengen
4032fc0655
Support unstable-trait feature for stm32
2022-01-26 22:39:06 +01:00
Dario Nieuwenhuis
889d757ab8
stm32/spi: expose all functionality as inherent methods.
2022-01-19 17:59:55 +01:00
Dario Nieuwenhuis
c949519714
stm32/usart: expose all functionality as inherent methods.
2022-01-19 17:59:55 +01:00
Dario Nieuwenhuis
58fc64722c
stm32/gpio: expose all functionality as inherent methods.
2022-01-19 17:59:55 +01:00
Dario Nieuwenhuis
58e9dfbc00
tests/stm32: make __sdata=__edata so that cortex-m-rt doesn't try to copy it from "flash".
2022-01-05 13:30:08 +01:00
Dario Nieuwenhuis
ff5583fc73
stm32/tests: add uart, uart_dma tests.
2021-12-08 05:43:39 +01:00
Dario Nieuwenhuis
e673ba8ea2
stm32/tests: add DMA SPI
2021-12-07 05:15:45 +01:00
Dario Nieuwenhuis
fa36fa2808
stm32/tests: add spi
2021-12-07 05:01:01 +01:00
Dario Nieuwenhuis
a14c4f49c4
stm32/tests: higher clocks for H7
2021-12-07 05:00:35 +01:00
Dario Nieuwenhuis
17c5dc496e
stm32/tests: add stm32h755zi, stm32wb55rg
2021-12-07 01:24:26 +01:00
Dario Nieuwenhuis
dde6607aec
Add timer test, add g0, g4 tests.
2021-12-07 00:29:41 +01:00
Dario Nieuwenhuis
dd32358d6b
stm32: add gpio HIL test
2021-12-06 22:05:41 +01:00