diff --git a/configs/freedom-kl25z/README.txt b/configs/freedom-kl25z/README.txt index c57f1a2ca4..bf1101e36c 100644 --- a/configs/freedom-kl25z/README.txt +++ b/configs/freedom-kl25z/README.txt @@ -336,6 +336,13 @@ Where is one of the following: of an RS-232 serial console. However, that configuration has not been impelmented as of this writing. + minnsh: + ------ + + This is a experiment to see just how small we can get a usable NSH + configuration. This configuration has far fewer features than the nsh + configuration but is also a fraction of the size. + nsh: --- Configures the NuttShell (nsh) located at apps/examples/nsh. The diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h index 09936b2859..fa89d83448 100644 --- a/include/nuttx/arch.h +++ b/include/nuttx/arch.h @@ -362,7 +362,7 @@ void up_release_pending(void); * * Description: * Called when the priority of a running or - * ready-to-run task changes and the reprioritization will + * ready-to-run task changes and the reprioritization will * cause a context switch. Two cases: * * 1) The priority of the currently running task drops and the next @@ -1111,6 +1111,16 @@ void relays_powermodes(uint32_t relays_stat); int up_putc(int ch); +/**************************************************************************** + * Name: up_getc + * + * Description: + * Get one character on the console + * + ****************************************************************************/ + +int up_getc(void); + #ifdef __cplusplus } #endif