Reducing the flash size of FreeRTOS

spotdott wrote on Friday, February 05, 2010:

Okay so after butchering the demo code I was able to get the size down to 70kb.  There’s got to be other things to get rid of.  For example, all these include files that were part of the demo:

#include "death.h"
#include "integer.h"
#include "blocktim.h"
#include "partest.h"
#include "semtest.h"
#include "PollQ.h"
#include "flash.h"
#include "comtest2.h"

Can I get rid of any of them?  It seems some of them are needed for tasks that were specific to the demo application:

	/* Start the standard demo tasks. */
    vCreateBlockTimeTasks();
    vStartSemaphoreTasks( mainSEM_TEST_PRIORITY );
    vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY );
    vStartIntegerMathTasks( mainINTEGER_TASK_PRIORITY );
	vStartLEDFlashTasks( mainFLASH_TASK_PRIORITY );

Are these tasks absolutely necessary for the proper function of FreeRTOS?  I’m guessing that these tasks were created to demonstrate the capabilities of the operating system.  Am I getting warm?

Thanks!

spotdott