hai , I would like to program cli uart in pca10059, what are all things to change in openthread stack in order to change UART pin configure and how to compile it ? I use only segger compiler , any guidline to use gcc in windows 10??
hai , I would like to program cli uart in pca10059, what are all things to change in openthread stack in order to change UART pin configure and how to compile it ? I use only segger compiler , any guidline to use gcc in windows 10??
Ok, You could also use the second UART instance in the application to receive data from the controller, in case the controller does not need to have access to the full CLI. Let me know if you are not able to build the libraries and include any errors you are facing, etc.
I installed the 32 bit versions and still can't figure out exactly how to compile in GCC , I try to follow the ticket https://devzone.nordicsemi.com/f/nordic-q-a/46660/nrf5-sdk-for-thread-and-zigbee but still couldn't compile, Is there any tutorial available for GCC compiler for ARM ??
What errors do you get? Note that if you use a different SDK version than what is mentioned in that thread (it gives instructions for nRF5 SDK for Thread and Zigbee v3.0.0), you need to checkout a different commit in the openthread directory before building. You can always find the correct commit hash in the file [SDK_ROOT]\external\openthread\project\readme.txt
Hai , I too tried in version 3 , but in it there are lot for folders named 'NFR52840' and 'openthread'; I don't know
where to place .bat file ??
I copied a part of compiled output (I couldn't copy all ) and pasted below;
If supposed I am using new version , can't this ticket be used ??
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
C:\Users\admin\Downloads\nRF5_SDK_for_Thread_and_Zigbee_v3.0.0_d310e71\external\openthread\project\nrf52840>make -C mbedcrypto\cc310\armgcc
make: Entering directory `/c/Users/admin/Downloads/nRF5_SDK_for_Thread_and_Zigbee_v3.0.0_d310e71/external/openthread/project/nrf52840/mbedcrypto/cc310/armgcc'
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/aes.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/asn1parse.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/asn1write.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/base64.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/bignum.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ccm.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/cipher.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/cipher_wrap.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/cmac.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ctr_drbg.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/debug.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ecdh.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ecdsa.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ecjpake.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ecp.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ecp_curves.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/entropy.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/entropy_poll.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/md.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/md_wrap.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/memory_buffer_alloc.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/oid.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/pem.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/pk.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/pk_wrap.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/pkparse.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/platform.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/platform_util.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/sha256.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ssl_ciphersuites.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ssl_cli.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ssl_cookie.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ssl_srv.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ssl_ticket.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/ssl_tls.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/x509.c
Makefile:138: Cannot find source file: ../../../../openthread/third_party/mbedtls/repo/library/x509_crt.c
Makefile:138: Cannot find include folder: ../../../../openthread/examples/platforms/nrf52840
Makefile:138: Cannot find include folder: ../../../../openthread/third_party/mbedtls
Makefile:138: Cannot find include folder: ../../../../openthread/third_party/mbedtls/repo/include/mbedtls
Makefile:138: Cannot find include folder: ../../../../openthread/third_party/NordicSemiconductor/libraries/crypto
Makefile:138: Cannot find include folder: ../../../../openthread/src/core
Makefile:138: Cannot find include folder: ../../../../openthread/third_party/NordicSemiconductor/nrfx/mdk
Makefile:138: Cannot find include folder: ../../../../openthread/third_party/mbedtls/repo/include
Makefile:138: Cannot find include folder: ../../../../openthread/third_party/NordicSemiconductor/libraries/nrf_cc310/include
Makefile:138: Cannot find include folder: ../../../../openthread/third_party/NordicSemiconductor/cmsis
Makefile:138: Cannot find include folder: ../../../../openthread/include
Compiling file: aes.c
arm-none-eabi-gcc.exe: error: ../../../../openthread/third_party/mbedtls/repo/library/aes.c: No such file or directory
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.
It looks like you have not cloned the openthread repository.
Follow these steps to build:
py -3 import_libs.py gcc
" from the command line.