Open jbrunk1966 opened 1 year ago
I get the same error. Has anyone been able to resolve this?
Alternatively, has anyone been able to successfully build the tool chain and if so, will you be willing to upload/share it?
@p4ddy1 you must have built it successfully ... are you willing to upload/share for us?
Did you install the GNU coreutils and included them in your PATH with export PATH=$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH
before trying to compile the toolchain?
@p4ddy1 you must have built it successfully ... are you willing to upload/share for us?
You can download in https://github.com/flyingcys/xuantie-gnu-toolchain/releases
@flyingcys Oh man, thank you!
Here are the steps I took to make it work:
/opt
xattr -rd com.apple.quarantine /opt/Xuantie-900-gcc-elf-newlib-v2.8.1
because it is not signed and will not runbl_mcu_sdk/cmake/bflb_flash.cmake
, at the very top, remove a bunch of if/else step to just set set(TOOL_SUFFIX "-macos")
make CHIP=bl616 BOARD=bl616dk
now completes without errors.
make flash CHIP=bl616 COMX=/dev/cu.usbserial-A50285BI
also runs.
This make process is fairly slow, taking about 20 seconds on my M1. It produces:
Do i need all these? Is there any way to speed it up? It is 10x slower then the similar process on my X86 machine, which is a far slower machine.
updated all build tools and source before
but the build still fails somewhere