This commit is contained in:
2021-11-05 17:01:45 +01:00
parent e15028e94c
commit 6462a7162e
6 changed files with 115 additions and 63 deletions

View File

@ -97,8 +97,14 @@ void basictests() {
return;
#else
defineGPIOpins();
resetFPGA();
initError = defineGPIOpins(initErrorMessage);
if (initError == FAIL) {
return;
}
initError = resetFPGA(initErrorMessage);
if (initError == FAIL) {
return;
}
if (mapCSP0() == FAIL) {
strcpy(initErrorMessage,
"Could not map to memory. Dangerous to continue.\n");