Solved Understand compilation process and OS choice
-
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 -
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_autostartSpresense 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_packageWith the CLI you have more control and can experiment with the configurations more freely.
-
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 isCONFIG_USER_ENTRYPOINT
. -
-
@RomainPC-0-1-1-1-1-1-1
Thank you for pointing it out!