diff options
author | Aaron Nyholm <aaron.nyholm@southerninnovation.com> | 2023-03-16 12:01:45 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-05-16 12:48:18 +1000 |
commit | 984693a4b33ed20a7a9d66937d9a0227b910ad0c (patch) | |
tree | 32a22990bf7769c7f6401be3e9b72cefa59d7080 /cpukit/include | |
parent | cpukit/flash: Add API for Flash devices (diff) | |
download | rtems-984693a4b33ed20a7a9d66937d9a0227b910ad0c.tar.bz2 |
libmisc/shell: Add flashdev command
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/shellconfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/include/rtems/shellconfig.h b/cpukit/include/rtems/shellconfig.h index a013840ee7..489f281400 100644 --- a/cpukit/include/rtems/shellconfig.h +++ b/cpukit/include/rtems/shellconfig.h @@ -98,6 +98,7 @@ extern rtems_shell_cmd_t rtems_shell_MD5_Command; extern rtems_shell_cmd_t rtems_shell_RTC_Command; extern rtems_shell_cmd_t rtems_shell_SPI_Command; +extern rtems_shell_cmd_t rtems_shell_FLASHDEV_Command; extern rtems_shell_cmd_t rtems_shell_I2CDETECT_Command; extern rtems_shell_cmd_t rtems_shell_I2CGET_Command; extern rtems_shell_cmd_t rtems_shell_I2CSET_Command; @@ -557,6 +558,12 @@ extern rtems_shell_alias_t * const rtems_shell_Initial_aliases[]; #endif #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \ + && !defined(CONFIGURE_SHELL_NO_COMMAND_FLASHDEV)) \ + || defined(CONFIGURE_SHELL_COMMAND_FLASHDEV) + &rtems_shell_FLASHDEV_Command, + #endif + + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \ && !defined(CONFIGURE_SHELL_NO_COMMAND_I2CDETECT)) \ || defined(CONFIGURE_SHELL_COMMAND_I2CDETECT) &rtems_shell_I2CDETECT_Command, |