ice40: program_cram, add TN ref

This commit is contained in:
Gwenhael Goavec-Merou 2022-01-18 08:37:07 +01:00
parent eb462d2bec
commit 5365a9f9cf
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ void Ice40::reset()
printSuccess("DONE");
}
/* cf. TN1248 (iCE40 Programming and Configuration)
* Appendix A. SPI Slave Configuration Procedure
*/
bool Ice40::program_cram(uint8_t *data, uint32_t length)
{
uint32_t timeout = 1000;