Sony's Developer World forum

    • Home
    • Forum guidelines

    Slow Build Times with Windows 10 using SDK

    Spresense
    3
    3
    1490
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DogZapper50 1 last edited by DogZapper50 1

      Slow Build Times with Windows 10 using SDK

      Just getting started with working with this hardware. I purchased the following from Mouser:

      Camera ($35)
      Standard Extention board ($35)
      Sony Main Board (Adafruit) ($81)
      I didn't want to wait on free hardware to get started getting familar with the coding environments for Spresence.

      I started out with the SDK model. I just got the "Hello, World" program to run. I'm using a Windows10 PC for my development work.

      Getting to this point was not a pleasant experience. Keeping up with file locations takes some getting used to. The instructions on the Sony web site leave a lot to be desired. I can tell they are trying to help out but details are missed... you are on your own to figure things out when it doesn't work as explained in their web site.

      Anyway, it is all par for the course with getting familiar with new hardware and the coding environment. With Spresence, you have many options to choose from, so I picked the SDK route to start with.

      The problem for me with the SDK route so far is slow build times.
      Using "make" is took 14 minutes to build the nuttx.spk file for download.
      Using "make -j" took 3 minutes, much better, but still slow for Hello World.
      Anybody else having similar compile times? Am I doing something wrong? Are there any other methods to speed this up? I'm going to try Circuit Python next.

      Update: I have a System76 MeerKat computer running Linux. I installed the Spresense SDK on this. Much better experience getting software installed here compared to my Windows10 system!

      Also my compile/build times are great for "Hello World":
      "make" ----> 54 seconds
      "make -j" ----> 5 seconds
      No slow build times here!

      K 1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld @DogZapper50 1 last edited by

        Hi @DogZapper50-1,

        Thank you for your feedback.

        Building on Windows is slow because it uses MSYS2. For this reason, it is better to use Linux in a virtual machine or another PC with Linux.

        If you have time, you can describe in more detail what problems you have encountered in the documentation. This can help us improve the documentation. 🙂

        Best Regards,
        Kamil Tomaszewski

        1 Reply Last reply Reply Quote
        • J
          jenniferslittles 1 1 1 1 last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote
          • Referenced by  J jens6151 0 1 1 
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal