Initial commit
This commit is contained in:
10
test-bench/test4/ide-qtcreator-test4-idf/common.pri
Normal file
10
test-bench/test4/ide-qtcreator-test4-idf/common.pri
Normal 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"
|
@ -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
|
@ -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
|
42
test-bench/test4/ide-qtcreator-test4-idf/test4-idf.pro
Normal file
42
test-bench/test4/ide-qtcreator-test4-idf/test4-idf.pro
Normal file
@ -0,0 +1,42 @@
|
||||
QT += core
|
||||
QT -= gui
|
||||
|
||||
TARGET = test4
|
||||
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/statemachine04a.cpp \
|
||||
../src/app/statemachine04b.cpp \
|
||||
../src/app/testfactory04.cpp \
|
||||
../src/events/evrestart.cpp
|
||||
|
||||
HEADERS += \
|
||||
../src/app/statemachine04a.h \
|
||||
../src/app/statemachine04b.h \
|
||||
../src/app/testfactory04.h \
|
||||
../src/events/eventids.h \
|
||||
../src/events/evrestart.h \
|
||||
config/xf-port-config.h
|
Reference in New Issue
Block a user