Eliminated a signal by using a simpler trait method that returns whether VBus power is available. Also includes a UsbSupply that can be signalled for use with the nRF softdevice. Includes the requirement for waiting for power to become available.
EnabledUsbDevice is a wrapper around the UsbDevice where their enablement is also subject to external events, such as POWER events for nRF. It is introduced generically to support other platforms should they also require external signalling for enablement.
848: Blocking shared bus EH 0.2 impls + example docs r=Dirbaio a=kalkyl
Adds impls for the old embedded-hal v0.2 traits for usability until the ecosystem catches up with EH1.
Also added some basic examples in docs of how the shared buses can be set up.
Co-authored-by: Henrik Alsér <henrik@mindbite.se>
845: Add blocking shared bus for i2c and SPI r=Dirbaio a=kalkyl
Blocking versions of the shared buses
Co-authored-by: Henrik Alsér <henrik.alser@me.com>
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
831: Move bootloader main to examples r=lulf a=lulf
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
Co-authored-by: Ulf Lilleengen <ulf.lilleengen@gmail.com>
Co-authored-by: Ulf Lilleengen <lulf@redhat.com>
833: nrf/uart: add support for tx-only and rx-only uart. r=Dirbaio a=Dirbaio
Allow creating UarteRx/UarteTx directly. This allows using uart unidirectionally
(rx-only or tx-only), without having to 'waste' a pin for the unused direction.
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
Allow creating UarteRx/UarteTx directly. This allows using uart unidirectionally
(rx-only or tx-only), without having to 'waste' a pin for the unused direction.
828: More API docs r=lulf a=lulf
embassy-cortex-m is covered now, making some progress on embassy-nrf, but not complete.
Co-authored-by: Ulf Lilleengen <lulf@redhat.com>