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 )
|
||||
|
||||
/* 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. */
|
||||
#define mainMAX_LCD_LINES ( 8 )
|
||||
|
|
|
@ -169,16 +169,14 @@ interrupt void prvUSCI_A1_ISR( void )
|
|||
signed char cChar;
|
||||
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
|
||||
characters. */
|
||||
cChar = UCA1RXBUF;
|
||||
xQueueSendFromISR( xRxedChars, &cChar, &xHigherPriorityTaskWoken );
|
||||
}
|
||||
|
||||
/* If there is a Tx interrupt pending and the tx interrupts are enabled. */
|
||||
if( ( UCA1IFG & UCTXIFG ) != 0 )
|
||||
}
|
||||
else if( ( UCA1IFG & UCTXIFG ) != 0 )
|
||||
{
|
||||
/* The previous character has been transmitted. See if there are any
|
||||
further characters waiting transmission. */
|
||||
|
|
|
@ -108,9 +108,9 @@ SECTIONS
|
|||
|
||||
/* Can be modified to test the use of high memory. */
|
||||
/* Original line. */
|
||||
.text : {}>> FLASH | FLASH2 /* CODE */
|
||||
.text : {}>> FLASH | FLASH2 /* CODE */
|
||||
/* Modified line. */
|
||||
/* .text : {}>> FLASH2 */ /* CODE */
|
||||
/* .text : {} >> FLASH2 */ /* CODE */
|
||||
.main : {} > FLASH
|
||||
.text:_isr : {} > FLASH /* ISR CODE SPACE */
|
||||
.cinit : {} > FLASH /* INITIALIZATION TABLES */
|
||||
|
|
Loading…
Reference in a new issue