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).

pull/4/head
Richard Barry 12 years ago
parent 1902d2b64a
commit e3b5f36c3a

@ -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;

@ -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>

@ -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;

@ -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>

Loading…
Cancel
Save