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.
Need Help: Running Spresense Using Nuttx on VSCode-MacBook Pro
-
Hello, I'm new here so I'm not sure whether this is how you ask a question when you need help. I just finished setting up my board on Visual Studio Code on Mac. The issue is, when I try to Build and Flush the sample "Hello World!!" program on Spresense board to be shown on the Serial terminal, in VSCode, I get "command not found", why is this? below is how the error is being displayed in the serial terminal...
NuttShell (NSH) NuttX-10.2.0
nsh> My_Spresense_Apps
nsh: My_Spresense_Apps: command not found
nsh>---END---
The .c file (or nuttx.spk file) I am trying to flush on the board is saved in a folder called "My_Spresense_Apps". I tried following the instructions on the website below;
Please help!
-
Hello,
If you have followed the instructions correctly, the command should be flashed.
The name of the command is normally the name of the .c containing themain(int argc, char *argv[])
function.
By default it is the name you enter at app creation, not the name of the folder (created at workspace creation).To be sure try
help
command, from memory the commands appear or there is a command to list applications. -
Hey Romain, I did use the same command as the name of the .c file. I saved the file with the same name as the .c file as well, I don't know whether that could be an issue. The board builds and flashes pretty well in Arduino, but not in VS Code (don't want to use Arduino). When the nuttx serial terminal opens up, what I do next is type in the name of my .c file (only) and hit enter, then says "command not found". Please advise. Thank you!
-
Hey, @Benediction-1-2
Either your command is not actually there or it could be there with a different name than you expected. Could you type help when the nuttx serial terminal opens and check if there is any command that could be from your application?