mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-06-06 04:19:05 -04:00
Continue work on Cortus demo.
This commit is contained in:
parent
c848059d5f
commit
f8b7288033
|
@ -86,6 +86,7 @@ static void vRegTest1( void *pvParameters )
|
||||||
" mov r15, #0x0f \n"
|
" mov r15, #0x0f \n"
|
||||||
" \n"
|
" \n"
|
||||||
"reg_check_loop_1: \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. */
|
" 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"
|
" bne.s reg_check_error_1 \n"
|
||||||
" cmp r3, #0x03 \n"
|
" cmp r3, #0x03 \n"
|
||||||
|
|
|
@ -71,10 +71,6 @@
|
||||||
#define comBLOCK_RETRY_TIME 10
|
#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
|
/* Queues used to hold received characters, and characters waiting to be
|
||||||
transmitted. */
|
transmitted. */
|
||||||
static xQueueHandle xRxedChars;
|
static xQueueHandle xRxedChars;
|
||||||
|
@ -99,6 +95,7 @@ xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned port
|
||||||
irq[IRQ_UART1_RX].ien = 1;
|
irq[IRQ_UART1_RX].ien = 1;
|
||||||
irq[IRQ_UART1_RX].ipl = portSYSTEM_INTERRUPT_PRIORITY_LEVEL;
|
irq[IRQ_UART1_RX].ipl = portSYSTEM_INTERRUPT_PRIORITY_LEVEL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ( xComPortHandle ) 0;
|
return ( xComPortHandle ) 0;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue