altos: Add STM SPI debugging
authorKeith Packard <keithp@keithp.com>
Tue, 28 Jun 2016 06:26:20 +0000 (23:26 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Jun 2016 02:17:45 +0000 (19:17 -0700)
commit69791ef235161fef404f682fd6955e7eed8dc125
tree04fa038e36cba1cb25ac72db9bed93117e0dca4f
parentf418584d4d225827e08f56de86055eb3f074f8d1
altos: Add STM SPI debugging

This dumps out the SPI hardware state and history of SPI operations
when compiled with -DDEBUG=1. Without that, this patch does nothing.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_spi_stm.c