CH32V307VCT6开浮点运算就会报错,编译就报错,工程就是IDE生成的,没改过,只要改属性开浮点运算就报错,怎么解决,还是不是这样开的吗,如下图
而且我怎么发不了贴了?那在这继续问吧
我有两个超大常量数组,直接用const修饰存在flash里flash 288k很快就满了,我看flash好像有480k的大小可以使用,怎么把这个超大常量数组存进去,还有这个flash和ram可以一个大一个小,能否具体讲解一下,flash大小改了和那480k又是什么
您好 ,下图为在MRS184新建内部CH32V307工程,打开硬件浮点的配置和编译结果,编译无错。你可以将报错信息和工程贴上来或者将报错工程发送到邮箱yangy@wch.cn
那我感觉应该是我这边的问题,你看看他提示的报错要怎么解决
14:40:19 **** Incremental Build of configuration obj for project CH32V307VCT6 ****
make -j8 all
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/rv32imafcxw/ilp32f\libgcc.a(save-restore.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/rv32imafcxw/ilp32f\libgcc.a(save-restore.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-printf.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-printf.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-puts.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-puts.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-wbuf.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-wbuf.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-wsetup.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-wsetup.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fflush.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fflush.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-findfp.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-findfp.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fwalk.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fwalk.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-impure.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-impure.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-makebuf.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-makebuf.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memset.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memset.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-freer.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-freer.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-mallocr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-mallocr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-vfprintf.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-vfprintf.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-vfprintf_i.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-vfprintf_i.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-sbrkr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-sbrkr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-stdio.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-stdio.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-writer.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-writer.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-closer.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-closer.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fstatr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fstatr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fvwrite.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-fvwrite.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-isattyr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-isattyr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-lseekr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-lseekr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memchr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memchr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memcpy.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memcpy.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memmove.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-memmove.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-mlock.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-mlock.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-reallocr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-reallocr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-readr.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-readr.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-reent.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-reent.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-msizer.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libg_nano.a(lib_a-nano-msizer.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(close.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(close.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(fstat.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(fstat.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(isatty.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(isatty.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(lseek.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(lseek.o)
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(read.o): can't link single-float modules with soft-float modules
d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: failed to merge target specific data of file d:/_software/ch32_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/lib/rv32imafcxw/ilp32f\libnosys.a(read.o)
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:56: CH32V307VCT6.elf] Error 1
14:40:19 Build Failed. 73 errors, 0 warnings. (took 493ms)
您好,这边看的话是缺失对应rv32imafcxw的底层库,可能是之前的版本或者安装不完全,重新安装MRS184应该就可以解决了。