aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests/stm32: add stop and cleanpuxoviat2023-08-262-1/+61
|
* Bump executor crate version to 0.3.0Dániel Buga2023-08-234-4/+4
|
* Merge pull request #1763 from rubdos/sender-receiver-with-ctxDario Nieuwenhuis2023-08-222-5/+5
|\ | | | | | | Refactor Channel/Sender/Receiver poll methods
| * Deprecate *recv* in favor of *receive*Ruben De Smet2023-08-222-5/+5
| |
* | stm32/can: make latency assertion more lenient.Dario Nieuwenhuis2023-08-201-2/+2
| |
* | Merge pull request #1788 from embassy-rs/esp-hosted-cleanupDario Nieuwenhuis2023-08-181-2/+2
|\ \ | | | | | | | | | net-esp-hosted: misc improvements.
| * | net-esp-hosted: sane error handling in control requests.Dario Nieuwenhuis2023-08-171-2/+2
| | |
* | | net-enc28j60: add HIL test.Dario Nieuwenhuis2023-08-187-12/+256
| | |
* | | rp/flash: change naming to `blocking_*`, `new_blocking`.Dario Nieuwenhuis2023-08-181-7/+7
|/ / | | | | | | | | - Needed for consistency with other drivers. - Having two `new()` functions sometimes resulted in 'multiple applicable methods' errors.
* | net-wiznet: add HIL test using w5100s.Dario Nieuwenhuis2023-08-1621-38/+271
| |
* | Update embedded-hal to 1.0.0-rc.1 (#1783)Dario Nieuwenhuis2023-08-164-6/+7
|/
* Merge pull request #1753 from xoviat/rtc-wbxoviat2023-08-091-10/+6
|\ | | | | | | stm32/rtc: enable in rcc mod
| * tests/stm32: fix rtc testxoviat2023-08-081-10/+6
| |
* | Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-074-4/+4
|/
* rp: fix adc test flakinesspennae2023-08-031-1/+3
| | | | | | | | GP29 is connected to the cyw43 SCK pin. cyw43 is selected by default (due to rp2040 pins being input/pulldown by default), so the wifi chip is always selected and watches the SCK pin. this little bit of load on the SCK pin is enough to disturb the 300k voltage divider used for VSYS sensing, making the test flaky.
* rp: add single-channel dma from adcpennae2023-08-021-4/+51
| | | | | | | | | | with uniform treatment of adc inputs it's easy enough to add a new sampling method. dma sampling only supports one channel at the moment, though round-robin sampling would be a simple extension (probably a new trait that's implemented for Channel and &[Channel]). continuous dma as proposed in #1608 also isn't done here, we'd expect that to be a compound dma::Channel that internally splits a buffer in half and dispatches callbacks or something like that.
* rp: generalize adc inputs from pins to channelspennae2023-08-011-11/+11
| | | | | | this lets us treat pins and the temperature sensor uniformly using the same interface. uniformity in turn lets us add more adc features without combinatorial explosion of methods and types needed to handle them all.
* stm32/can: Fix latency measurement in testschemicstry2023-07-311-3/+13
|
* Merge remote-tracking branch 'origin/main' into bxcan_timestampchemicstry2023-07-3110-26/+245
|\
| * Set frequency in stm32 SPI examplesbofh2023-07-312-10/+12
| |
| * Remove unused importsbofh2023-07-302-2/+0
| |
| * Fix more stm32 SPI examplesbofh2023-07-302-2/+0
| |
| * Merge pull request #1710 from Sizurka/rp-async-flashDario Nieuwenhuis2023-07-281-3/+11
| |\ | | | | | | | | | rp: add async flash
| | * rp: add async flashDerek Hageman2023-07-281-3/+11
| | | | | | | | | | | | | | | | | | Implement an async flash mode using the XIP background best effort read interface. Only reads are actually async, write and erase remain blocking.
| * | Merge pull request #1709 from brandonros/cyw43-firmware-syncDario Nieuwenhuis2023-07-281-2/+2
| |\ \ | | | | | | | | | | | | sync latest cyw43-firmware
| | * | cyw43: Update firmware in HIL test.Dario Nieuwenhuis2023-07-281-2/+2
| | |/
| * / fix flaky test wifi_esp_hosted_perfDario Nieuwenhuis2023-07-281-3/+3
| |/
| * rp: relocate programs implicitly during loadpennae2023-07-282-3/+127
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Add DAC HIL test with ADCJuliDi2023-07-273-3/+92
| |
* | stm32/can: implement proper RX timestampschemicstry2023-07-251-3/+10
|/
* stm32/rcc: use wpan default only for wpanxoviat2023-07-242-2/+10
|
* wpan: further optimize mac eventxoviat2023-07-201-14/+9
|
* - optimize event to parse opcode only oncexoviat2023-07-191-11/+20
| | | | | - optimze channels - return mut ref for smoltcp rx
* wpan/mac: use lifetimes to control eventsxoviat2023-07-161-12/+20
|
* wpan/mac: use slice view to avoid copyxoviat2023-07-161-1/+5
|
* wpan: factor mac logic into other modxoviat2023-07-151-3/+3
|
* stm32/tests: fix cargoxoviat2023-07-151-0/+1
|
* wpan: add mac testxoviat2023-07-154-8/+124
|
* fix testGhaithOueslati2023-07-151-3/+0
|
* rp/gpio: fix is_set_high/is_set_low, expand tests.Dario Nieuwenhuis2023-07-112-4/+68
|
* Merge pull request #1623 from pennae/rp-adcDario Nieuwenhuis2023-07-071-0/+86
|\ | | | | | | rp/adc: rewrite the module
| * rp/adc: rewrite the modulepennae2023-07-071-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | rp/pio: use bind_interrupts for irqspennae2023-07-073-3/+64
| | | | | | | | closes #1338
* | Merge pull request #1624 from embassy-rs/release-embassy-time-v0.1.2Dario Nieuwenhuis2023-07-054-4/+4
|\ \ | | | | | | | | | Release embassy-time v0.1.2
| * | Release embassy-time v0.1.2Dario Nieuwenhuis2023-07-064-4/+4
| |/
* | Merge pull request #1578 from schphil/can-splitxoviat2023-07-051-2/+5
|\ \ | |/ |/| | | stm32 can split method
| * fix stm32 can testPhilipp Scheff2023-07-041-1/+1
| |
| * make stm32 can test workPhilipp Scheff2023-07-041-3/+6
| |
* | update embedded-hal crates.Dario Nieuwenhuis2023-07-044-9/+9
| |
* | Update probe-rs-cli -> probe-rsDario Nieuwenhuis2023-06-291-2/+2
| |