Hello every body!
I want to write a program for TLSR9518 in VS-code.
for begin, I chose the simplest example (hello_world) from zephyr-3.2.0 SDK and chose the board (TLSR9518adk80d) from the list.
I faced some problem because toolchain path (../toolchains/v2.3.0/opt/zephyr-sdk/) didn't contain the toolchain (riscv64-zephyr-elf)
so I downloaded it from the link https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.1-beta1. .
Now I have another error in that, some driver files (in zephyr/drivers) need libraries ("sys.h" and "analog.h") that aren't contained.
I couldn't find this libraries anywhere, can you pleas help me.
Hi,
we use west manage zephyr project,It seems you miss the telink hal files with out using west,you can download the hal files in follow link,also can find it in west.yml file
I am not sure if I did the right way. but I downloaded this folder (hal_telink) manually and I copied their contents to path (modules/hal/telink) in the SDK .
in the west.yml file i already have it:
But by building the project (west build -b tlsr9518adk80d) it stills read the old driver files, that located in zephyr/drivers.
Are there any additional configurations should be added in the project?
please follow the link(https://docs.zephyrproject.org/latest/develop/getting_started/index.html) to rebuild you enviroment
Thank you very much
it is working