From: richardbarry Date: Sat, 1 Jan 2011 17:35:20 +0000 (+0000) Subject: Add warning line into the CCS4/MSP430X project to prompt the use of the CreateProject... X-Git-Tag: V6.1.1~50 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8d9defd2a617a3d4a976ccb6bf7ca0b4b8aa6d6d;p=freertos Add warning line into the CCS4/MSP430X project to prompt the use of the CreateProjectDirectoryStructure.bat batch file. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1207 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/MSP430X_MSP430F5438_CCS4/.cdtbuild b/Demo/MSP430X_MSP430F5438_CCS4/.cdtbuild index 7b70eb301..1bc70d401 100644 --- a/Demo/MSP430X_MSP430F5438_CCS4/.cdtbuild +++ b/Demo/MSP430X_MSP430F5438_CCS4/.cdtbuild @@ -93,9 +93,6 @@ - - - diff --git a/Demo/MSP430X_MSP430F5438_CCS4/CreateProjectDirectoryStructure.bat b/Demo/MSP430X_MSP430F5438_CCS4/CreateProjectDirectoryStructure.bat index 8d0e30052..5dff36f85 100644 --- a/Demo/MSP430X_MSP430F5438_CCS4/CreateProjectDirectoryStructure.bat +++ b/Demo/MSP430X_MSP430F5438_CCS4/CreateProjectDirectoryStructure.bat @@ -29,7 +29,7 @@ IF EXIST FreeRTOS_Source Goto END copy ..\..\Source\include\*.* FreeRTOS_Source\include REM Copy the portable layer files - copy ..\..\Source\portable\GCC\ARM_CM3\*.* FreeRTOS_Source\portable\CCS4\MSP430X + copy ..\..\Source\portable\CCS4\MSP430X\*.* FreeRTOS_Source\portable\CCS4\MSP430X REM Copy the basic memory allocation files copy ..\..\Source\portable\MemMang\heap_1.c FreeRTOS_Source\portable\MemMang diff --git a/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/main.c b/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/main.c index 7f83be8ca..3434e1789 100644 --- a/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/main.c +++ b/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/main.c @@ -236,6 +236,13 @@ typedef struct /*-----------------------------------------------------------*/ +/* The following #error directive is to remind users that a batch file must be + * executed prior to this project being built. The batch file *cannot* be + * executed from within CCS4! Once it has been executed, re-open the CCS4 + * project and remove the #error line below. + */ +#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above. + void main( void ) { /* Configure the peripherals used by this demo application. This includes