Small improvements of using FLASH memory in STM32F1XX