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

Compiling Thingy 52 issue

Hi I have included Nordic Thingy52-SESFW to build my thingy:52 file and was at first met with path issues of nordic_common.h and core_cm4.h but have included them by adding in the file paths under common->preprocessor->user include directories. 

I then tried to compile again and was met with this problem. What can be done?

One of the nordic support engineers reminded me to run setup_sdk.bat to create the sdk_components folder. But I do not understand this at all. Disappointed Like after following the steps on the prerequisite, I clicked on setup_sdk.bat and they just showed me this:

Please do assist me with the prerequisite part too. I thank you.

  • Hi

    Is it the Nordic Thingy:52 SDK you are struggling with? It seems Make is not installed and added to your system path. Please check out this link. If you haven't set up the SDK yet you won't be able to compile and flash the Thingy:52 SDK projects either. Please make sure you follow the prerequisite and setup guide on our Github.

    Best regards,

    Simon

  • I am not struggling with the Nordic Thingy:52 SDK Segger section but with compiling Thingy52-SESFW as recommended by one of the nordic engineers since the file in Nordic Thingy:52 SDK shared on GitHub is broken as discussed in the forum here.

    I downloaded the Make to C:\Program Files (x86)\GnuWin32 but my Nordic File that I want to compile is at C:\Users\Admin\Desktop\NORDIC DEV\Thingy52\Thingy_SES_FW\Nordic-Thingy52-SESFW\project\pca20020_s132\ses, I do not comprehend the instructions "Make must be installed and be in system path". I am confused as to system path is which path?

    One of the nordic support engineers reminded me to run setup_sdk.bat to create the sdk_components folder. But I do not understand this at all.  Like after following the steps on the prerequisite, I clicked on setup_sdk.bat and they just showed me the photo above in my question.

    I have also followed the prerequisite but still unable to compile. I may not have fully comprehended the prerequisites too. Any idea of how you may help me with that?

  • Hi

    If you're not familiar with how to add things to your path with the Control Panel in Windows, I would suggest Chocolatey which will do this for you.

    • Install chocolatey from here.
    • Then, run choco install make in CMD

    You should now be able to use Make on Windows. Note that this is not Nordic specific, and if you got any particular questions on the process of installing Make or git on a computer, remember that Google (or your regional equivalent) is your friend.

    Best regards,

    Simon

  • Thank you Simonr for directing me to setup make. I am now able to do the setup_sdk.bat. I tried to compile the file again and was met with some issues in particular: ../../../libs/liblibmplmpu_m4_hardfp/liblibmplmpu.a does not exist. I have actually added it to the libs file but it still could not compile.(second picture below) On top of this error, there are multiple others that I could not find the answer to on the community. What can I do?

  • Have you checked out step 4 in the prerequisites guide, telling you to "Create a user at https://www.invensense.com/. Under “Downloads” download “Embedded MotionDriver 6.12”. Unzip the downloaded motion_driver_6.12 folder and navigate to motion_driver_6.12/mpl libraries/arm/Keil. Unzip the folder libmpllib_Keil_M4FP.zip. Copy the extracted library libmpllib.lib into <your Thingy folder>/libs/libmpllib_Keil_M4FP/. Finally, unzip /motion_driver_6.12/mpl libraries/arm/gcc4.9.3/liblibmplmpu_m4_hardfp.zip and copy the extracted library liblibmplmpu.a into the folder <your Thingy folder>/libs/liblibmplmpu_m4_hardfp/."

    Best regards,

    Simon

Related