Hi all,

I'm looking for help and found on Github this is the best way.

In short, I don't understand why "set FOO `pwd`" gives me this error:

"nsh: pwd: open failed: No such file or directory"


I don't understand it because the documentation
<https://nuttx.apache.org/docs/latest/applications/nsh/config.html#nsh-specific-configuration-settings>suggests
this should work if  CONFIG_NSH_CMDPARMS is enabled.

Context:

   - I'm using Nuttx through PX4 with the "Cube Orange"
   - In the configuration of that board I see "CONFIG_NSH_CMDPARMS" turned
   on:
      -
      
https://github.com/PX4/PX4-Autopilot/blob/master/boards/cubepilot/cubeorange/nuttx-config/console/defconfig
      -
      
https://github.com/PX4/PX4-Autopilot/blob/master/boards/cubepilot/cubeorange/nuttx-config/nsh/defconfig
      - I'm afraid that as an end user, I don't know what the
      difference between these configurations is and how I can tell whether the
      parameter is in fact enabled in the shell I'm accessing

For reference, I asked this question earlier also on the PX4 forum:
https://discuss.px4.io/t/nuttx-output-from-commands/21015


Any help or pointers are appreciated!


Best regards / Vriendelijke groet,

Pieter-Jan Dewitte
R&D Engineer
*ATMOS UAV B.V.*
Hangaargebied
Marinevliegkamp 356
2236ZZ Valkenburg ZH
The Netherlands

+31 (0) 15 744 0321
pieterjan.dewi...@atmosuav.com
www.atmosuav.com

Reply via email to