mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			358 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			358 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
idf_component_register(SRCS "bootloader_start.c"
 | 
						|
                    REQUIRES bootloader bootloader_support)
 | 
						|
 | 
						|
idf_build_get_property(target IDF_TARGET)
 | 
						|
set(scripts "ld/${target}/bootloader.ld")
 | 
						|
 | 
						|
if(NOT CONFIG_IDF_TARGET_ESP32C3)
 | 
						|
    list(APPEND scripts "ld/${target}/bootloader.rom.ld")
 | 
						|
endif()
 | 
						|
 | 
						|
target_linker_script(${COMPONENT_LIB} INTERFACE "${scripts}")
 |