* ESP32-C3 has no ULP coprocessor
Only the ESP32, ESP32-S2 and ESP32-S3 chips have an ULP coprocessor, ESP32-C3 doesn't have it. So exclude this code from compiling, as it cannot compile in the C3 environment.
* uint32_t and size_t is not the same on RISC-V
This change is necessary to be able to compile it on ESP32-C3
* uint32_t and size_t is not the same on RISC-V
The change is necessary to compile it on ESP32-C3
* ESP32-C3: I2S_MODE_DAC_BUILT_IN / I2S_MODE_PDM not available
On some ESP32 chips (e.g. ESP32-C3), builtin DAC is not possible as it lacks the hardware module. In order to be able to compile the library on ESP32-C3 the defines cannot be used.
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.