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

How to properly build a project for Nordic Thingy 52 ?

Hello dear Nordic Semiconductor!!! I took your wonderful Thingy:52 everything was great until I wanted to build a project based on your Thingy: 52-SDK. I have nrf52840 pdk in order to flash Thingy. Inside the sdk folder I found the project ble_app_thingy_s132_pca20020. I tried to compile it, I got a lot of errors) I did not give up and read README. I installed Python 3.6.2 and the GNU ARM embedded toolchain gcc-arm-none-eabi-5_4. added paths to environment variables (made by default, like added). Do I need to do this if I start the project in Keil 5? Then I ran setup_sdk.py the following appeared:

> INFO:setup:Found SDK zip in _build/
> INFO:setup:Extracting SDK
> INFO:setup:Patching SDK Traceback
> (most recent call last):   File
> "setup_sdk.py", line 76, in <module>
>     subprocess.call(cmd, cwd="external/sdk")   File
> "C:\Users\kordi\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py",
> line 267, in call
>     with Popen(*popenargs, **kwargs) as p:   File
> "C:\Users\kordi\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py",
> line 707, in __init__
>     restore_signals, start_new_session)   File
> "C:\Users\kordi\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py",
> line 992, in _execute_child
>     startupinfo) FileNotFoundError: [WinError 2] 

Then I again tried to compile in Keil 5, errors became less, only one

> .\_debug\app_thingy_s132.axf: error:
> L6002U: Could not open file
> ..\..\..\libs\libmpllib_Keil_M4FP\libmpllib.lib:
> No such file or directory 
> 
> 
> ".\_debug\app_thingy_s132.axf" - 1
> Error(s), 1109 Warning(s).

And I want to ask if it is not difficult for you to correctly compile the project by step and maybe something I did not do right? Thank you

Parents
  • Yes, of course, I'm not a strong connoisseur of gcc and compilers, I understand that I'm doing something wrong and that I do not know, because I can not find it. I understand of course that you can download the project from scratch like nrf52840pdk. For example, take the CC2650 SensorTag or Thunderboard Silicon Labs there is also a similar application, but there you can normally open the project and normally patch it. Well if there is a debugger programmer but the project for Thingy is not going to for example in KeiI certainly understand that the product is new but if the code is opened then it probably somehow should be compiled more simply.I for example did not understand how to compile and compile a project. Although I did everything according to the instructions.

Reply
  • Yes, of course, I'm not a strong connoisseur of gcc and compilers, I understand that I'm doing something wrong and that I do not know, because I can not find it. I understand of course that you can download the project from scratch like nrf52840pdk. For example, take the CC2650 SensorTag or Thunderboard Silicon Labs there is also a similar application, but there you can normally open the project and normally patch it. Well if there is a debugger programmer but the project for Thingy is not going to for example in KeiI certainly understand that the product is new but if the code is opened then it probably somehow should be compiled more simply.I for example did not understand how to compile and compile a project. Although I did everything according to the instructions.

Children
No Data
Related