Recreate the RISC-V-Qemu demo using Vanilla Eclipse in place of Freedom Studio as there is not a new Freedom Studio project that targets the HiFive1 board, and the updated Freedom Studio version didn't work with this project any more anyway.

This commit is contained in:
Richard Barry 2019-10-16 04:28:28 +00:00
parent d435a7b62d
commit f78ccd077a
15 changed files with 118 additions and 802 deletions

View file

@ -196,12 +196,11 @@ TickType_t xLastExecutionTime;
static unsigned long ulLastRegTest1Value = 0, ulLastRegTest2Value = 0;
const char * const pcPassMessage = "Pass";
const char * pcStatusMessage = ".";
extern void vSendString( const char * pcString );
/* Just to stop compiler warnings. */
( void ) pvParameters;
write( STDOUT_FILENO, pcPassMessage, strlen( pcPassMessage ) );
/* Initialise xLastExecutionTime so the first call to vTaskDelayUntil()
works correctly. */
xLastExecutionTime = xTaskGetTickCount();
@ -269,7 +268,7 @@ const char * pcStatusMessage = ".";
ulLastRegTest2Value = ulRegTest2LoopCounter;
/* Write the status message to the UART. */
write( STDOUT_FILENO, pcStatusMessage, strlen( pcStatusMessage ) );
vSendString( pcStatusMessage );
}
}
/*-----------------------------------------------------------*/