Expand description
Pico de Gallo glue over a fixed pin map: binds the HAL’s SpiDevice + GPIOs to the flash core, drives the flash’s static control lines (/WP, /HOLD) high, and implements an optional CRESET-based bus hold.
Structs§
- Connected
- Live connection.
spi/buseach ownArc<Mutex<PicoDeGallo>>clones that keep the USB client (and its worker) alive after theHalis dropped. - HostBus
- The flash’s control lines plus an optional bus hold, all on fixed GPIOs.
Constants§
- GPIO_
CRESET 🔒 - GPIO_CS 🔒
- GPIO_
HOLD 🔒 - GPIO_WP 🔒
Functions§
- connect
- Connect, validate firmware schema, configure SPI (mode 0), and build handles
over the fixed pin map.
resetenables the CRESET bus hold on User GPIO 3.