mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			STM32L1: build error with STM32L151xB MCU
							parent
							
								
									03252690d9
								
							
						
					
					
						commit
						c594d6ee95
					
				| 
						 | 
				
			
			@ -148,9 +148,9 @@ void rtc_init(void)
 | 
			
		|||
        error("RTC initialization failed\n");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
#if !(TARGET_STM32F1) && !(TARGET_STM32F2)
 | 
			
		||||
#if !(TARGET_STM32F1) && !(TARGET_STM32F2) && !(STM32L151xB)
 | 
			
		||||
    /* STM32F1 : there are no shadow registers */
 | 
			
		||||
    /* STM32F2 : shadow registers can not be bypassed */
 | 
			
		||||
    /* STM32F2/STM32L151xB : shadow registers can not be bypassed */
 | 
			
		||||
    if (HAL_RTCEx_EnableBypassShadow(&RtcHandle) != HAL_OK) {
 | 
			
		||||
        error("EnableBypassShadow error\n");
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue