File tree Expand file tree Collapse file tree
STM8S_StdPeriph_Driver/src
sduino/hardware/sduino/stm8 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656#include "stm8s_rst.h"
5757#include "stm8s_spi.h"
5858#include "stm8s_tim1.h"
59- #if !defined(STM8S903 ) || !defined(STM8AF622x )
59+ #if !defined(STM8S903 ) && !defined(STM8AF622x )
6060 #include "stm8s_tim2.h"
6161#endif /* (STM8S903) || (STM8AF622x) */
6262#if defined(STM8S208 ) || defined(STM8S207 ) || defined(STM8S007 ) || defined(STM8S105 ) || \
6363 defined(STM8S005 ) || defined (STM8AF52Ax ) || defined (STM8AF62Ax ) || defined (STM8AF626x )
6464 #include "stm8s_tim3.h"
6565#endif /* (STM8S208) ||defined(STM8S207) || defined(STM8S007) ||defined(STM8S105) */
66- #if !defined(STM8S903 ) || !defined(STM8AF622x )
66+ #if !defined(STM8S903 ) && !defined(STM8AF622x )
6767 #include "stm8s_tim4.h"
6868#endif /* (STM8S903) || (STM8AF622x) */
6969#if defined(STM8S903 ) || defined(STM8AF622x )
Original file line number Diff line number Diff line change @@ -17,3 +17,22 @@ stm8sblue.build.variant=standard
1717# meaningless variables just to keep the makefile happy
1818
1919stm8sblue.upload.speed=1
20+
21+
22+ ##############################################################
23+
24+ stm8sdisco.name=STM8S105C6 Discovery Board
25+
26+ stm8sdisco.upload.using=stm8flash
27+ stm8sdisco.upload.protocol=stlinkv2
28+ stm8sdisco.upload.mcu=stm8s105?6
29+ stm8sdisco.upload.maximum_size=32768
30+
31+ stm8sdisco.build.mcu=STM8S105
32+ stm8sdisco.build.f_cpu=16000000L
33+ stm8sdisco.build.core=sduino
34+ stm8sdisco.build.variant=stm8sdisco
35+
36+ # meaningless variables just to keep the makefile happy
37+
38+ stm8sdisco.upload.speed=1
You can’t perform that action at this time.
0 commit comments