Open prosper00 opened 3 years ago
actually, all the targets are failing with similar errors
... installing 'tofrodos' package helps, but it's still failing:
patching file ./STM8S_StdPeriph_Lib/Readme.md
patching file STM8S_StdPeriph_Driver/inc/stm8s.h
Hunk #1 FAILED at 222.
Hunk #2 FAILED at 231.
2 out of 2 hunks FAILED -- saving rejects to file STM8S_StdPeriph_Driver/inc/stm8s.h.rej
patching file STM8S_StdPeriph_Driver/inc/stm8s_conf.h
Hunk #1 succeeded at 94 (offset 2 lines).
patching file STM8S_StdPeriph_Driver/src/stm8s_clk.c
patching file STM8S_StdPeriph_Driver/src/stm8s_flash.c
patching file STM8S_StdPeriph_Driver/src/stm8s_rst.c
for i in STM8AF52Ax STM8AF622x STM8AF626x STM8AF62Ax STM8S001 STM8S003 STM8S005 STM8S007 STM8S103 STM8S105 STM8S207 STM8S208 STM8S903; do ./compile-s.sh $i; done
stm8s.h:2836:101: fatal error: stm8s_it.h: No such file or directory
compilation terminated.
Needed source code modules for CPU STM8AF52Ax:
Library name: STM8AF52Ax.lib
cflags: -mstm8 -DSTM8AF52Ax -I ../STM8S_StdPeriph_Driver/inc --opt-code-size -I.
using build-STM8AF52Ax@compiling stm8s_*.c
at 1: error 258: Failed to open input file 'stm8s_*.c' (No such file or directory)
sdar: *.rel: No such file or directory
stm8s.h:2836:101: fatal error: stm8s_it.h: No such file or directory
compilation terminated.
Needed source code modules for CPU STM8AF622x:
Library name: STM8AF622x.lib
I deleted the 01-use_stdint patches (it looks like the SPL SDCC patch already includes stdint), and added a line in the patch.sh: cp -a STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/stm8s_it.h $LIBDIR/inc
(for the s target)
(for thel15 target, I only had to delete the stdint patch to get it to build)
This (I think) seems to work. I need to do some more testing, but at least things build now
I'm following the instructions on your main page, and am stalling at 'make s':
'make l15' fails too: