define range for FAULT_DUMP config variable

Only allow valid values to be set for this option.

Change-Id: I11dd7381ddbf6d4d9985255b9b784544074aba63
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-11-01 17:21:26 -05:00
commit 2ad03b930d
2 changed files with 2 additions and 0 deletions

View file

@ -116,6 +116,7 @@ config FAULT_DUMP
int
prompt "Fault dump level"
default 2
range 0 2
help
Different levels for display information when a fault occurs.

View file

@ -84,6 +84,7 @@ config FAULT_DUMP
int
prompt "Fault dump level"
default 2
range 0 2
help
Different levels for display information when a fault occurs.