BUG: HSE_Value should be HSE_VALUE in stm8s.h
This bug is several years old and should really be fixed.
In stm8s.h, the following line ...
#if !defined HSE_Value
... should (obviously!) be ...
#if !defined HSE_VALUE
... in order to allow HSE_VALUE to be defined on the command-line.
I just found out that this bug is several years old and has not yet been fixed.
See this link:
https://community.st.com/s/question/0D50X00009XkZibSAF/stm8l15x-peripheral-library-minor-bug-report
(Which interestingly also makes it possible to define the LSE_VALUE on the command-line).
