Add support for nestable interrupts

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1506 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-02-15 19:09:28 +00:00
parent 5fef518a63
commit b4ef7b4935
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -63,6 +63,7 @@
#define S3_DDR pd8_1 #define S3_DDR pd8_1
/* LEDs */ /* LEDs */
#define RED_LED p8_0 #define RED_LED p8_0
#define YLW_LED p7_4 #define YLW_LED p7_4
#define GRN_LED p7_2 #define GRN_LED p7_2
@@ -71,6 +72,11 @@
#define YLW_DDR pd7_4 #define YLW_DDR pd7_4
#define GRN_DDR pd7_2 #define GRN_DDR pd7_2
/* IPL settings */
#define M16C_DEFAULT_IPL 0 /* Default M16C Interrupt priority level */
#undef M16C_INTERRUPT_IPL /* Default interrupt IPL to enabled nested interrupts */
/* Define any of the following to specify interrupt priorities. A default /* Define any of the following to specify interrupt priorities. A default
* value of 5 will be used for any unspecified values * value of 5 will be used for any unspecified values
*/ */
+2 -1
View File
@@ -33,7 +33,8 @@
# #
############################################################################ ############################################################################
# #
# architecture selection # architecture selection. NOTE: There are additional M16C-specific
# settings that are provided via the arch/board/board.h file.
# #
# CONFIG_ARCH - identifies the arch subdirectory and, hence, the # CONFIG_ARCH - identifies the arch subdirectory and, hence, the
# processor architecture. # processor architecture.