diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 8b42c48a202..163e461e473 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: February 14, 2009

+

Last Updated: February 16, 2009

@@ -860,6 +860,28 @@

+ + + + Renesas M16C/26 + + + +
+ +

+ Renesas M16C/26 Microncontroller. + This port uses the Renesas SKP16C26 Starter kit and the GNU M32C toolchain. + The development environment is either Linux or Cygwin under WinXP. +

+

+ STATUS: + Initial source files released in nuttx-0.4.2. + At this point, the port has not been integrated; + That milestone will be announced in NuttX release notes when it is achieved. +

+ + diff --git a/TODO b/TODO index 3bdf218a47e..cdabfc12a23 100644 --- a/TODO +++ b/TODO @@ -24,7 +24,8 @@ NuttX TODO List (Last updated November 20, 2008) (6) ARM/LPC214x (arch/arm/src/lpc214x/) (3) ARM/STR71x (arch/arm/src/str71x/) (4) pjrc-8052 / MCS51 (arch/pjrc-8051/) - (1) SH-1 (arch/sh) + (1) Hitachi/Renesas SH-1 (arch/sh/src/sh1) + (2) Renesas M16C/26 (arch/sh/src/m16c) (8) z80/z8/ez80 (arch/z80/) (8) z16 (arch/z16/) @@ -547,8 +548,8 @@ o pjrc-8052 / MCS51 (arch/pjrc-8051/) Priority: Low -- only because there as so many other issues with 8051 -o SH-1 (arch/sh) - ^^^^^^^^^^^^^^ +o Hitachi/Renesas SH-1 (arch/sh/src/sh1) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Description: There are instabilities that make the SH-1 port un-usable. The nature of these is not understood; the behavior is that certain SH-1 @@ -570,6 +571,18 @@ o SH-1 (arch/sh) Priority: Low -- because the SH-1, SH7032, is very old and only of historical interest. +o Renesas M16C/26 (arch/sh/src/m16c) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + Description: Coding of the initial port is complete, but is untested. + Status: Open + Priority: Low + + Description: Serial drivers were developed for the M16C, however, the SKP16C26 + StarterKit has not serial connectors. + Status: Open + Priority: Low + o z80/z8/ez80 (arch/z80) ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/arch/sh/src/common/up_internal.h b/arch/sh/src/common/up_internal.h index 3c708a387c7..204ef6ca0d4 100644 --- a/arch/sh/src/common/up_internal.h +++ b/arch/sh/src/common/up_internal.h @@ -98,12 +98,6 @@ extern uint32 *current_regs; */ extern uint32 g_heapbase; - -/* Address of the saved user stack pointer */ - -#if CONFIG_ARCH_INTERRUPTSTACK > 3 -extern uint32 g_userstack; -#endif #endif /**************************************************************************** diff --git a/arch/sh/src/sh1/chip.h b/arch/sh/src/sh1/chip.h index bffa19bd94e..c10322a13a4 100644 --- a/arch/sh/src/sh1/chip.h +++ b/arch/sh/src/sh1/chip.h @@ -59,6 +59,14 @@ * Public Data ************************************************************************************/ +/* Address of the saved user stack pointer */ + +#ifndef __ASSEMBLY__ +# if CONFIG_ARCH_INTERRUPTSTACK > 3 + extern uint32 g_userstack; +# endif +#endif + /************************************************************************************ * Public Functions ************************************************************************************/ diff --git a/configs/skp16c26/include/board.h b/configs/skp16c26/include/board.h index 4039936feb4..029d5d628e6 100644 --- a/configs/skp16c26/include/board.h +++ b/configs/skp16c26/include/board.h @@ -109,8 +109,8 @@ #undef M16C_DM1_PRIO /* DMA1 interrupt priority */ #undef M16C_KUP_PRIO /* Key input interrupt priority */ #undef M16C_AD_PRIO /* A-D conversion interrupt priority */ -#undef M16C_S2T_PRIO /* UART2 transmit interrupt priority */ -#undef M16C_S2R_PRIO /* UART2 receive interrupt priority */ +#undef M16C_S2T_PRIO /* UART2 transmit interrupt priority */ +#undef M16C_S2R_PRIO /* UART2 receive interrupt priority */ #undef M16C_S0T_PRIO /* UART0 transmit interrupt priority */ #undef M16C_S0R_PRIO /* UART0 receive interrupt priority */ #undef M16C_S1T_PRIO /* UART1 transmit interrupt priority */