Fix linker script handling of irom/irom0 segments
This commit is contained in:
		
							parent
							
								
									bcc22bdfc5
								
							
						
					
					
						commit
						c30f48c3b1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -267,8 +267,8 @@ SECTIONS | |||
|        (except for libgcc which is matched above.) | ||||
|     */ | ||||
|     *(.literal .text .literal.* .text.*) | ||||
|     /* SDK libraries expect ICACHE_FLASH_ATTR/etc functions to be loaded explicitly as IROM */ | ||||
|     *sdklib*:*(.irom.* .irom.*.* .irom0.*) | ||||
|     /* Anything explicitly marked as "irom" or "irom0" should go here */ | ||||
|     *(.irom.* .irom.*.* .irom0.*) | ||||
|     _irom0_text_end = ABSOLUTE(.); | ||||
|   } >irom0_0_seg :irom0_0_phdr | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue