Initial commit

This commit is contained in:
2023-09-19 15:59:49 +02:00
commit bef0bade14
1860 changed files with 582828 additions and 0 deletions

View File

@ -0,0 +1,10 @@
PRI_PATH = $$PWD
# Points to 'common' folder containing files common for all tests.
COMMON_PATH = "$${PRI_PATH}/../../common"
INCLUDEPATH += \
"$${COMMON_PATH}"
HEADERS += \
"$${COMMON_PATH}/config/xf-config.h"

View File

@ -0,0 +1,11 @@
#ifndef TRACE_CONFIG_H
#define TRACE_CONFIG_H
#define USE_PLATFORM_QT_TRACE 1
#define TRACE_ADD_CRLF_SEQU 0
#define TRACE_UART_INDEX 0
#define TRACE_UART_BAUD_RATE 115200
#endif // TRACE_CONFIG_H

View File

@ -0,0 +1,12 @@
#ifndef XF_PORT_CONFIG_H
#define XF_PORT_CONFIG_H
/**
* Waring: Only one PORT define should be enabled at a time!
*/
#define PORT_IDF_STM32CUBE 0
#define PORT_STM32CUBE_CMSIS_FREERTOS 0
#define PORT_IDF_QT 1
#define PORT_ACTIVE_QT 0
#endif // XF_PORT_CONFIG_H

View File

@ -0,0 +1,42 @@
QT += core
QT -= gui
TARGET = test5
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG += c++11
DEFINES += TC_QTCREATOR
DEFINES += TRACE_ENABLE_TIMESTAMP
XF_PATH = ../../../src/simplified/xf
DEPENDPATH += . \
INCLUDEPATH += . \
.. \
../src \
$${XF_PATH}/include \
../../../src/mdw \
../../../src/platform/qt
include(common.pri)
include($${XF_PATH}/xf-core.pri)
include($${XF_PATH}/port/common/xf-port-common.pri)
include($${XF_PATH}/port/idf-qt/xf-port-idf-qt.pri)
include(../../../src/platform/qt/platform-qt.pri)
SOURCES += \
../src/main.cpp \
../src/app/statemachine05a.cpp \
../src/app/statemachine05b.cpp \
../src/app/testfactory05.cpp \
../src/events/evrestart.cpp
HEADERS += \
../src/app/statemachine05a.h \
../src/app/statemachine05b.h \
../src/app/testfactory05.h \
../src/events/eventids.h \
../src/events/evrestart.h \
config/xf-port-config.h