2020-10-27 05:34 PM
Dear experts,
I have a problem with stm8s_conf.h file. I download the Standard Peripheral Libraries officially from ST web page. After I put them all into STVD, I mean the .c and .h files, then I compile. The compiler detects that stm8s_conf.h does not exist.
I try to check the stm8s_conf.h from SPL and thats true. I could not find the stm8s_conf.h file. So, I have to find it from another sources like github or something else. Back to the question, Is the stm8s_conf.h really exist ?
Thank you & best regards,
Mahendra
Solved! Go to Solution.
2020-10-29 05:08 AM
Hi, Mahendra,
you will find the stm8s_conf.h in folder Project\STM8S_StdPeriph_Template if you downloaded the SPL here. It is also contained in all folders of the STM8S_StdPeriph_Examples.
When your question is answered, please close this topic by choosing Select it best.
/Peter
2020-10-29 05:08 AM
Hi, Mahendra,
you will find the stm8s_conf.h in folder Project\STM8S_StdPeriph_Template if you downloaded the SPL here. It is also contained in all folders of the STM8S_StdPeriph_Examples.
When your question is answered, please close this topic by choosing Select it best.
/Peter
2020-10-29 05:34 AM
Hi Peter,
Thanks for giving the solution. You are right. The file are in there. But, would you like to tell me why the file is placed separately ?
Thanks & Best Regards,
Mahendra
2020-10-30 01:55 PM
Well, because stm8s_conf.h does not refer to a peripheral device, but contains the description of all STM8 families, which only includes those peripherals that are present in the specified family. Please refer to the help file stm8s-a_stdperiph_lib_um.chm, where you find some additional information:
Contents > STM8S/A Standard Peripheral Library --> Description of Peripherals drivers
When your question is answered, please close this topic by choosing Select as Best.
Good luck!
/Peter
2020-10-31 10:19 PM
Got it. Very well explanations. Thank you.
Mahendra