add copyright and reference material
modify the comment
modify code arrangement
delete wrong header file
delete wrong header file
static function prototype
modify flash write operation logic
add stmflash.h
add stmflash.c and stmflash.h searching path
change variable type
delete old code