Specifying neuron c compiler preferences – Echelon LonTal Stack User Manual
Page 102
90
Using the LonTalk Interface Developer Utility
The model file is a simple source file written using a subset of the Neuron C
Version 2.1 programming language. The model file contains declarations of
network variables, configuration properties, functional blocks, and their
relationships.
The LonTalk Interface Developer utility uses the information in the model file,
combined with other user preferences, to generate the application framework
files and the interface files. You must compile and link the application
framework files with the host application.
See Chapter 6, Creating a Model File, for more information about the model file.
Click Next.
Specifying Neuron C Compiler Preferences
From the Neuron C Compiler Preferences page of the utility, you can specify
macros for the Neuron C compiler preprocessor and extend the include search
path for the compiler.
For the preprocessor macros (#define statements), you can only specify macros
that do not require values. These macros are optional. Use separate lines to
specify multiple macros.
The _FTXL macro is always predefined by the LonTalk Interface Developer
utility, and does not need to be specified explicitly. You can use this macro to
control conditional compilation for LonTalk Stack applications. In addition, the
utility predefines the _MODEL_FILE macro for model file definitions and the
_LID3 macro for LonTalk Interface Developer utility macros.
For the search path, you can specify additional directories in which the compiler
should search for user-defined include files (files specified within quotation
marks, for example, #include "my_header.h").