doc/overview_fr.po
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Sun, 06 Jan 2019 03:11:39 +0300
changeset 2501 eba2bbb2dd9a
parent 811 66a8812457d6
permissions -rw-r--r--
Make online debug optional

It could be useful for very small targets like Atmega (Arduino) and
for target bring-up there developer want to have running PLC program,
but has not implemented runtime communication yet.


TARGET_DEBUG_AND_RETAIN_DISABLE - completely disable debug and retain
functionality. Previously named TARGET_DEBUG_DISABLE.

TARGET_ONLINE_DEBUG_DISABLE - can be used to enable retain
functionality (no define TARGET_DEBUG_AND_RETAIN_DISABLE is used), but disable
online debug with corresponding RAM/FLASH overhead.

TARGET_LOGGING_DISABLE - disables logging functionality from runtime and PLC program

TARGET_EXT_SYNC_DISABLE - disables PLC program synchronization with
external events. For example, it could be used to synchronize several
PLCs that control motors for different axes.

By default all these options are off.

To test generate program for Generic target, put following files in
project files directory and run build.sh after generating PLC program.
This is very easy to integrate into makefile (Generic target).

[------------- build.sh --------------------------]
files=$(find $PWD/../build -iname '*.c' | grep -v POUS.c)
arm-none-eabi-gcc \
-DTARGET_DEBUG_AND_RETAIN_DISABLE \
-DTARGET_ONLINE_DEBUG_DISABLE \
-DTARGET_LOGGING_DISABLE \
-DTARGET_EXT_SYNC_DISABLE \
-flto -ffunction-sections -fdata-sections -I../../../../matiec/lib/C \
$files \
main.c \
-Wl,--Map=./program.map,--cref \
-nodefaultlibs --specs=nano.specs -Wl,--static -Wl,--gc-section -Wl,--start-group -lc -lm -lnosys -lgcc -Wl,--end-group
[------------------------------------------------]

[------------- main.c --------------------------]
#ifndef TARGET_DEBUG_AND_RETAIN_DISABLE
void Retain(void){}
void InValidateRetainBuffer(void){}
void ValidateRetainBuffer(void){}
#endif

extern void __run(void);
int main(void)
{
for(;;) {
__run();
// sleep common_ticktime__ ns
// add common_ticktime__ ns to __CURRENT_TIME
}
return 0;
}
[------------------------------------------------]
# SOME DESCRIPTIVE TITLE.
# Copyright (C) is 21st century inquisition
# This file is distributed under the same license as the Beremiz package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: Beremiz 1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-08 00:41\n"
"PO-Revision-Date: 2012-09-07 11:18+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: FRANCE\n"
"X-Poedit-SourceCharset: utf-8\n"

# b82e66796943449ea9e01b02ddcd12ca
#: ../../overview.rst:2
msgid "Project overview"
msgstr "Vue d'ensemble sur le projet"

# 32289df91d6b4cdeb2c54604118bfc69
#: ../../overview.rst:4
msgid ""
"In order to target the widest possible range of programmable devices and "
"keep efficient, Beremiz use C code as an intermediate language."
msgstr ""
"Dans le but de viser la plus grande variété de dispositifs programmables "
"tout en restant efficace, Beremiz utilise le C comme langage intermédiaire."

# 6abccf881e4e478987befa2e9ce5a9ce
#: ../../overview.rst:6
msgid ""
"To be executed, C needs to be compiled. `GCC <http://gcc.gnu.org>`_ serve "
"that purpose perfectly."
msgstr ""
"Afin de pouvoir être exécuté le C doit être compilé. Le `GCC <http://gcc.gnu."
"org>`_ rempli cette fonction parfaitement. "

# 5057a1dfe63a475981bad9028c8e3be8
#: ../../overview.rst:8
msgid ""
"PLC program is expressed in languages defined in IEC-61131, including "
"graphical languages. Thanks to PLCopen TC2, those graphical languages have a "
"standardised representation, in XML."
msgstr ""
"Les programmes destinés au automates programmables sont exprimés dans les "
"langages définis par la norme IEC-61131, incluant des langages graphiques. "
"Thanks to PLCopen TC2, those graphical languages have a standardised "
"representation, in XML."

# a6318fafe7b948a2b59e153b23de51f2
#: ../../overview.rst:10
msgid "To be continued."
msgstr ""