forked from ROMEO/obsw
further cleanup
This commit is contained in:
@ -58,13 +58,9 @@ void initFreeRTOSHelper();
|
||||
|
||||
int main(void) {
|
||||
|
||||
/* Configure the hardware ready to run the demo. */
|
||||
/* Configure the hardware ready to run. */
|
||||
prvSetupHardware();
|
||||
|
||||
// printf("Booting Software\n");
|
||||
|
||||
//testEth();
|
||||
|
||||
mission();
|
||||
}
|
||||
|
||||
@ -95,20 +91,12 @@ static void prvSetupHardware(void) {
|
||||
configASSERT(xStatus == XST_SUCCESS);
|
||||
(void)xStatus; /* Remove compiler warning if configASSERT() is not defined. */
|
||||
|
||||
/* Initialise the LED port. */
|
||||
// vParTestInitialise();
|
||||
|
||||
// TODO we can alter the startup code...
|
||||
/* The Xilinx projects use a BSP that do not allow the start up code to be
|
||||
altered easily. Therefore the vector table used by FreeRTOS is defined in
|
||||
FreeRTOS_asm_vectors.S, which is part of this project. Switch to use the
|
||||
FreeRTOS vector table. */
|
||||
vPortInstallFreeRTOSVectorTable();
|
||||
|
||||
/* Initialise UART for use with QEMU. */
|
||||
// XUartPs_ResetHw(0xE0000000);
|
||||
// XUartPs_WriteReg(0xE0000000, XUARTPS_CR_OFFSET,
|
||||
// ((u32)XUARTPS_CR_RX_DIS | (u32)XUARTPS_CR_TX_EN |
|
||||
// (u32)XUARTPS_CR_STOPBRK));
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
Reference in New Issue
Block a user