CH32V307 使用以太网库libwchnet.a不能开启FPU吗 ?
riscv-none-embed-gcc -march=rv32imafc -mabi=ilp32f -msmall-data-limit=8 -mno-save-restore -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wunused -Wuninitialized -g -T "D:\work\V307VC\EXAM\ETH\UdpServer\Ld\Link.ld" -nostartfiles -Xlinker --gc-sections -L"D:\work\V307VC\EXAM\ETH\NetLib" -Wl,-Map,"UdpServer.map" --specs=nano.specs --specs=nosys.specs -o "UdpServer.elf" ./User/cJSON.o ./User/ch32v30x_it.o ./User/main.o ./User/system_ch32v30x.o ./Startup/startup_ch32v30x_D8C.o ./Peripheral/src/ch32v30x_adc.o ./Peripheral/src/ch32v30x_bkp.o ./Peripheral/src/ch32v30x_can.o ./Peripheral/src/ch32v30x_crc.o ./Peripheral/src/ch32v30x_dac.o ./Peripheral/src/ch32v30x_dbgmcu.o ./Peripheral/src/ch32v30x_dma.o ./Peripheral/src/ch32v30x_dvp.o ./Peripheral/src/ch32v30x_eth.o ./Peripheral/src/ch32v30x_exti.o ./Peripheral/src/ch32v30x_flash.o ./Peripheral/src/ch32v30x_fsmc.o ./Peripheral/src/ch32v30x_gpio.o ./Peripheral/src/ch32v30x_i2c.o ./Peripheral/src/ch32v30x_iwdg.o ./Peripheral/src/ch32v30x_misc.o ./Peripheral/src/ch32v30x_opa.o ./Peripheral/src/ch32v30x_pwr.o ./Peripheral/src/ch32v30x_rcc.o ./Peripheral/src/ch32v30x_rng.o ./Peripheral/src/ch32v30x_rtc.o ./Peripheral/src/ch32v30x_sdio.o ./Peripheral/src/ch32v30x_spi.o ./Peripheral/src/ch32v30x_tim.o ./Peripheral/src/ch32v30x_usart.o ./Peripheral/src/ch32v30x_wwdg.o ./NetLib/eth_driver.o ./Debug/board.o ./Debug/debug.o ./Core/core_riscv.o -lwchnet -lprintf
d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(eth_api.o): can't link soft-float modules with single-float modules
d:/mounriver/mounriver_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:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(eth_api.o)
d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(ipcheck.o): can't link soft-float modules with single-float modules
d:/mounriver/mounriver_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:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(ipcheck.o)
d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(net_dhcp.o): can't link soft-float modules with single-float modules
d:/mounriver/mounriver_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:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(net_dhcp.o)
d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(net_dns.o): can't link soft-float modules with single-float modules
d:/mounriver/mounriver_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:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(net_dns.o)
d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: D:\work\V307VC\EXAM\ETH\NetLib\libwchnet.a(socket.o): can't link soft-float modules with single-float modules
查看: 1353
回复: 4
CH32V307 使用以太网库libwchnet.a不能开启FPU吗
热门产品 :
CH585: 集成高速USB和NFC的蓝牙MCU
我已经重新编译整个工程了
还有使用cjson 提示没有这个函数pow
已经include math.h 了
pow 搞定了
请勿发布广告和违法内容, 代码可以选择编辑器代码语言格式, 更易他人阅读帮助您, 或者留下联系方式,以便更好更快服务您
只有登录才能回复,可以选择微信账号登录