mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	
		
			
	
	
		
			10 lines
		
	
	
		
			271 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
		
			271 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
							 | 
						||
| 
								 | 
							
								# SPDX-License-Identifier: Apache-2.0
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import os
							 | 
						||
| 
								 | 
							
								import sys
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								tools_dir = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', '..'))
							 | 
						||
| 
								 | 
							
								if tools_dir not in sys.path:
							 | 
						||
| 
								 | 
							
								    sys.path.append(tools_dir)
							 |