summaryrefslogtreecommitdiff
path: root/nuttx/configs/skp16c26/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-02-15 19:09:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-02-15 19:09:28 +0000
commita22e98a5e881cc217f56da8a2582e54177cca8c5 (patch)
treeca1b2f531d1ee742760851a29d569765b6cc9379 /nuttx/configs/skp16c26/include
parent7dec1c70ecb7e1430322b96193de262159e37827 (diff)
downloadpx4-nuttx-a22e98a5e881cc217f56da8a2582e54177cca8c5.tar.gz
px4-nuttx-a22e98a5e881cc217f56da8a2582e54177cca8c5.tar.bz2
px4-nuttx-a22e98a5e881cc217f56da8a2582e54177cca8c5.zip
Add support for nestable interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1506 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/skp16c26/include')
-rw-r--r--nuttx/configs/skp16c26/include/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/skp16c26/include/board.h b/nuttx/configs/skp16c26/include/board.h
index ffb80b69e..bf4d97520 100644
--- a/nuttx/configs/skp16c26/include/board.h
+++ b/nuttx/configs/skp16c26/include/board.h
@@ -63,6 +63,7 @@
#define S3_DDR pd8_1
/* LEDs */
+
#define RED_LED p8_0
#define YLW_LED p7_4
#define GRN_LED p7_2
@@ -71,6 +72,11 @@
#define YLW_DDR pd7_4
#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
* value of 5 will be used for any unspecified values
*/