targets/Linux/XSD
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 07 Jun 2018 13:45:35 +0300
changeset 2173 976841968d74
parent 204 f572ab819769
child 3732 929276eea252
permissions -rwxr-xr-x
Add retain basic implementation on GNU/Linux

Retain is saved in file and backup of this file is done every time.
File isn't saved on every PLC cycle to avoid high I/O load.
By default, retain is saved every second and on PLC stop/shutdown.
It's possible to override retain flush period by using CFLAGS option
in project's settings. For example, for 0.5 seconds period
use "-DFILE_RETAIN_SAVE_PERIOD_S=0.5".

                  <xsd:element name="Linux">
                    <xsd:complexType>
                      %(toolchain_gcc)s
                    </xsd:complexType>
                  </xsd:element>