mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 15:11:40 +01:00 
			
		
		
		
	Apply the pre-commit hook whitespace fixes to all files in the repo. (Line endings, blank lines at end of file, trailing whitespace)
		
			
				
	
	
		
			19 lines
		
	
	
		
			721 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			721 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # This shell snippet appends useful esp-idf tools to your PATH environment
 | |
| # variable. This means you can run esp-idf tools without needing to give the
 | |
| # full path.
 | |
| #
 | |
| # Use this script like this:
 | |
| #
 | |
| # . ${IDF_PATH}/add_path.sh
 | |
| #
 | |
| if [ -z ${IDF_PATH} ]; then
 | |
| 	echo "IDF_PATH must be set before including this script."
 | |
| else
 | |
| 	IDF_ADD_PATHS_EXTRAS="${IDF_PATH}/components/esptool_py/esptool"
 | |
| 	IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/espcoredump"
 | |
| 	IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/partition_table/"
 | |
| 	IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/tools/"
 | |
| 	export PATH="${IDF_ADD_PATHS_EXTRAS}:${PATH}"
 | |
| 	echo "Added to PATH: ${IDF_ADD_PATHS_EXTRAS}"
 | |
| fi
 |