Thread CLI pin configuration

Hi, I am using the nrf52 Thread v4.1.0 SDK for development 

I am using ADA4333

there pin 6 is used for Gate control but

in CLI pin 6 is used as uart tx

and it is hard-coded how i need to change it

i followed this thing

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fthread_ot_libraries_building.html&cp=8_3_2_1_4

clone the openthread folder

git checkout to c6a258e3a5bd90aa26d8245c435c0ae5797027f4 as per readme file in the sdk

PS D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project\openthread> git checkout c6a258e3a5bd90aa26d8245c435c0ae5797027f4
Updating files: 100% (1364/1364), done.
Previous HEAD position was 8a1992e2e [nrf52833] fix bootloader configuration (#4392)
HEAD is now at c6a258e3a [github-actions] include fuzz checks (#4792)
PS D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project\openthread> cd..
PS D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project> py -3 build_gcc_libs.py
Traceback (most recent call last):
  File "D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project\build_gcc_libs.py", line 28, in <module>
    subprocess.run(make_cmd, check=True)
  File "C:\Python39\lib\subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Python39\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Python39\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
PS D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project> py -3 D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project\build_gcc_libs.py
Traceback (most recent call last):
  File "D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project\build_gcc_libs.py", line 28, in <module>
    subprocess.run(make_cmd, check=True)
  File "C:\Python39\lib\subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Python39\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Python39\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
PS D:\nRF52\SmartVote\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\openthread\project>

Parents
  • Hi Sunil,

    For custom board development with nRF5 SDK, please follow Using the SDK with other boards.

    You can assign new UART pin settings for your board similar to nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\components\boards\pca10040.h.

    It is not a good idea to build the latest OpenThread libraries for Thread and Zigbee v4.1.0 at 2022 now, you may struggle with compatibility issues. Python39 is also too advanced for this tutorial.

    Stay with pre-built Thread stack libraries for testing and verification. If you really want to use the latest OpenThread libraries. Please turn to NCS1.8.0.

    Best regards,

    Charlie

Reply
  • Hi Sunil,

    For custom board development with nRF5 SDK, please follow Using the SDK with other boards.

    You can assign new UART pin settings for your board similar to nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\components\boards\pca10040.h.

    It is not a good idea to build the latest OpenThread libraries for Thread and Zigbee v4.1.0 at 2022 now, you may struggle with compatibility issues. Python39 is also too advanced for this tutorial.

    Stay with pre-built Thread stack libraries for testing and verification. If you really want to use the latest OpenThread libraries. Please turn to NCS1.8.0.

    Best regards,

    Charlie

Children
No Data
Related