mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			STM32L1: allow redefinition of FLASH_SIZE macro
							parent
							
								
									8c0ff8be79
								
							
						
					
					
						commit
						293b3bfdc0
					
				| 
						 | 
				
			
			@ -137,9 +137,10 @@ typedef struct
 | 
			
		|||
  * @{
 | 
			
		||||
  */ 
 | 
			
		||||
 | 
			
		||||
#ifndef FLASH_SIZE // MBED
 | 
			
		||||
#define FLASH_SIZE                (uint32_t)((*((uint32_t *)FLASHSIZE_BASE)&0xFFFFU) * 1024U)
 | 
			
		||||
#endif // MBED
 | 
			
		||||
#define FLASH_PAGE_SIZE           (256U)  /*!< FLASH Page Size in bytes */
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
  * @}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue