Seems like VSCODE and others try and compile all files in a directory,
even if they aren't used. Because the spiram-fast had ESP8266-only
registers, it caused an error when attempting to build anything for the
ESP32.
Update by writing a new SPI class based version of the spiram-fast class
(tested on the ESP8266) which uses the SPI wrapper class.
Fixes#253
* Replace external SPIRAM lib w/internal optimized
Instead of requiring everyone to download and install another Arduino
library to use this lib, include an optimized, self-contained one from
the 8266 VM PR: https://github.com/esp8266/Arduino/pull/6994
Does change the API as it now requires a HW chip select, so that
parameter is removed from the SpiRAM buffer object.
* Redo the FIFO to try and be faster
* Fix the SPI interface, buffering.
SPI FIFO needs special care so do all work in a RAM copy and the copy it
over manually w/32b writes.
Ensure the SPI command is done before touching the FIFO.
Fix buffering organization.
Make the buffer report status as a #### bar.
* Fix infinite wait on EOF
* Add SW chip select support
* Update URL to one that's live today
* Clean up metadata printout
* Clean up readme refs to obsolete lib
* Slow down the DIO->SIO reset sequence
* Update readme to remove old SPIRam library ref
Also add the resistor to the 1T circuit to avoid transistor overheating.
Emil Plalan found and fixed a bug where the buffer refill would loop
forever (until WDT) when there was no more data to read. For web streams
this wasn't detected, since there isn't really an EOF. However, single
files streamed from a web server would have this problem.