- Oct 02, 2022
-
-
Matt Johnston authored
-
Matt Johnston authored
-
- Oct 01, 2022
-
-
Matt Johnston authored
-
Matt Johnston authored
-
Matt Johnston authored
-
Matt Johnston authored
Only keeping every second iteratoin
-
Matt Johnston authored
Changed to separate LOOP vs BUF. No change to algorithm
-
Matt Johnston authored
up_x = if down < T { up_x * 2 } else { up_x.saturating_sub(down/2) }.max(1);
-
Matt Johnston authored
-
Matt Johnston authored
-
- Sep 30, 2022
-
-
Matt Johnston authored
-
Matt Johnston authored
-
- Sep 29, 2022
-
-
bors[bot] authored
991: usb: remove all "Direction as u8" casts. r=Dirbaio a=Dirbaio Alternative fix for #989 , see comment there for rationale. bors r+ Co-authored-by:
Dario Nieuwenhuis <dirbaio@dirbaio.net>
-
Dario Nieuwenhuis authored
-
bors[bot] authored
990: Small pubsub improvements r=Dirbaio a=diondokter - Futures in pub & sub are now awaited instead of returned - Added functions for reading how many messages are available This helps people get better compiler diagnostics. For example, I forgot to call await on a future and the compiler didn't complain. This also helps with making some decisions based on the state of the channels. Co-authored-by:
Dion Dokter <dion@tweedegolf.com>
-
Dion Dokter authored
-
Dion Dokter authored
Added functions for reading how many messages are available
-
bors[bot] authored
988: Update embedded-hal versions and explicitly pin r=lulf a=lulf Pinning to ensure CI don't accidentally break. Co-authored-by:
Ulf Lilleengen <lulf@redhat.com>
-
Ulf Lilleengen authored
-
- Sep 28, 2022
-
-
bors[bot] authored
983: Remove subghz static lifetime requirement r=lulf a=lulf Co-authored-by:
Ulf Lilleengen <lulf@redhat.com>
-
Ulf Lilleengen authored
-
bors[bot] authored
914: (embassy-rp): Add I2C master implementation r=Dirbaio a=MathiasKoch This PR adds both blocking and DMA based async implementations of I2C master. Both E-H 0.2 & E-H 1.0 abstractions are implemented as well. ### Questions & concerns: - Do we need an I2C interrupt handler (for transfer done, abort & error handling?) (async only) - Do we need to add some automatic attempt at unblocking an I2C bus in case of failures (see ref: https://github.com/fivdi/pico-i2c-dma/blob/7ebfd553f3ce5b5b210d53102b0ecca158172633/src/i2c_dma.c#L116-L142 ) - Should I add `vectored_{read, write}` implementations? Co-authored-by:
Mathias <mk@blackbird.online> Co-authored-by:
Mathias Koch <mk@blackbird.online>
-
Mathias authored
-
Mathias authored
-
Mathias Koch authored
Co-authored-by:
Jacob Gonzalez <jacobgonzalez5252@gmail.com>
-
Mathias authored
-
Mathias authored
-
Mathias authored
-
Mathias authored
-
Mathias authored
-
- Sep 27, 2022
-
-
bors[bot] authored
979: usb: make HALs depend only on embassy-usb-driver. r=Dirbaio a=Dirbaio Follow up to #972 bors r+ Co-authored-by:
Dario Nieuwenhuis <dirbaio@dirbaio.net>
-
Dario Nieuwenhuis authored
-
bors[bot] authored
934: (embassy-rp): Add Buffered UART implementation r=MathiasKoch a=MathiasKoch ### Questions & concerns: - ~~Would it make sense to add `RxBufferedUart` and `TxBufferedUart`, for cases where you would want to only buffer one way?~~ - ~~Do I need to be monitoring more interrupt flags than `Receive` & `Receive timeout`?~~ This PR adds working `BufferedUart` implementation, along with `RxBufferedUart` and `TxBufferedUart`. The implementation leaves room for improvement with respect to performance, as it still does not utilize DMA nor the internal UART buffers. Co-authored-by:
Mathias <mk@blackbird.online> Co-authored-by:
Dario Nieuwenhuis <dirbaio@dirbaio.net>
-
Mathias authored
-
Mathias authored
-
Mathias authored
Rename from {Rx,Tx}BufferedUart to BufferedUart{Rx,Tx} to be compliant with stm32 and nrf implementations
-
Mathias authored
-
bors[bot] authored
973: Rework STM32 BufferedUart internals so we can split into Rx and Tx like embassy-nrf r=lulf a=guillaume-michel Context: On STM32, BufferedUart is not splittable into Rx and Tx part like the non buffered version. On embassy-nrf, a RefCell is used to make BufferedUarte splittable. Description: This PR add the possibility to split BufferedUart into Rx and Tx without adding breaking changes. Hope somebody find it useful Co-authored-by:
Guillaume MICHEL <guillaume@squaremind.io>
-
bors[bot] authored
976: rp: enable time-driver in Cargo.toml instead of ci.sh r=Dirbaio a=Dirbaio bors r+ Co-authored-by:
Dario Nieuwenhuis <dirbaio@dirbaio.net>
-
bors[bot] authored
977: Use firmware writer in stm32{f7, h7} example app r=lulf a=lulf The new FirmwareWriter is useful in particular for these architectures due to the large erase sector size. Co-authored-by:
Ulf Lilleengen <ulf.lilleengen@gmail.com>
-