licensing and training services.\r
*/\r
\r
+\r
+/* The following #error directive is to remind users that a batch file must be\r
+ * executed prior to this project being built. The batch file *cannot* be \r
+ * executed from within CCS4! Once it has been executed, re-open or refresh \r
+ * the CCS4 project and remove the #error line below.\r
+ */\r
+#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.\r
+\r
+\r
#ifndef FREERTOS_CONFIG_H\r
#define FREERTOS_CONFIG_H\r
\r
/* Ensure the timer is stopped. */\r
TA1CTL = 0;\r
\r
- /* Run the timer from the ACLK/4. */\r
- TA1CTL = TASSEL_1 | ID__4;\r
+ /* Run the timer from the ACLK/2. */\r
+ TA1CTL = TASSEL_1 | ID__2;\r
\r
/* Clear everything to start with. */\r
TA1CTL |= TACLR;\r
\r
/*-----------------------------------------------------------*/\r
\r
-/* The following #error directive is to remind users that a batch file must be\r
- * executed prior to this project being built. The batch file *cannot* be \r
- * executed from within CCS4! Once it has been executed, re-open the CCS4\r
- * project and remove the #error line below.\r
- */\r
-#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.\r
-\r
/* The linker script tests the FreeRTOS ports use of 20bit addresses by\r
locating all code in high memory. The following pragma ensures that main\r
remains in low memory. */\r
\r
/* The MSP430X port uses this callback function to configure its tick interrupt.\r
This allows the application to choose the tick interrupt source.\r
-configTICK_INTERRUPT_VECTOR must also be set in FreeRTOSConfig.h to the correct\r
+configTICK_VECTOR must also be set in FreeRTOSConfig.h to the correct\r
interrupt vector for the chosen tick interrupt source. This implementation of\r
vApplicationSetupTimerInterrupt() generates the tick from timer A0, so in this\r
-case configTICK_INTERRUPT_VECTOR is set to TIMER0_A0_VECTOR. */\r
+case configTICK_VECTOR is set to TIMER0_A0_VECTOR. */\r
void vApplicationSetupTimerInterrupt( void )\r
{\r
const unsigned short usACLK_Frequency_Hz = 32768;\r
.sysmem : {} > RAM /* DYNAMIC MEMORY ALLOCATION AREA */\r
.stack : {} > RAM (HIGH) /* SOFTWARE SYSTEM STACK */\r
\r
-/* Modified to test the use of high memory. */\r
+/* Can be modified to test the use of high memory. */\r
/* Original line. */\r
-/* .text : {}>> FLASH | FLASH2 */ /* CODE */\r
+ .text : {}>> FLASH | FLASH2 /* CODE */\r
/* Modified line. */\r
- .text : {}>> FLASH2 /* CODE */\r
+/* .text : {}>> FLASH2 */ /* CODE */\r
.main : {} > FLASH\r
.text:_isr : {} > FLASH /* ISR CODE SPACE */\r
.cinit : {} > FLASH /* INITIALIZATION TABLES */\r