Continue work on Cortus demo.

pull/4/head
Richard Barry 15 years ago
parent c848059d5f
commit f8b7288033

@ -86,6 +86,7 @@ static void vRegTest1( void *pvParameters )
" mov r15, #0x0f \n"
" \n"
"reg_check_loop_1: \n"
" trap #31 \n"
" cmp r2, #0x02 \n" /* Check that each register still contains the expected value, jump to an infinite loop if an error is found. */
" bne.s reg_check_error_1 \n"
" cmp r3, #0x03 \n"

@ -71,10 +71,6 @@
#define comBLOCK_RETRY_TIME 10
/*-----------------------------------------------------------*/
void vUARTInterruptHandlerTxWrapper(void) __attribute((naked));
void vUARTInterruptHandlerRxWrapper(void) __attribute((naked));
/*-----------------------------------------------------------*/
/* Queues used to hold received characters, and characters waiting to be
transmitted. */
static xQueueHandle xRxedChars;
@ -99,6 +95,7 @@ xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned port
irq[IRQ_UART1_RX].ien = 1;
irq[IRQ_UART1_RX].ipl = portSYSTEM_INTERRUPT_PRIORITY_LEVEL;
}
return ( xComPortHandle ) 0;
}
/*-----------------------------------------------------------*/

Loading…
Cancel
Save