bsp name is gen csv

This commit is contained in:
Robin Müller 2021-05-18 16:16:02 +02:00
parent 3cf93164a4
commit fbb7dfa5ee
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
10 changed files with 12 additions and 10 deletions

View File

@ -30,9 +30,6 @@ MOVE_CSV_FILE = True
PARSE_HOST_BSP = True
CSV_FILENAME = "mod_events.csv"
CSV_MOVE_DESTINATION = "../"
CPP_FILENAME = "translateEvents.cpp"
CPP_H_FILENAME = "translateEvents.h"
@ -40,6 +37,9 @@ BSP_SELECT = BspType.BSP_Q7S
BSP_DIR_NAME = BSP_SELECT.value
CSV_FILENAME = f"{BSP_SELECT.value}_events.csv"
CSV_MOVE_DESTINATION = "../"
if BSP_SELECT == BspType.BSP_Q7S or BSP_SELECT == BspType.BSP_LINUX_BOARD:
FSFW_CONFIG_ROOT = f"../../linux/fsfwconfig"

View File

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

View File

@ -41,7 +41,7 @@ CPP_COPY_DESTINATION = f"{FSFW_CONFIG_ROOT}/objects/"
CSV_MOVE_DESTINATION = "../"
CPP_FILENAME = "translateObjects.cpp"
CPP_H_FILENAME = "translateObjects.h"
CSV_OBJECT_FILENAME = "mod_objects.csv"
CSV_OBJECT_FILENAME = f"{BSP_SELECT.value}_objects.csv"
FILE_SEPARATOR = ";"

View File

@ -2,7 +2,7 @@
* @brief Auto-generated object translation file.
* @details
* Contains 61 translations.
* Generated on: 2021-05-18 16:13:47
* Generated on: 2021-05-18 16:15:47
*/
#include "translateObjects.h"

View File

@ -21,14 +21,16 @@ MOVE_CSV_FILE = True
EXPORT_TO_SQL = True
PRINT_TABLES = True
CSV_RETVAL_FILENAME = "mod_returnvalues.csv"
CSV_MOVE_DESTINATION = "../"
FILE_SEPARATOR = ';'
MAX_STRING_LENGTH = 32
BSP_SELECT = BspType.BSP_Q7S
BSP_DIR_NAME = BSP_SELECT.value
CSV_RETVAL_FILENAME = f"{BSP_SELECT.value}_returnvalues.csv"
CSV_MOVE_DESTINATION = "../"
ADD_LINUX_FOLDER = False
if BSP_SELECT == BspType.BSP_Q7S or BSP_SELECT == BspType.BSP_LINUX_BOARD:
FSFW_CONFIG_ROOT = f"../../linux/fsfwconfig"
ADD_LINUX_FOLDER = True

View File

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

View File

@ -2,7 +2,7 @@
* @brief Auto-generated object translation file.
* @details
* Contains 61 translations.
* Generated on: 2021-05-18 16:13:47
* Generated on: 2021-05-18 16:15:47
*/
#include "translateObjects.h"