diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-19 18:06:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-19 18:06:02 +0000 |
commit | 3d7a7cab5a53586684ea034062e200d33951fef0 (patch) | |
tree | 5e3612604094f710801c50e8ab78d34388e45572 /apps/README.txt | |
parent | 1662fe2b9a8d4d6b9241949dd14f980de45c0b2f (diff) | |
download | nuttx-3d7a7cab5a53586684ea034062e200d33951fef0.tar.gz nuttx-3d7a7cab5a53586684ea034062e200d33951fef0.tar.bz2 nuttx-3d7a7cab5a53586684ea034062e200d33951fef0.zip |
Add STM3240 alternate pin functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4103 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/README.txt')
-rw-r--r-- | apps/README.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/README.txt b/apps/README.txt index f6d888adc..f1fb124c4 100644 --- a/apps/README.txt +++ b/apps/README.txt @@ -9,6 +9,7 @@ Contents Named Applications Named Startup main() function NuttShell (NSH) Built-In Commands + Synchronous Built-In Commands Application Configuration File Example Named Application @@ -71,6 +72,27 @@ enabled in the NuttX configuration file: CONFIG_NSH_BUILTIN_APPS=y +Applications registered in the apps/namedapp/namedapp_list.h file will then +be accessible from the NSH command line. If you type 'help' at the NSH +prompt, you will see a list of the registered commands. + +Synchronous Built-In Commands +----------------------------- +By default, built-in commands started from the NSH command line will run +asynchronously with NSH. If you want to force NSH to execute commands +then wait for the command to execute, you can enable that feature by +adding the following to the NuttX configuration file: + +CONFIG_SCHED_WAITPID=y + +The configuration option enables support for the waitpid() RTOS interface. +When that interface is enabled, NSH will use it to wait, sleeping until +the built-in command executes to completion. + +Of course, even with CONFIG_SCHED_WAITPID=y defined, specific commands +can still be forced to run asynchronously by adding the ampersand (&) +after the NSH command. + Application Configuration File ------------------------------ A special configuration file is used to configure which applications |