Enable waitpid() in sim/nsh2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4041 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
1c15909faa
commit
b0642fdd2f
@ -217,7 +217,7 @@ Loading NuttX with PICkit2
|
|||||||
==========================
|
==========================
|
||||||
|
|
||||||
NOTE: You need a PICKit3 if you plan to use the MPLAB debugger! The PICKit2
|
NOTE: You need a PICKit3 if you plan to use the MPLAB debugger! The PICKit2
|
||||||
can, however, still be used to load problems. Instructions for the PICKit3
|
can, however, still be used to load programs. Instructions for the PICKit3
|
||||||
are similar.
|
are similar.
|
||||||
|
|
||||||
Intel Hex Forma Files:
|
Intel Hex Forma Files:
|
||||||
|
@ -376,7 +376,7 @@ Loading NuttX with PICkit2
|
|||||||
==========================
|
==========================
|
||||||
|
|
||||||
NOTE: You need a PICKit3 if you plan to use the MPLAB debugger! The PICKit2
|
NOTE: You need a PICKit3 if you plan to use the MPLAB debugger! The PICKit2
|
||||||
can, however, still be used to load problems. Instructions for the PICKit3
|
can, however, still be used to load programs. Instructions for the PICKit3
|
||||||
are similar.
|
are similar.
|
||||||
|
|
||||||
Intel Hex Forma Files:
|
Intel Hex Forma Files:
|
||||||
|
@ -182,13 +182,15 @@ CONFIG_PRIORITY_INHERITANCE=n
|
|||||||
CONFIG_SEM_PREALLOCHOLDERS=0
|
CONFIG_SEM_PREALLOCHOLDERS=0
|
||||||
CONFIG_SEM_NNESTPRIO=0
|
CONFIG_SEM_NNESTPRIO=0
|
||||||
CONFIG_FDCLONE_DISABLE=n
|
CONFIG_FDCLONE_DISABLE=n
|
||||||
|
CONFIG_SIG_SIGWORK=4
|
||||||
|
CONFIG_FDCLONE_STDIO=n
|
||||||
|
CONFIG_SDCLONE_DISABLE=y
|
||||||
CONFIG_SCHED_WORKQUEUE=n
|
CONFIG_SCHED_WORKQUEUE=n
|
||||||
CONFIG_SCHED_WORKPRIORITY=50
|
CONFIG_SCHED_WORKPRIORITY=50
|
||||||
CONFIG_SCHED_WORKPERIOD=(50*1000)
|
CONFIG_SCHED_WORKPERIOD=(50*1000)
|
||||||
CONFIG_SCHED_WORKSTACKSIZE=1024
|
CONFIG_SCHED_WORKSTACKSIZE=1024
|
||||||
CONFIG_SIG_SIGWORK=4
|
CONFIG_SCHED_WAITPID=y
|
||||||
CONFIG_FDCLONE_STDIO=n
|
CONFIG_SCHED_ATEXIT=n
|
||||||
CONFIG_SDCLONE_DISABLE=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# The following can be used to disable categories of
|
# The following can be used to disable categories of
|
||||||
|
@ -166,7 +166,7 @@ Loading NuttX with PICkit2
|
|||||||
==========================
|
==========================
|
||||||
|
|
||||||
NOTE: You need a PICKit3 if you plan to use the MPLAB debugger! The PICKit2
|
NOTE: You need a PICKit3 if you plan to use the MPLAB debugger! The PICKit2
|
||||||
can, however, still be used to load problems. Instructions for the PICKit3
|
can, however, still be used to load programs. Instructions for the PICKit3
|
||||||
are similar.
|
are similar.
|
||||||
|
|
||||||
Intel Hex Forma Files:
|
Intel Hex Forma Files:
|
||||||
|
@ -104,6 +104,13 @@
|
|||||||
#define LED_PANIC 5 /* N/C N/C N/C ON N/C N/C N/C OFF */
|
#define LED_PANIC 5 /* N/C N/C N/C ON N/C N/C N/C OFF */
|
||||||
#define LED_NVALUES 6
|
#define LED_NVALUES 6
|
||||||
|
|
||||||
|
/* For distinguishing individual LEDs */
|
||||||
|
|
||||||
|
#define LED_USB 0
|
||||||
|
#define LED_SD 1
|
||||||
|
#define LED_FLASH 2
|
||||||
|
#define LED_ERROR 3
|
||||||
|
|
||||||
/* Button Definitions *******************************************************/
|
/* Button Definitions *******************************************************/
|
||||||
/* The Sure PIC32MX board has three buttons.
|
/* The Sure PIC32MX board has three buttons.
|
||||||
*
|
*
|
||||||
|
@ -92,22 +92,17 @@
|
|||||||
#define LED_NC 2
|
#define LED_NC 2
|
||||||
|
|
||||||
/* Debug ********************************************************************/
|
/* Debug ********************************************************************/
|
||||||
/* Enables debug output from this file (needs CONFIG_DEBUG with
|
|
||||||
* CONFIG_DEBUG_VERBOSE too)
|
|
||||||
*/
|
|
||||||
|
|
||||||
#undef LED_DEBUG /* Define to enable debug */
|
#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_LEDS)
|
||||||
#undef LED_VERBOSE /* Define to enable verbose debug */
|
|
||||||
|
|
||||||
#ifdef LED_DEBUG
|
|
||||||
# define leddbg lldbg
|
# define leddbg lldbg
|
||||||
# ifdef LED_VERBOSE
|
# ifdef CONFIG_DEBUG_VERBOSE
|
||||||
# define ledvdbg lldbg
|
# define ledvdbg lldbg
|
||||||
# else
|
# else
|
||||||
# define ledvdbg(x...)
|
# define ledvdbg(x...)
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# undef LED_VERBOSE
|
# undef CONFIG_DEBUG_LEDS
|
||||||
|
# undef CONFIG_DEBUG_VERBOSE
|
||||||
# define leddbg(x...)
|
# define leddbg(x...)
|
||||||
# define ledvdbg(x...)
|
# define ledvdbg(x...)
|
||||||
#endif
|
#endif
|
||||||
@ -153,7 +148,7 @@ static const g_ledoffvalues[LED_NVALUES] =
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_ledinit
|
* Name: up_setleds
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void up_setleds(struct led_setting_s *setting)
|
void up_setleds(struct led_setting_s *setting)
|
||||||
|
Loading…
Reference in New Issue
Block a user