From e0a342b1fb7fd06cc370e44f0d0019be094c0f99 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 15 Feb 2009 19:09:28 +0000 Subject: Add support for nestable interrupts git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1506 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/configs/skp16c26/include/board.h | 6 ++++++ nuttx/configs/skp16c26/ostest/defconfig | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'nuttx/configs/skp16c26') 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. -- cgit v1.2.3