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

Related