This commit is contained in:
2021-09-03 13:17:27 +02:00
parent 9c9f2d5c70
commit 20deeb8dcc
4 changed files with 112 additions and 139 deletions

View File

@ -45,11 +45,6 @@ int startWritingFPGAprogram(FILE **filefp);
*/
int stopWritingFPGAprogram(FILE *filefp);
/**
* Write FPGA Program to flash
* @param fpgasrc source program
* @param fsize size of program
* @param filefp pointer to flash
* @return 0 for success, 1 for fail (cannot write)
*/
int writeFPGAProgram(char *fpgasrc, uint64_t fsize, FILE *filefp);
int startCopyingFPGAProgram(FILE **fd, uint64_t fsize, char *mess);
int writeFPGAProgram(uint64_t fsize, FILE *fd, char *src, char *msg,
char *mess);