Is there a limit to the length of command names created in Sony Spresense?

Asked 2 years ago, Updated 2 years ago, 60 views

I'm a beginner at Sony Spresense.For some reason, I would like to give a command name with many characters, but is there a limit to the length of the command name?

spresense

2022-09-30 14:39

1 Answers

READLINE_MAX_EXTCMDS in NuttShell configuration is 64 by default, so
Up to 64 characters including arguments.

config READLINE_MAX_EXTCMDS
    int "Maximum external command matches"
    default64
    depend on READLINE_HAVE_EXTMATCH
    ---help---
        This maximum number of matching names of external commands that
        Will be displayed.


2022-09-30 14:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.