Topic

FAQ
Login Register
building example on Linux with CMake
Mar 10, 2022 18:42

/

A

/A

I tried to follow procedure described here:
http://wiki.telink-semi.cn/wiki/IDE-and-Tools/Compiler_Linux/

I applied this on Driver SDK 2.0.0 referenced here: http://wiki.telink-semi.cn/wiki/chip-series/TLSR9-Series/

I m using toolchain: http://wiki.telink-semi.cn/tools_and_sdk/Tools/IDE/telink_riscv_linux_toolchain.zipThe CMakeLists.txt has to be modified because some directories where moved (drivers/B91 -> /chip/B91/drivers; vendor -> demo/vendor; etc...)
some changes in files name also: 
${CMAKE_CURRENT_LIST_DIR}/chip/B91/boot/cstartup_flash.S)


After that I still have compile errors.

error shows libncurses.so.5 is expected to be present in: telink_riscv_linux_toolchain/nds32le-elf-mculib-v5f/riscv32-elf/bin/ld
But this directory is empty

The apps note is not in line with latest deliveries. Would it be possible to have consistent references to sources and build method for reference example with Linux (don t want to go through window as much as possible)?


2 replies
TL_bloom5 Mar 11, 2022 13:55
0
/A

Hi jneanne,
    There is a script that will install these for you in the AndesSight folder, it is install_package.sh or something similar.


jneanne [Author] Mar 14, 2022 17:10
0
/A


Hi TL_bloom5,
Could you point me to a link where I can download this?


Related topics
No related topics