mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 16:41:44 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			290 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			290 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
echo '/*'
 | 
						|
echo 'ESP32 ROM address table'
 | 
						|
echo 'Generated for ROM with MD5sum:'
 | 
						|
md5sum $1
 | 
						|
echo '*/'
 | 
						|
xtensa-esp108-elf-nm $1 | grep '[0-9a-f] [TBRD]' | while read adr ttp nm; do 
 | 
						|
	if ! echo "$nm" | grep -q -e '^_bss' -e '_heap'; then
 | 
						|
		echo "PROVIDE ( $nm = 0x$adr );"; 
 | 
						|
	fi
 | 
						|
done |