fuxing
现在不勾选拆分优化也会出现这个问题,附上报错日志
`[ INFO ] start building at 2023-02-22 18:59:25
[ TOOL ] SDCC : mcs51/z80/z180/r2k/r2ka/r3ka/sm83/tlcs90/ez80_z80/z80n/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15/mos6502 4.2.0 #13081 (MINGW64)
[ INFO ] file statistics (incremental compilation mode)
+---------+-----------+-----------+-----------+--------+
| C Files | Cpp Files | Asm Files | Lib Files | Totals |
+---------+-----------+-----------+-----------+--------+
| 21 | 0 | 0 | 0 | 21 |
+---------+-----------+-----------+-----------+--------+
[ INFO ] start compilation (jobs: 6) ...
[ 4%] CC '443x/radio_comm.c'
Antlr4.Runtime.Misc.ParseCanceledException: The parse operation was cancelled.
---> Antlr4.Runtime.InputMismatchException: Exception of type 'Antlr4.Runtime.InputMismatchException' was thrown.
--- End of inner exception stack trace ---
at Antlr4.Runtime.BailErrorStrategy.RecoverInline(Parser recognizer)
at Antlr4.Runtime.Parser.Match(Int32 ttype)
at SdAsmParser.absAddrAllocExpr()
at SdAsmParser.statement()
at SdAsmParser.codeLine()
at SdAsmParser.asmFile()
at sdcc_asm_optimizer.Program.ParseSourceFile(String srcPath, StringWriter stdOut, StringWriter stdErr)
at sdcc_asm_optimizer.Program.Main(String[] args)
[ 9%] CC '443x/radio_hal.c'
Antlr4.Runtime.Misc.ParseCanceledException: The parse operation was cancelled.
---> Antlr4.Runtime.InputMismatchException: Exception of type 'Antlr4.Runtime.InputMismatchException' was thrown.
--- End of inner exception stack trace ---
at Antlr4.Runtime.BailErrorStrategy.RecoverInline(Parser recognizer)
at Antlr4.Runtime.Parser.Match(Int32 ttype)
at SdAsmParser.absAddrAllocExpr()
at SdAsmParser.statement()
at SdAsmParser.codeLine()
at SdAsmParser.asmFile()
at sdcc_asm_optimizer.Program.ParseSourceFile(String srcPath, StringWriter stdOut, StringWriter stdErr)
at sdcc_asm_optimizer.Program.Main(String[] args)
[ 14%] CC 'SPD/src/stm8l15x_clk.c'
Antlr4.Runtime.Misc.ParseCanceledException: The parse operation was cancelled.
---> Antlr4.Runtime.InputMismatchException: Exception of type 'Antlr4.Runtime.InputMismatchException' was thrown.
--- End of inner exception stack trace ---
at Antlr4.Runtime.BailErrorStrategy.RecoverInline(Parser recognizer)
at Antlr4.Runtime.Parser.Match(Int32 ttype)
at SdAsmParser.absAddrAllocExpr()
at SdAsmParser.statement()
at SdAsmParser.codeLine()
at SdAsmParser.asmFile()
at sdcc_asm_optimizer.Program.ParseSourceFile(String srcPath, StringWriter stdOut, StringWriter stdErr)
at sdcc_asm_optimizer.Program.Main(String[] args)
[ 19%] CC '443x/radio.c'
443x\radio.c:22:1: warning: multi-line comment
443x\radio.c:28:1: warning: multi-line comment
443x\radio.c:33:1: warning: multi-line comment
Antlr4.Runtime.Misc.ParseCanceledException: The parse operation was cancelled.
---> Antlr4.Runtime.InputMismatchException: Exception of type 'Antlr4.Runtime.InputMismatchException' was thrown.
--- End of inner exception stack trace ---
at Antlr4.Runtime.BailErrorStrategy.RecoverInline(Parser recognizer)
at Antlr4.Runtime.Parser.Match(Int32 ttype)
at SdAsmParser.absAddrAllocExpr()
at SdAsmParser.statement()
at SdAsmParser.codeLine()
at SdAsmParser.asmFile()
at sdcc_asm_optimizer.Program.ParseSourceFile(String srcPath, StringWriter stdOut, StringWriter stdErr)
at sdcc_asm_optimizer.Program.Main(String[] args)
[ 23%] CC 'SPD/src/stm8l15x_adc.c'
Antlr4.Runtime.Misc.ParseCanceledException: The parse operation was cancelled.
---> Antlr4.Runtime.InputMismatchException: Exception of type 'Antlr4.Runtime.InputMismatchException' was thrown.
--- End of inner exception stack trace ---
at Antlr4.Runtime.BailErrorStrategy.RecoverInline(Parser recognizer)
at Antlr4.Runtime.Parser.Match(Int32 ttype)
at SdAsmParser.absAddrAllocExpr()
at SdAsmParser.statement()
at SdAsmParser.codeLine()
at SdAsmParser.asmFile()
at sdcc_asm_optimizer.Program.ParseSourceFile(String srcPath, StringWriter stdOut, StringWriter stdErr)
at sdcc_asm_optimizer.Program.Main(String[] args)
[ 28%] CC '443x/si446x_api_lib.c'
Antlr4.Runtime.Misc.ParseCanceledException: The parse operation was cancelled.
---> Antlr4.Runtime.InputMismatchException: Exception of type 'Antlr4.Runtime.InputMismatchException' was thrown.
--- End of inner exception stack trace ---
at Antlr4.Runtime.BailErrorStrategy.RecoverInline(Parser recognizer)
at Antlr4.Runtime.Parser.Match(Int32 ttype)
at SdAsmParser.absAddrAllocExpr()
at SdAsmParser.statement()
at SdAsmParser.codeLine()
at SdAsmParser.asmFile()
at sdcc_asm_optimizer.Program.ParseSourceFile(String srcPath, StringWriter stdOut, StringWriter stdErr)
at sdcc_asm_optimizer.Program.Main(String[] args)
ERROR compilation failed at : "c:\Users\fuxing\Desktop\incubator_v3.1_ADS2 (2)\Incubator_node\443x\si446x_api_lib.c", exit code: 1
ERROR build failed !, elapsed time 0:0:1
- 终端进程“cmd.exe /C "unify_builder -p "c:\Users\fuxing\Desktop\incubator_v3.1_ADS2 (2)\Incubator_node\build\Debug\builder.params""”已终止,退出代码: 1。
- 终端将被任务重用,按任意键关闭。
`