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.

     

     

    Solved Understand compilation process and OS choice

    Spresense
    2
    4
    2000
    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.
    • R
      RomainPC 0 1 1 1 1 1 1 last edited by

      Hello,

      We are starting with the spresense board and are able to compile an Arduino program on it or a NuttX program from CLI or IDE.

      We don't quite understand how to flash a finished program and be able to restart it with the reset. It works on Arduino only. With an adjacent NuttX application after the build and flash we are able to run the new custom command from nutt shell.
      So is there a way to specify to the kernel how to implicitly launch this app at power up or reset ?

      Otherwise, what are the differences between Arduino, NuttX and running SDK without RTOS ? What are they conventionally used for ?

      Best regards,
      Romain

      C 1 Reply Last reply Reply Quote
      • C
        CamilaSouza DeveloperWorld @RomainPC 0 1 1 1 1 1 1 last edited by

        Hi, @RomainPC
        Please try the instructions below in order to run your application automatically using the CLI. https://developer.sony.com/develop/spresense/docs/sdk_tutorials_en.html?#_tips_autostart

        Spresense development environments are explained here: https://developer.sony.com/develop/spresense/docs/introduction_en.html#_spresense_software

        The Arduino IDE provides an easy environment for developers that are already familiar with the platform. It contains a pre-built SDK, so the configurations are fixed. It is possible to create a customized package and install it in the Arduino IDE in a local environment by following this tutorial:
        https://developer.sony.com/develop/spresense/docs/arduino_set_up_en.html#_how_to_create_customized_package

        With the CLI you have more control and can experiment with the configurations more freely.

        R 1 Reply Last reply Reply Quote
        • R
          RomainPC 0 1 1 1 1 1 1 @CamilaSouza last edited by

          Hi, @CamilaSouza

          Thanks you I am able to flash a program on my board and boot on it.
          I used the second method, just by changing the entry point. There is a small error in the documentation, the parameter is CONFIG_USER_ENTRYPOINT.

          C 1 Reply Last reply Reply Quote
          • Topic has been marked as solved  R RomainPC 0 1 1 1 1 1 1 
          • C
            CamilaSouza DeveloperWorld @RomainPC 0 1 1 1 1 1 1 last edited by

            @RomainPC-0-1-1-1-1-1-1
            Thank you for pointing it out!

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