您尚未登录。

#1 Re: 全志 SOC » MangoPi-MQ 麻雀D1s && D1 Nezha 裸机实验 && rtos实验 » 2022-02-23 21:39:41

ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set RTT_EXEC_PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin

ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set EXEC_PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin

ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin;%PATH%

  你好,是这样吗

#2 Re: 全志 SOC » MangoPi-MQ 麻雀D1s && D1 Nezha 裸机实验 && rtos实验 » 2022-02-23 12:42:19

你好,博主,请问这个怎么处理啊


ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set RTT_EXEC_PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin


ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
>


ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\lvgl\lv_demo.o
riscv64-unknown-elf-gcc: error: CreateProcess: No such file or directory
scons: *** [build\applications\lvgl\lv_demo.o] Error 1
scons: building terminated because of errors.

ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> scons -c
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
Removed cconfig.h
scons: done cleaning targets.

ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\lvgl\lv_demo.o
riscv64-unknown-elf-gcc: error: CreateProcess: No such file or directory
scons: *** [build\applications\lvgl\lv_demo.o] Error 1
scons: building terminated because of errors.

#3 Re: 全志 SOC » MangoPi-MQ 麻雀D1s && D1 Nezha 裸机实验 && rtos实验 » 2022-02-22 23:34:14

scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
LINK rtthread.elf
riscv64-unknown-elf-objcopy -O binary rtthread.elf rtthread.bin
Error in calling command:riscv64-unknown-elf-objcopy
Exception: Exec format error
scons: *** [rtthread.elf] Error 8
scons: building terminated because of errors.


你好请问这个怎么解决啊



   7 | #include <riscv-vector.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [build\applications\test\auto_rvv.o] Error 1
scons: building terminated because of errors.

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn