summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/skp16c26
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-02-15 19:09:28 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-02-15 19:09:28 +0000
commite0a342b1fb7fd06cc370e44f0d0019be094c0f99 (patch)
treeca1b2f531d1ee742760851a29d569765b6cc9379 /nuttx/configs/skp16c26
parent1ce997972441ff804408783c1531ef82cb2c9228 (diff)
Add support for nestable interrupts
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1506 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/skp16c26')
-rw-r--r--nuttx/configs/skp16c26/include/board.h6
-rw-r--r--nuttx/configs/skp16c26/ostest/defconfig3
2 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/configs/skp16c26/include/board.h b/nuttx/configs/skp16c26/include/board.h
index ffb80b69e5..bf4d975205 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
*/
diff --git a/nuttx/configs/skp16c26/ostest/defconfig b/nuttx/configs/skp16c26/ostest/defconfig
index ffadaa5c73..6757d5d74f 100644
--- a/nuttx/configs/skp16c26/ostest/defconfig
+++ b/nuttx/configs/skp16c26/ostest/defconfig
@@ -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
# processor architecture.