Fixed the preprocessor logic surrounding PA7
Final fixes for the SPI bus setup code to get the whole thing really stable
Implemented a mechanism to allow for device erasure having not understood the timings for how long Bulk Erase (BE) takes.
Datasheet for the Numonyx device this is tested against specifies 8-80s, or far longer than we are able to wait sensibly..
Erase did not work before this.
Corrected the wait condition in waitWriteComplete() and added a call after lockDevice() so the instruction can be assured to have been executed
Corrected the pin configuration for the SPI clock in the firmware
Fixed the output of the programming function's error routines in flashprog so the newlines are in the right places
Sped up the poll interval to 100ms from 1s in flashprog during device erase which is auto-initiated by the flashing firmware