put support back into testimagecapture.cpp for generated SPI core.