Specifying the model file, Specifying neuron c compiler preferences – Echelon FTXL User Manual
Page 72
![background image](/manuals/735717/72/background.png)
60
Using the LonTalk Interface Developer Utility
If your company is not a member of the L
ON
M
ARK
International, you can obtain a
temporary manufacturer ID from
. You do not have to join
L
ON
M
ARK
International to obtain a temporary manufacturer ID.
For prototypes and example applications, you can use the F:FF:FF manufacturer
ID, but you should not release a device that uses this non-unique identifier into
production.
If you want to specify a program ID that does not follow the standard program ID
format, you must use the command-line interface for the LonTalk Interface
Developer utility. L
ON
M
ARK
International requires all interoperable L
ON
W
ORKS
devices to use a standard-format program ID. Using a non-standard format for
the program ID will prevent the use of functional blocks and configuration
properties, and will prevent certification.
Specifying the Model File
From the Model File Selection page of the utility, you specify the model file for
the device. You can also click Edit to open the model file in whatever editor is
associated with the .nc file type, for example, Notepad or the NodeBuilder
Development Tool.
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 3,
, on page 23 for more information about the
model file.
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 FTXL 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").
Specifying additional directories is optional. Use separate lines to specify
multiple directories.