updated generators

This commit is contained in:
Robin Müller 2021-06-08 17:10:47 +02:00
parent c28e608a33
commit 2b3d4306b9
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
7 changed files with 17 additions and 13 deletions

3
.gitmodules vendored
View File

@ -16,3 +16,6 @@
[submodule "fsfw_hal"]
path = fsfw_hal
url = https://egit.irs.uni-stuttgart.de/fsfw/fsfw-hal.git
[submodule "generators/fsfwgen"]
path = generators/fsfwgen
url = https://egit.irs.uni-stuttgart.de/fsfw/fsfw-generators.git

View File

@ -11,10 +11,10 @@ On Windows, Build Tools installation might be necessary
"""
import datetime
from modgen.events.event_parser import handle_csv_export, handle_cpp_export, SubsystemDefinitionParser, EventParser
from modgen.parserbase.file_list_parser import FileListParser
from modgen.utility.printer import PrettyPrinter
from modgen.utility.file_management import copy_file, move_file
from fsfwgen.events.event_parser import handle_csv_export, handle_cpp_export, SubsystemDefinitionParser, EventParser
from fsfwgen.parserbase.file_list_parser import FileListParser
from fsfwgen.utility.printer import PrettyPrinter
from fsfwgen.utility.file_management import copy_file, move_file
from definitions import BspType

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 83 translations.
* @details
* Generated on: 2021-05-18 16:15:50
* Generated on: 2021-06-08 17:09:32
*/
#include "translateEvents.h"

1
generators/fsfwgen Submodule

@ -0,0 +1 @@
Subproject commit 78e890f947f55a9417d390fea8d9bd5684d11730

View File

@ -10,10 +10,10 @@ On Windows, Build Tools installation might be necessary
"""
import datetime
from modgen.objects.objects import sql_object_exporter, ObjectDefinitionParser, write_translation_file, \
from fsfwgen.objects.objects import sql_object_exporter, ObjectDefinitionParser, write_translation_file, \
export_object_file, write_translation_header_file
from modgen.utility.printer import PrettyPrinter
from modgen.utility.file_management import copy_file, move_file
from fsfwgen.utility.printer import PrettyPrinter
from fsfwgen.utility.file_management import copy_file, move_file
from definitions import BspType, DATABASE_NAME

View File

@ -9,10 +9,10 @@ Returnvalue exporter.
To use MySQLdb, run pip install mysqlclient or install in IDE. On Windows, Build Tools installation might be necessary.
:data: 21.11.2019
"""
from modgen.parserbase.file_list_parser import FileListParser
from modgen.returnvalues.returnvalues_parser import InterfaceParser, ReturnValueParser
from modgen.utility.sql_writer import SqlWriter
from modgen.utility.file_management import move_file
from fsfwgen.parserbase.file_list_parser import FileListParser
from fsfwgen.returnvalues.returnvalues_parser import InterfaceParser, ReturnValueParser
from fsfwgen.utility.sql_writer import SqlWriter
from fsfwgen.utility.file_management import move_file
from definitions import BspType, DATABASE_NAME

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 83 translations.
* @details
* Generated on: 2021-05-18 16:15:50
* Generated on: 2021-06-08 17:09:32
*/
#include "translateEvents.h"