// --------------------------------------------------------------------------
/*
	To build a multi-section application
	1. In makefile, set MULTIPLE_CODE_SECTIONS = TRUE
	2. Edit Sections.def to specify the number of code sections desired
	3. Modify this file to match the code sections
	   (Sections.def and this file are set up with 2 extra sections
	   by default.)
	4. Include this file in project sources.
	5. Annotate each function with a section define like so: 
		void DoWork() EXTRA_SECTION_ONE;
		void DrawForm() EXTRA_SECTION_TWO;
	   Notice that the annotations need to be visible at the function
	   definition, and everywhere the function is used.  Any function
	   without an annotation will go into the default code section.

	To effectively disable the multi-section annotations, 
	just define these section macros to expand to nothing.

	Be sure to follow the instructions and warnings given at:
	http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC17

*/
// --------------------------------------------------------------------------

#ifndef _SECTIONS_H
#define _SECTIONS_H

#define ES1  __attribute__ ((section ("code1")))
#define ES2  __attribute__ ((section ("code2")))
#define ES3  __attribute__ ((section ("code3")))
#define ES4  __attribute__ ((section ("code4")))
#define ES5  __attribute__ ((section ("code5")))
#define ES6  __attribute__ ((section ("code6")))
#define ES7  __attribute__ ((section ("code7")))
#define ES8  __attribute__ ((section ("code8")))
#define ES9  __attribute__ ((section ("code9")))
#define ESA  __attribute__ ((section ("codeA")))

#endif 
