This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

cannot find ../../../../../external/micro-ecc/nrf52hf_armgcc/armgcc/micro_ecc_lib_nrf52.a: No such file or directory

I'm learning how to use OTA DFU on Win10 laptop. I followed this and this guide step by step. I have a couple of questions: 

1) (See below code) How to use "arm-none-eabi-gcc –version" to check GNU ARM Toolchain version, please? 

C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\bin>arm-none-eabi-gcc -version
arm-none-eabi-gcc: error: unrecognized command-line option '-version'
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.

2) I tried to run the Makefile in Windows command prompt. Strang finding: I'm using GNU Arm Embedded Toolchain\10 2020-q4-major, but the command prompt shows GNU Tools ARM Embedded/9 2019-q4-major. Why the version doesn't match? Why I have the following error, please? 

D:\OneDrive - Aimwell Pty Ltd\Desktop\Aimwell\SDK_Code\external\micro-ecc\nrf52hf_armgcc\armgcc>make
process_begin: CreateProcess(NULL, "C:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc" --version, ...) failed.
../../../../components/toolchain/gcc/Makefile.common:129: pipe: No error
Cannot find: 'C:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major/bin/arm-none-eabi-gcc'.
Please set values in: "D:/OneDrive - Aimwell Pty Ltd/Desktop/Aimwell/SDK_Code/components/toolchain/gcc/Makefile.windows"
according to the actual configuration of your system.
../../../../components/toolchain/gcc/Makefile.common:129: *** Cannot continue.  Stop.

Thanks in advance! 

Related