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