mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			heap and stack test
							parent
							
								
									b75379f353
								
							
						
					
					
						commit
						f5f8deb7ef
					
				| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * K64F ARM GCC linker script file
 | 
					 * NCS36510 ARM GCC linker script file
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
MEMORY
 | 
					MEMORY
 | 
				
			||||||
| 
						 | 
					@ -223,9 +223,9 @@ SECTIONS
 | 
				
			||||||
        . += 0x800 - (. - __StackLimit);
 | 
					        . += 0x800 - (. - __StackLimit);
 | 
				
			||||||
    } > RAM
 | 
					    } > RAM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Set stack top to end of RAM, and stack limit move down by
 | 
					    /* Set stack top to end of RAM */
 | 
				
			||||||
     * size of stack_dummy section */
 | 
					    __StackTop = ORIGIN(RAM) + LENGTH(RAM);
 | 
				
			||||||
    __StackTop = ADDR(.stack) + SIZEOF(.stack);
 | 
					    __StackLimit = __StackTop - SIZEOF(.stack);
 | 
				
			||||||
    __StackLimit = ADDR(.stack);
 | 
					 | 
				
			||||||
    PROVIDE(__stack = __StackTop);
 | 
					    PROVIDE(__stack = __StackTop);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue