Update comments only in the MSP430X IAR main.c and serial.c files.

pull/4/head
Richard Barry 14 years ago
parent c85523f870
commit eb16629f11

@ -239,10 +239,10 @@ typedef struct
/*-----------------------------------------------------------*/
/* The linker script tests the FreeRTOS ports use of 20bit addresses by
locating all code in high memory. The following pragma ensures that main
remains in low memory. The ISR_CODE segment is used for convenience as ISR
functions are always placed in low memory. */
/* The linker script can be used to test the FreeRTOS ports use of 20bit
addresses by locating all code in high memory. The following pragma ensures
that main remains in low memory when that is done. The ISR_CODE segment is used
for convenience as ISR functions are always placed in low memory. */
#pragma location="ISR_CODE"
void main( void )
{

@ -157,6 +157,12 @@ signed portBASE_TYPE xReturn;
}
/*-----------------------------------------------------------*/
/* The implementation of this interrupt is provided to demonstrate the use
of queues from inside an interrupt service routine. It is *not* intended to
be an efficient interrupt implementation. A real application should make use
of the DMA. Or, as a minimum, transmission and reception could use a simple
RAM ring buffer, and synchronise with a task using a semaphore when a complete
message has been received or transmitted. */
#pragma vector=USCI_A1_VECTOR
static __interrupt void prvUSCI_A1_ISR( void )
{

Loading…
Cancel
Save