AVR: Make index static within function.
STM32: Add SPI coroutine implementation.