You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(esp32,spi): route ChannelEngineSpi through ISpiPeripheral so host tests can cover it #4910
From the #4909 review. ChannelEngineSpi calls ESP-IDF directly (spi_bus_initialize, spi_bus_add_device, spi_bus_remove_device, gpio_get_io_config), so its host tests (tests/platforms/esp/32/drivers/spi/channel_driver_spi.cpp) are #ifdef ESP32 and cover only canHandle() and routing classification. SpiPeripheralMock exists but the engine does not use it.
Goal: put the engine's SPI and pin-routing calls behind the peripheral interface (as RMT5 does with IRMT5Peripheral) and add a host test. Two acquisitions where the pin routing changes while the channel is idle must release the old device and host and re-initialize the bus (the #4907 behaviour, currently verified only on S3/C6 hardware).
Activity
refactor(esp32,spi): route ChannelEngineSpi through ISpiPeripheral (F…