一、描述你遇到的问题
编译失败
二、你具体做的所有步骤结果截图


三、当前开发板状态全景照片
请插入图片
四、开发板串口所有日志
请在此处粘贴串口日志
[DevTools_CFBB] D:\DATA\Desktop\h2861\bearpi-h2821_pico-master>python build.py -c
[Warning]:sdk libs import failed.
build reload D:\DATA\Desktop\h2861\bearpi-h2821_pico-master\build\config\target_config\bs21\menuconfig\acore\standard_bs21_n1100.config
D:\DATA\Desktop\h2861\bearpi-h2821_pico-master\build\script.....\config.in
D:\DATA\Desktop\h2861\bearpi-h2821_pico-master
warning: default on the choice symbol SUPPORT_SLE_PERIPHERAL (defined at application/samples/products/sle_uart/Kconfig:55, protocol/Kconfig:8) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol SUPPORT_SLE_CENTRAL (defined at application/samples/products/sle_uart/Kconfig:60, protocol/Kconfig:10) will have no effect, as defaults do not affect choice symbols
No change to configuration in 'D:\DATA\Desktop\h2861\bearpi-h2821_pico-master\build\script.....\build\config\target_config\bs21\menuconfig\acore\standard_bs21_n1100.config'
D:\DATA\Desktop\h2861\bearpi-h2821_pico-master\build\script.....\config.in
D:\DATA\Desktop\h2861\bearpi-h2821_pico-master
warning: default on the choice symbol SUPPORT_SLE_PERIPHERAL (defined at application/samples/products/sle_uart/Kconfig:55, protocol/Kconfig:8) will have no effect, as defaults do not affect choice symbols
warning: default on the choice symbol SUPPORT_SLE_CENTRAL (defined at application/samples/products/sle_uart/Kconfig:60, protocol/Kconfig:10) will have no effect, as defaults do not affect choice symbols
Kconfig header saved to 'D:\DATA\Desktop\h2861\bearpi-h2821_pico-master\output\bs21\acore\standard-bs21-n1100\mconfig.h'
Not searching for unused variables given on the command line.
-- BUILD_PLATFORM: windows
-- BUILD_PLATFORM: windows
-- The C compiler identification is GNU 7.3.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/tools/bin/compiler/riscv/cc_riscv32_musl_b010/cc_riscv32_musl_fp_win/bin/riscv32-linux-musl-gcc.exe
-- The CXX compiler identification is GNU 7.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/tools/bin/compiler/riscv/cc_riscv32_musl_b010/cc_riscv32_musl_fp_win/bin/riscv32-linux-musl-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/tools/bin/compiler/riscv/cc_riscv32_musl_b010/cc_riscv32_musl_fp_win/bin/riscv32-linux-musl-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
LOSCFG_PLATFORM is set to bs21
LOSCFG_COMPILER_GNU_BINUTILS is set to y
LOSCFG_COMPILER_GCC is set to y
LOSCFG_COMPILER_TOOLCHAIN_UNKNOWN is set to y
LOSCFG_COMPILER_RISCV_GCC_UNKNOWN is set to y
LOSCFG_RISCV_COMPILER_OPTIONS_USER_DEFINED is set to --short-enums;-ffreestanding;-fdata-sections;-ffunction-sections;-pipe;-fno-tree-scev-cprop;-fno-common;-mpush-pop;-msmall-data-limit=0;-fno-ipa-ra;-Wtrampolines;-Wlogical-op;-Wjump-misses-init;-Wa,-enable-c-lbu-sb;-Wa,-enable-c-lhu-sh;-fimm-compare;-femit-muliadd;-fmerge-immshf;-femit-uxtb-uxth;-femit-lli;-femit-clz;-fldm-stm-optimize;-madjust-regorder;-madjust-const-cost;-freorder-commu-args;-fimm-compare-expand;-frmv-str-zero;-mfp-const-opt;-mswitch-jump-table;-frtl-sequence-abstract;-frtl-hoist-sink;-fsafe-alias-multipointer;-finline-optimize-size;-fmuliadd-expand;-mlli-expand;-Wa,-mcjal-expand;-foptimize-reg-alloc;-fsplit-multi-zero-assignments;-floop-optimize-size;-mpattern-abstract;-foptimize-pro-and-epilogue
LOSCFG_RISCV_COMPILER_OPTIONS_LDM_STM is set to y
LOSCFG_RISCV_COMPILER_OPTIONS_EMIT_LLI is set to y
LOSCFG_RISCV_COMPILER_OPTIONS_PUSH_POP is set to y
LOSCFG_COMPILER_OPTIMIZE_SIZE is set to y
LOSCFG_FAMILY_AIOT is set to y
LOSCFG_FAMILY is set to aiot
LOSCFG_PLATFORM is set to bs21
LOSCFG_PLATFORM_BS21 is set to y
LOSCFG_USING_BOARD_LD is set to y
LOSCFG_USING_BOARD_RESET_VECTOR is set to y
LOSCFG_ARCH_FPU_ENABLE is set to y
LOSCFG_ARCH_PMU is set to y
LOSCFG_ARCH_RISCV32 is set to y
LOSCFG_ARCH_RISCV_RV32IMC is set to y
LOSCFG_ARCH_RISCV_ISA_F is set to y
LOSCFG_ARCH_LINXCORE_131 is set to y
LOSCFG_KERNEL_MIN is set to y
LOSCFG_SCHED is set to y
LOSCFG_SCHED_SQ is set to y
LOSCFG_BASE_CORE_TSK_MONITOR is set to y
LOSCFG_TASK_STACK_DYNAMIC_ALLOCATION is set to y
LOSCFG_BASE_CORE_TSK_LIMIT is set to 15
LOSCFG_BASE_CORE_TSK_MIN_STACK_SIZE is set to 512
LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE is set to 2048
LOSCFG_BASE_CORE_TSK_SWTMR_STACK_SIZE is set to 1536
LOSCFG_BASE_CORE_TSK_IDLE_STACK_SIZE is set to 1024
LOSCFG_BASE_CORE_TSK_DEFAULT_PRIO is set to 10
LOSCFG_BASE_CORE_TICK_PER_SECOND is set to 1000
LOSCFG_BASE_CORE_USE_SINGLE_LIST is set to y
LOSCFG_STARTUP_STACK_SIZE is set to 0x4000
LOSCFG_KERNEL_MEM_ALLOC is set to y
LOSCFG_KERNEL_MEM_BESTFIT_LITTLE is set to y
LOSCFG_ARCH_INTERRUPT_TAKEOVER is set to y
LOSCFG_ARCH_INTERRUPT_PREEMPTION is set to y
LOSCFG_HWI_PRE_POST_PROCESS is set to y
LOSCFG_HWI_WITH_ARG is set to y
LOSCFG_IRQ_STACK_SIZE is set to 0x2000
LOSCFG_NMI_STACK_SIZE is set to 0x800
LOSCFG_PLATFORM_HWI_LIMIT is set to 90
LOSCFG_HWI_PRIO_LIMIT is set to 7
LOSCFG_EXC_SIMPLE_INFO is set to y
LOSCFG_EXC_STACK_SIZE is set to 0x800
LOSCFG_BASE_CORE_SWTMR is set to y
LOSCFG_BASE_CORE_SWTMR_LIMIT is set to 16
LOSCFG_BASE_IPC_QUEUE is set to y
LOSCFG_QUEUE_DYNAMIC_ALLOCATION is set to y
LOSCFG_BASE_IPC_QUEUE_LIMIT is set to 10
LOSCFG_BASE_IPC_EVENT is set to y
LOSCFG_BASE_IPC_MUX is set to y
LOSCFG_MUTEX_WAITMODE_PRIO is set to y
LOSCFG_BASE_IPC_MUX_LIMIT is set to 20
LOSCFG_BASE_IPC_SEM is set to y
LOSCFG_BASE_IPC_SEM_LIMIT is set to 10
LOSCFG_KERNEL_PRINTF is set to y
LOSCFG_KERNEL_PRINTF_SIZE_EXTEND is set to y
LOSCFG_BASE_CORE_SYS_RES_CHECK is set to y
LOSCFG_LIB_LIBC is set to y
LOSCFG_LIB_LIBM is set to y
LOSCFG_LIB_FORMAT is set to y
LOSCFG_COMPAT_CMSIS is set to y
LOSCFG_COMPAT_CMSIS_VER_2 is set to y
LOSCFG_DRIVERS_BASE is set to y
LOSCFG_RISCV_HIMIDEERV200_PLIC is set to y
LOSCFG_TIMER_VENDOR is set to y
LOSCFG_DRIVERS_UART_VENDOR is set to y
LOSCFG_DRIVERS_SIMPLE_UART is set to y
LOSCFG_DRIVERS_USB_DEVICE_NO_DRIVER_BASE is set to y
LOSCFG_CC_STACKPROTECTOR_STRONG is set to y
CMAKE_TOOLCHAIN_FILE is defined ahead, skip auto-config compiler
CMAKE_TOOLCHAIN_FILE is defined ahead, skip auto-config compiler
OUT:D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/output/bs21/acore/standard-bs21-n1100/kernel/liteos/liteos_v208.6.0_b017
LITEOS_MODULE_DEP_LIBS_PATH:
LITEOS_DEP_LIBS_INT:
LITEOS_DEP_LIBS_EXT:gcc
LITEOS_BASELIB:m;interrupt;base;riscv;cmsisuser;cmsiskernel;driverbase;init;csysdeps;targets;m;gcc;riscv;targets;init
LOS_INTF_DEP_TARGETS:
-- COM_HEADER-includeD:/DATA/Desktop/h2861/bearpi-h2821_pico-master/output/bs21/acore/standard-bs21-n1100/kernel/liteos/liteos_v208.6.0_b017/menuconfig/include/menuconfig.h
-- D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/drivers/drivers/driver/usb_unified/controller/usb_device/dwc_otg_pcd_intr.c is not found, finding libusb_unified.a in D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/drivers/drivers/driver/usb_unified/standard-bs21-n1100
-- D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/drivers/chips/bs2x/rom/rom_info/acore/output/rom_callback.S is not found, finding librom_callback.a in D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/drivers/chips/bs2x/rom/rom_info/standard-bs21-n1100
BGTP_PROJECT=bs21
BGTP_ROM_VERSION=true
BGTP_DEVICE_ONLY=false
BG COMMON BTH_ROM_LIST:null
BTH_ROM_LIST:null
BTH_ROM_LIST:null
BTH_PUBLIC_HEADER_LIST=
-- ======= current project : bs21_CFBB - =======
-- D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/protocol/nfc/controller/null is not found, finding libnfc_controller.a in D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/protocol/nfc/controller/standard-bs21-n1100
-- Configuring done
-- Generating done
-- Build files have been written to: D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/output/bs21/acore/standard-bs21-n1100
[0/1] Re-running CMake...-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:9 (message):
Chip is not defined
-- Configuring incomplete, errors occurred!
See also "D:/DATA/Desktop/h2861/bearpi-h2821_pico-master/output/bs21/acore/standard-bs21-n1100/CMakeFiles/CMakeOutput.log".
ninja: error: rebuilding 'build.ninja': subcommand failed
FAILED: build.ninja
D:\DATA\Desktop\h2861\DevTools_CFBB_V1.0.12\thirdparty\python\Lib\site-packages\cmake\data\bin\cmake.exe --regenerate-during-build -SD:\DATA\Desktop\h2861\bearpi-h2821_pico-master -BD:\DATA\Desktop\h2861\bearpi-h2821_pico-master\output\bs21\acore\standard-bs21-n1100
######### Build target:standard_bs21_n1100 failed