Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    Differences in build times between VScode (MSYS) and WSL2 environments.

    Spresense
    2
    5
    451
    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.
    • G
      gyps last edited by

      I recently tried to switch from a WSL2 environment to a VScode environment for debugging and found that the time it took to build differed by a factor of 10 or more.
      Is this inevitable because I am using MSYS2?
      Also, if anyone knows of any tips to speed up the build time on VScode, that would be great.

      Thank you in advance.

      J 1 Reply Last reply Reply Quote
      • J
        jens6151 0 1 1 @gyps last edited by

        @gyps If not already applied, then add "-j" to all make commands in the .vscode/build.sh.

        There was a very old post in this forum that explained that the MSYS2 is that slow.
        That is all I can say as I am not on Windows.

        J 1 Reply Last reply Reply Quote
        • J
          jens6151 0 1 1 @jens6151 0 1 1 last edited by

          https://forum.developer.sony.com/topic/623/slow-build-times-with-windows-10-using-sdk/3

          G 1 Reply Last reply Reply Quote
          • G
            gyps @jens6151 0 1 1 last edited by

            @jens6151-0-1-1 Thank you for letting me know!!
            I will try it in the form of filling in the -j option.

            J 1 Reply Last reply Reply Quote
            • J
              jens6151 0 1 1 @gyps last edited by

              @gyps
              Also try to increase the upload speed.
              There is a configuration ${config:spresense.serial.port}. I have no clue how to set it.
              The alternative is hack it into the file spresense-sdk/spresense/sdk/tools/flash.sh

              UART_BAUDRATE="230400"
              

              Higher speeds are not successful.

              Also do not forget the clean "make clean -j".

              1 Reply Last reply Reply Quote
              • First post
                Last post
              Developer World
              Copyright © 2021 Sony Group Corporation. All rights reserved.
              • Contact us
              • Legal