File list (Check if you may need any files):
STM8_SPI_flash_w25x40\Debug\w25x40.lkf
.....................\Porject\Debug\Exe\w25x40Test.hex
.....................\.......\.....\...\w25x40Test.out
.....................\.......\.....\Obj\main.o
.....................\.......\.....\...\spiflash.o
.....................\.......\.....\...\stm8s_clk.o
.....................\.......\.....\...\stm8s_flash.o
.....................\.......\.....\...\stm8s_gpio.o
.....................\.......\.....\...\stm8s_it.o
.....................\.......\.....\...\stm8s_spi.o
.....................\.......\.....\...\stm8s_uart2.o
.....................\.......\.....\...\w25x40Test.pbd
.....................\.......\main.c
.....................\.......\settings\w25x40Test.cspy.bat
.....................\.......\........\w25x40Test.dbgdt
.....................\.......\........\w25x40Test.dni
.....................\.......\........\w25x40Test.wsdt
.....................\.......\spiflash.c
.....................\.......\spiflash.h
.....................\.......\stm8s_conf.h
.....................\.......\stm8s_it.c
.....................\.......\stm8s_it.h
.....................\.......\w25x40Test.dep
.....................\.......\w25x40Test.ewd
.....................\.......\w25x40Test.ewp
.....................\.......\w25x40Test.eww
.....................\Release\w25x40.lkf
.....................\STM8S_StdPeriph_Driver\inc\stm8s.h
.....................\......................\...\stm8s_adc1.h
.....................\......................\...\stm8s_adc2.h
.....................\......................\...\stm8s_awu.h
.....................\......................\...\stm8s_beep.h
.....................\......................\...\stm8s_can.h
.....................\......................\...\stm8s_clk.h
.....................\......................\...\stm8s_exti.h
.....................\......................\...\stm8s_flash.h
.....................\......................\...\stm8s_gpio.h
.....................\......................\...\stm8s_i2c.h
.....................\......................\...\stm8s_itc.h
.....................\......................\...\stm8s_iwdg.h
.....................\......................\...\stm8s_rst.h
.....................\......................\...\stm8s_spi.h
.....................\......................\...\stm8s_tim1.h
.....................\......................\...\stm8s_tim2.h
.....................\......................\...\stm8s_tim3.h
.....................\......................\...\stm8s_tim4.h
.....................\......................\...\stm8s_tim5.h
.....................\......................\...\stm8s_tim6.h
.....................\......................\...\stm8s_type.h
.....................\......................\...\stm8s_uart1.h
.....................\......................\...\stm8s_uart2.h
.....................\......................\...\stm8s_uart3.h
.....................\......................\...\stm8s_wwdg.h
.....................\......................\src\stm8s_adc1.c
.....................\......................\...\stm8s_adc2.c
.....................\......................\...\stm8s_awu.c
.....................\......................\...\stm8s_beep.c
.....................\......................\...\stm8s_can.c
.....................\......................\...\stm8s_clk.c
.....................\......................\...\stm8s_exti.c
.....................\......................\...\stm8s_flash.c
.....................\......................\...\stm8s_gpio.c
.....................\......................\...\stm8s_i2c.c
.....................\......................\...\stm8s_itc.c
.....................\......................\...\stm8s_iwdg.c
.....................\......................\...\stm8s_rst.c
.....................\......................\...\stm8s_spi.c
.....................\......................\...\stm8s_tim1.c
.....................\......................\...\stm8s_tim2.c
.....................\......................\...\stm8s_tim3.c
.....................\......................\...\stm8s_tim4.c
.....................\......................\...\stm8s_tim5.c
.........