CH32V307 使用以太網(wǎng)庫(kù)libwchnet.a不能開啟FPU嗎

CH32V307 使用以太網(wǎng)庫(kù)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


我已經(jīng)重新編譯整個(gè)工程了


image.png


還有使用cjson? 提示沒(méi)有這個(gè)函數(shù)pow

已經(jīng)include math.h 了



pow 搞定了

image.png


感謝21ic論壇版主?這是開了fpu的lib

icon_rar.giflib.zip



只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频