From: richardbarry Date: Thu, 24 Mar 2011 19:37:18 +0000 (+0000) Subject: Update comments only in the MSP430X IAR main.c and serial.c files. X-Git-Tag: V7.0.0~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10db4ce2ffc69fb52e548d2a3d4bef5d57ee44b7;p=freertos Update comments only in the MSP430X IAR main.c and serial.c files. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1323 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/MSP430X_MSP430F5438_IAR/main.c b/Demo/MSP430X_MSP430F5438_IAR/main.c index 924d3f054..72cffe5ef 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/main.c +++ b/Demo/MSP430X_MSP430F5438_IAR/main.c @@ -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 ) { diff --git a/Demo/MSP430X_MSP430F5438_IAR/serial.c b/Demo/MSP430X_MSP430F5438_IAR/serial.c index 9eb494142..181894833 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/serial.c +++ b/Demo/MSP430X_MSP430F5438_IAR/serial.c @@ -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 ) {