mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Default value for APPLICATION_ADDR if restrict_size not given
							parent
							
								
									79f06c7b6c
								
							
						
					
					
						commit
						72c5c78642
					
				| 
						 | 
				
			
			@ -173,7 +173,9 @@ void SystemInit (void)
 | 
			
		|||
#if ((__FPU_PRESENT == 1) && (__FPU_USED == 1))
 | 
			
		||||
    SCB->CPACR |= ((3UL << 10*2) | (3UL << 11*2));    /* set CP10, CP11 Full Access */
 | 
			
		||||
#endif /* ((__FPU_PRESENT == 1) && (__FPU_USED == 1)) */
 | 
			
		||||
    //SCB->VTOR  = RDA_CODE_BASE;                       /* vector table in flash      */
 | 
			
		||||
#ifndef APPLICATION_ADDR
 | 
			
		||||
#define APPLICATION_ADDR RDA_CODE_BASE	/* vector table in flash, add support for bootloader jump  */
 | 
			
		||||
#endif
 | 
			
		||||
    SCB->VTOR = APPLICATION_ADDR;
 | 
			
		||||
    NVIC_SetPriorityGrouping(0x06);                   /* 1 bit for pre-emption pri  */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue