# Release Notes for STM8L10x Standard Peripheral Drivers Copyright © 2014 STMicroelectronics
## Contents Update History License ## Update History ### V1.2.1 / 30-September-2014 Main changes stm8l10x_flash.c/.h Update timeout variable declaration on 16 bit instead of 32 bit in the FLASH_WaitForLastOperation() function to avoid __ramfunc issue with IAR. stm8l10x_rst.c/.h Update the RST_GetFlagStatus() function implementation to return the state SET/RESET. ### V1.2.0 / 01-June-2012 Main changes stm8l10x.h Remove SWIM structure declaration stm8l10x_i2c.c/.h Update I2C driver with more functional description and add new functions: Update I2C_Flag_TypeDef definition Update IS_I2C_CLEAR_FLAG_OK macro definition Update I2C_Event_TypeDef definition and naming Update I2C_ITPendingBit_TypeDef definition Update I2C_GetITStatus() function to check on the interrupt configuration bits Add defines for REGISTER_Mask, REGISTER_SR1_Index, REGISTER_SR2_Index, FLAG_Mask and ITEN_Mask Update I2C_ClearFlag() function to clear only the flags that are cleared by writing 0 Add IS_I2C_CLEAR_ITPENDINGBIT_OK macro Update I2C_ClearITPendingBit() function to clear only the flags that are cleared by writing 0 Update I2C_GetFlagStatus() function Add new function I2C_GetLastEvent() Update I2C_CheckEvent() function ### V1.1.2 / 30-May-2011 Main changes stm8l10x.h Add IAR compiler definition and support Add CONST, EEPROM and MEMCPY definition for the supported toolchains Add RAM_EXECUTION define to handle function execution from RAM Add interrupts macro definitions for IAR compiler Add "INTERRUPT_HANDLER" macro to manage interrupt vector declarations for all supported toochains Remove AWU_CSR_MR bit definition stm8l10x_awu.c/.h Update AWU_LSICalibrationConfig() function by removing AWU_CSR_MR bit call Remove AWU_ReInitCounter() function stm8l10x_beep.c Update BEEP_LSICalibrationConfig() function by removing AWU_CSR_MR bit call stm8l10x_flash.c/.h Update Flash driver to support IAR and Raisonance Compilers Add detailed description of execution from RAM using functions provided by this driver and with the different supported toolchains. For more information, refer to stm8l10x_flash.h and stm8l10x_flash.c files. ### V1.1.1 / 15-September-2010 Main changes stm8l10x.h and stm8l10x_gpio.h modified for compliancy with IAR compiler. Needed for the STM8 TouchSensing firmware examples. ### V1.1.0 / 14-September-2009 Main changes stm8l10x_tim2.h: Change "TIM2_SelectTI1XORInput" function name to "TIM2_SelectHallSensor" stm8l10x_tim3.h: Change "TIM3_SelectTI1XORInput" function name to "TIM3_SelectHallSensor" stm8l10x_exti.h: Change "EXTI_Sensitivity_TypeDef" enumeration name to "EXTI_Trigger_TypeDef" ## License Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.st.com/software_license_agreement_liberty_v2 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. For complete documentation on STM8L10x 8-bit microcontrollers platform visit STM8L family web site
##