Topic

FAQ
Login Register
Telink IoT Studio B91 SDK build fail
Jan 11, 2024 12:32

/

A

/A

Any Ideas?


Downloaded latest Telink IoT Studio (Windows) and installed OK. Imported latest "telink_b91m_driver_sdk" into workspace OK

"UART_Demo" Build fails with 


Console log:

12:29:22 **** Incremental Build of configuration UART_Demo for project B91_Driver_Demo **** make -j8 all Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/flash/puya_common.c Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/flash/puya_flash_scratch.c Invoking: GNU RISC-V Cross C Compiler Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/flash/puya_flash_trim.c riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/flash/puya_common.d" -MT"vendor/common/flash/puya_common.o" -c -o "vendor/common/flash/puya_common.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/flash/puya_common.c" Invoking: GNU RISC-V Cross C Compiler riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/flash/puya_flash_scratch.d" -MT"vendor/common/flash/puya_flash_scratch.o" -c -o "vendor/common/flash/puya_flash_scratch.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/flash/puya_flash_scratch.c" Invoking: GNU RISC-V Cross C Compiler riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/flash/puya_flash_trim.d" -MT"vendor/common/flash/puya_flash_trim.o" -c -o "vendor/common/flash/puya_flash_trim.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/flash/puya_flash_trim.c" Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/calibration/calibration.c Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/common/auto_test/pc_interface.c Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/common/common.c Invoking: GNU RISC-V Cross C Compiler riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/calibration/calibration.d" -MT"vendor/common/calibration/calibration.o" -c -o "vendor/common/calibration/calibration.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/calibration/calibration.c" Invoking: GNU RISC-V Cross C Compiler Invoking: GNU RISC-V Cross C Compiler riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/auto_test/pc_interface.d" -MT"vendor/common/auto_test/pc_interface.o" -c -o "vendor/common/auto_test/pc_interface.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/common/auto_test/pc_interface.c" riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/common.d" -MT"vendor/common/common.o" -c -o "vendor/common/common.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/common/common.c" Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/exception.c Building file: C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/common/printf.c Invoking: GNU RISC-V Cross C Compiler riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/exception.d" -MT"vendor/common/exception.o" -c -o "vendor/common/exception.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/B91/exception.c" Invoking: GNU RISC-V Cross C Compiler riscv32-elf-gcc -mcmodel=medium -mcmodel=medium -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wshadow -g3 -DMCU_STARTUP_FLASH=1 -DMCU_CORE_B91=1 -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\chip\B91\drivers" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\flash" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\B91\calibration" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\common" -I"C:\Users\WorkPC\Desktop\tmp\_WAYNE\telink_b91m_driver_sdk\demo\vendor\common\common" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\lib\gcc\riscv32-elf\7.4.0\include" -I"C:\TelinkIoTStudio\\RDS\V3.2.3\toolchains\nds32le-elf-mculib-v5f\riscv32-elf\include" -v -mext-dsp -mabi=ilp32f -c -fmessage-length=0 -fomit-frame-pointer -fno-strict-aliasing -fshort-wchar -fuse-ld=bfd -std=c99 -fpack-struct -fshort-enums -fno-jump-tables -mcmodel=medium -Wno-nonnull-compare -Wall -Wextra -Wshadow -Werror -MMD -MP -MF"vendor/common/printf.d" -MT"vendor/common/printf.o" -c -o "vendor/common/printf.o" "C:/Users/WorkPC/Desktop/tmp/_WAYNE/telink_b91m_driver_sdk/demo/vendor/common/common/printf.c" make: *** [vendor/common/flash/subdir.mk:26: vendor/common/flash/puya_common.o] Error 127 make: *** Waiting for unfinished jobs.... make: *** [vendor/common/flash/subdir.mk:33: vendor/common/flash/puya_flash_scratch.o] Error 127 make: *** [vendor/common/flash/subdir.mk:40: vendor/common/flash/puya_flash_trim.o] Error 127 make: *** [vendor/common/calibration/subdir.mk:20: vendor/common/calibration/calibration.o] Error 127 make: *** [vendor/common/auto_test/subdir.mk:20: vendor/common/auto_test/pc_interface.o] Error 127 make: *** [vendor/common/subdir.mk:26: vendor/common/common.o] Error 127 make: *** [vendor/common/subdir.mk:33: vendor/common/exception.o] Error 127 make: *** [vendor/common/subdir.mk:40: vendor/common/printf.o] Error 127 "make -j8 all" terminated with exit code 2. Build might be incomplete. 12:30:30 Build Failed. 9 errors, 0 warnings. (took 1m:8s.369ms)


3 replies
TL_Soyo Jan 12, 2024 10:10
0
/A

Hi,

  Confirm if there is any impact of antivirus software and try to change the computer to see if it can compile successfully



markatlogicom [Author] Jan 12, 2024 10:32
0
/A

Thankyou Soyo, Only normal Windows 10 Defender for anti-virus. Will load onto another PC and get back you.



markatlogicom [Author] Jan 15, 2024 14:46
0
/A


Soyo, I loaded the "previous" IDE (Ande RDS 3.2.3) and my project is compiling and downloading to flash OK (on my B91 generic starter kit). So going OK for now - I will circle back to why the IoT Studio does not work for me at a later date. 

Consider this topic closed for now

Thanks 

Related topics
No related topics
Author's other topics
No more topics