| 
									
										
										
										
											2023-07-26 10:04:10 +00:00
										 |  |  | # SPDX-License-Identifier: GPL-3.0-or-later
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # CMake configuration file for the T-TWR Plus OpenRTX target
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | cmake_minimum_required(VERSION 3.20.0)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | target_sources(app | 
					
						
							|  |  |  |   PRIVATE
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/platform/mcu/ESP32S3/drivers/delays.c
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/platform/targets/ttwrplus/platform.c
 | 
					
						
							| 
									
										
										
										
											2023-08-04 16:39:10 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/targets/ttwrplus/pmu.cpp
 | 
					
						
							| 
									
										
										
										
											2023-07-26 10:04:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-28 06:15:54 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/drivers/display/SH1106_ttwrplus.c
 | 
					
						
							| 
									
										
										
										
											2023-07-30 10:14:20 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/drivers/keyboard/keyboard_ttwrplus.c
 | 
					
						
							| 
									
										
										
										
											2023-08-07 07:02:43 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/drivers/baseband/radio_ttwrplus.cpp
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/platform/drivers/baseband/AT1846S_SA8x8.cpp
 | 
					
						
							| 
									
										
										
										
											2023-08-29 20:16:06 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/drivers/baseband/SA8x8.c
 | 
					
						
							| 
									
										
										
										
											2023-08-23 11:37:50 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/drivers/GPS/GPS_ttwrplus.c
 | 
					
						
							| 
									
										
										
										
											2023-10-15 19:32:11 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/drivers/audio/audio_ttwrplus.c
 | 
					
						
							| 
									
										
										
										
											2023-07-28 06:15:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-26 10:04:10 +00:00
										 |  |  |     ${OPENRTX_ROOT}/platform/drivers/stubs/cps_io_stub.c
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/platform/drivers/stubs/nvmem_stub.c
 | 
					
						
							| 
									
										
										
										
											2023-08-04 16:39:10 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/subprojects/XPowersLib/src/XPowersLibInterface.cpp
 | 
					
						
							| 
									
										
										
										
											2023-07-26 10:04:10 +00:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | target_include_directories(app | 
					
						
							|  |  |  |   PRIVATE
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/platform/targets/ttwrplus
 | 
					
						
							| 
									
										
										
										
											2023-08-04 16:39:10 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/subprojects/XPowersLib/src
 | 
					
						
							|  |  |  |     ${OPENRTX_ROOT}/subprojects/XPowersLib/src/REG
 | 
					
						
							| 
									
										
										
										
											2023-07-26 10:04:10 +00:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-10 10:15:06 +00:00
										 |  |  | target_compile_definitions(app PRIVATE PLATFORM_TTWRPLUS SCREEN_BRIGHTNESS UI_NO_KEYBOARD)
 |