Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

To use shell commands, four files, in addition to the generic file system files, must be included in the build:

  • fs_shell.c
  • fs_shell.h
  • shell.c (located in \Micrium\Software\uC-Shell\Source)
  • shell.h (located in \Micrium\Software\uC-Shell\Source)

The file fs_shell.h and shell.h must also be #included in any application or header files initialize µC/Shell or handle shell commands. The shell command configuration file (fs_shell_cfg.h) should be copied to your application directory and modified. The following directories must be on the project include path:

  • \Micrium\Software\uC-FS\Cmd
  • \Micrium\Software\uC-Shell\Source

µC/Shell with the µC/FS shell commands is initialized in . The file system initialization (FS_Init()) function should have previously been called.

It’s assumed that the application will create a task to receive input from a terminal; this task should be written as shown in .

  • No labels