在examples/shell/shell_os下, 使用如下命令
make CHIP=bl808 BOARD=bl808dk CPU_ID=d0
编译失败,
[ 93%] Building C object build_out/drivers/soc/bl808/std/CMakeFiles/std.dir/port/bl808_clock.c.obj
[ 95%] Linking C static library ../../lib/liblhal.a
[ 95%] Built target lhal
[ 96%] Building C object build_out/drivers/soc/bl808/std/CMakeFiles/std.dir/port/bl808_flash.c.obj
[ 97%] Linking C static library ../../../../lib/libstd.a
[ 97%] Built target std
[ 98%] Building C object CMakeFiles/shell_os_bl808_d0.elf.dir/main.c.obj
[100%] Linking C executable build_out/shell_os_bl808_d0.elf
/usr/bin/toolchain_gcc_t-head_linux/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld: build_out/lib/libfreertos.a(port.c.obj): in function
xPortStartScheduler':
/home/owaf/bl808/bl_mcu_sdk-master/components/freertos/portable/GCC/RISC-V/c906/port.c:304: undefined reference to Interrupt_Handler_Register'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/shell_os_bl808_d0.elf.dir/build.make:105: build_out/shell_os_bl808_d0.elf] Error 1
make[2]: *** [CMakeFiles/Makefile2:301: CMakeFiles/shell_os_bl808_d0.elf.dir/all] Error 2
make[1]: *** [Makefile:91: all] Error 2
make: *** [../../../project.build:35: build] Error 2
根据文档
M0 使用 t-head E907 ,D0 使用 t-head C906,为异构双核
请教一下该如何编译D0, 因为Sipeed M1sDock提供的构建方法,与官方sdk似乎有很大差异