File system requirements – Echelon LonTal Stack User Manual
Page 154
142
Porting a LonTalk Stack Application
Preprocessor Definition
Description
LONTALK_STACK_PLATFORM
An application device using a
native LonWorks network
interface.
LONTALK_IP852_STACK_PLATFORM
An application device using
an IP-852 network interface.
LONTALK_ROUTER_PLATFORM
An IP-852 to native LonWorks
router.
These preprocessor definitions control which features to be included in the
LonTalk Stack by defining other preprocessor definitions that are stored in the
Source\Shared\include\LtaDefine.h file. You generally use these
definitions with the FEATURE_INCLUDED or PRODUCT_IS macros, which
are also defined in the LtaDefine.h file.
File System Requirements
The LonTalk API defines callback handlers for various forms of non-volatile
memory. For example, a native LonWorks application device may store its
non-volatile data directly to flash without a file system.
The IP-852 portions of the LonTalk Stack source, however, do require a file
system. If your application is an IP-852 device or IP-852 router, you must either
provide a file system or port the file system references used by the IP-852 source
as necessary. For more information, you can view the
Source\Shared\LtFailSafe.cpp and Source\Stack\LtPlatform.cpp files.