Difference between revisions of "Event class Compile"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
Line 1: Line 1:
  
''<span style="color:red;">No additional information</span>''
+
The Compile event class is called at various stages during compilation of the downloadable code, and allows a component to customise their C code as raw text. It covers everything from the size of a variables array to the contents of interrupt handlers.
  
 
See the individual events for details of how to use this event class
 
See the individual events for details of how to use this event class
Line 41: Line 41:
  
 
==See also==
 
==See also==
''<span style="color:red;">No additional information</span>''
+
:''[[API Expand]]'' class

Revision as of 21:20, 14 May 2013

The Compile event class is called at various stages during compilation of the downloadable code, and allows a component to customise their C code as raw text. It covers everything from the size of a variables array to the contents of interrupt handlers.

See the individual events for details of how to use this event class

Events provided for this class

AddProperty Sent to a component to allow dynamic amendment of global property declarations
AddConst Sent to a component to allow dynamic amendment of global variable declarations
AddVarSize Sent to a component to allow dynamic amendment of global array-size declarations
AddVar Sent to a component to allow dynamic amendment of global constant declarations
AddHeader Sent to a component to allow dynamic amendment of header code
AddInterrupts Sent to a component to allow dynamic amendment of the interrupts for a component
AddInterrupt Sent to a component to allow dynamic amendment of a single interrupts code
Start Broadcast to all components that compilation is starting
Stop Broadcast to all components that compilation has stopped
GetVarSize Sent to a component to amend the size of the expected array

See also

API Expand class