Added a constant for max number of addresses to be written by
a single write callback
STM now waits for FPGA_DONE line to go high (signals configuration
is complete) before initializing SPI so that there is no SPI2
contention while FPGA is configuring itself.