mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Finalise MSP430X CCS4 port and demo.
This commit is contained in:
parent
329c36c6bc
commit
c85523f870
|
@ -176,7 +176,7 @@ information. */
|
||||||
#define mainCOM_TEST_LED ( 1 )
|
#define mainCOM_TEST_LED ( 1 )
|
||||||
|
|
||||||
/* The baud rate used by the comtest tasks. */
|
/* The baud rate used by the comtest tasks. */
|
||||||
#define mainCOM_TEST_BAUD_RATE ( 115200 )
|
#define mainCOM_TEST_BAUD_RATE ( 38400 )
|
||||||
|
|
||||||
/* The maximum number of lines of text that can be displayed on the LCD. */
|
/* The maximum number of lines of text that can be displayed on the LCD. */
|
||||||
#define mainMAX_LCD_LINES ( 8 )
|
#define mainMAX_LCD_LINES ( 8 )
|
||||||
|
|
|
@ -169,16 +169,14 @@ interrupt void prvUSCI_A1_ISR( void )
|
||||||
signed char cChar;
|
signed char cChar;
|
||||||
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||||
|
|
||||||
while( ( UCA1IFG & UCRXIFG ) != 0 )
|
if( ( UCA1IFG & UCRXIFG ) != 0 )
|
||||||
{
|
{
|
||||||
/* Get the character from the UART and post it on the queue of Rxed
|
/* Get the character from the UART and post it on the queue of Rxed
|
||||||
characters. */
|
characters. */
|
||||||
cChar = UCA1RXBUF;
|
cChar = UCA1RXBUF;
|
||||||
xQueueSendFromISR( xRxedChars, &cChar, &xHigherPriorityTaskWoken );
|
xQueueSendFromISR( xRxedChars, &cChar, &xHigherPriorityTaskWoken );
|
||||||
}
|
}
|
||||||
|
else if( ( UCA1IFG & UCTXIFG ) != 0 )
|
||||||
/* If there is a Tx interrupt pending and the tx interrupts are enabled. */
|
|
||||||
if( ( UCA1IFG & UCTXIFG ) != 0 )
|
|
||||||
{
|
{
|
||||||
/* The previous character has been transmitted. See if there are any
|
/* The previous character has been transmitted. See if there are any
|
||||||
further characters waiting transmission. */
|
further characters waiting transmission. */
|
||||||
|
|
|
@ -110,7 +110,7 @@ SECTIONS
|
||||||
/* Original line. */
|
/* Original line. */
|
||||||
.text : {}>> FLASH | FLASH2 /* CODE */
|
.text : {}>> FLASH | FLASH2 /* CODE */
|
||||||
/* Modified line. */
|
/* Modified line. */
|
||||||
/* .text : {}>> FLASH2 */ /* CODE */
|
/* .text : {} >> FLASH2 */ /* CODE */
|
||||||
.main : {} > FLASH
|
.main : {} > FLASH
|
||||||
.text:_isr : {} > FLASH /* ISR CODE SPACE */
|
.text:_isr : {} > FLASH /* ISR CODE SPACE */
|
||||||
.cinit : {} > FLASH /* INITIALIZATION TABLES */
|
.cinit : {} > FLASH /* INITIALIZATION TABLES */
|
||||||
|
|
Loading…
Reference in a new issue