Move the #error message about running the CreateProjectDirectoryStructure batch file from FreeRTOSConfig.h to main.c so it shows when the batch file has not been executed (XMC4000 Dave and Tasking projects).

This commit is contained in:
Richard Barry 2013-09-10 13:58:09 +00:00
parent 1902d2b64a
commit e3b5f36c3a
4 changed files with 16 additions and 16 deletions

View File

@ -79,14 +79,6 @@
* See http://www.freertos.org/a00110.html.
*----------------------------------------------------------*/
/*
* The following #error directive is to remind users that a batch file must be
* executed prior to this project being built. Once it has been executed
* remove the #error line below.
*/
#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.
#include <stdint.h>
extern uint32_t SystemCoreClock;

View File

@ -85,6 +85,13 @@
* that is found on the FreeRTOS.org web site.
*/
/*
* The following #error directive is to remind users that a batch file must be
* executed prior to this project being built. Once it has been executed
* remove the #error line below.
*/
#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.
/* Standard includes. */
#include <stdio.h>

View File

@ -79,14 +79,6 @@
* See http://www.freertos.org/a00110.html.
*----------------------------------------------------------*/
/*
* 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 the IDE! Once it has been executed, re-open or refresh
* the Eclipse project and remove the #error line below.
*/
#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.
#include <stdint.h>
extern uint32_t SystemCoreClock;

View File

@ -85,6 +85,15 @@
* that is found on the FreeRTOS.org web site.
*/
/*
* 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 the IDE! Once it has been executed, re-open or refresh
* the Eclipse project and remove the #error line below.
*/
#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.
/* Standard includes. */
#include <stdio.h>