File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- 2:1.6.0 +sduino
1
+ 2:1.8.7 +sduino
Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ compiler.warning_flags.all=-Wp-Wall -V
37
37
# Default "compiler.path" is correct, change only if you want to override the initial value
38
38
compiler.path={runtime.tools.sdcc.path}/bin
39
39
compiler.wrapper.path={runtime.tools.STM8Tools.path}/wrapper
40
- compiler.wrapper.path.windows={runtime.tools.STM8Tools.path}/win/busybox"
41
- ash "{runtime.tools.STM8Tools.path}/wrapper
40
+ compiler.wrapper.path.windows={runtime.tools.STM8Tools.path}/win/busybox" ash "{runtime.tools.STM8Tools.path}/wrapper
42
41
compiler.tools.path={runtime.tools.avr-gcc.path}/bin
43
42
44
43
compiler.c.cmd=sdcc
Original file line number Diff line number Diff line change 4
4
#
5
5
# Differences:
6
6
# - if a .cpp files is given as input temporarly copy it to .c and compile it
7
- # as a c file. This will break the dependency check, as it expects the the
7
+ # as a c file. This will break the dependency check, as it expects the
8
8
# full original filename, but as this happens only for the original .ino
9
9
# file it is not a big loss.
10
10
# - generate .rel files, but copy them as .o files as well to satisfy the
@@ -87,7 +87,12 @@ case "$SRC" in
87
87
# rename .cpp to .c and compile
88
88
>&2 echo -e " ${RED} cpp gefunden${OFF} " ;
89
89
CSRC=" ${SRC% pp} "
90
- cp -a " $SRC " " $CSRC "
90
+ (
91
+ # add a reference to main to pull in main.c
92
+ echo " void main(void); void (*dummy_variable) () = main;"
93
+ cat " $SRC "
94
+ ) > " $CSRC "
95
+ # cp -a "$SRC" "$CSRC"
91
96
" $SDCC " " $@ " " $CSRC " -o " $OBJ "
92
97
ERR=$?
93
98
rm -f " $CSRC "
You can’t perform that action at this time.
0 commit comments