diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-02-17 02:53:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-02-17 02:53:24 +0000 |
commit | 6ae471ff90ac6783fb8d3d1559652f45aa6a794f (patch) | |
tree | 51a5f75178a25dd190f2214ae76481ef350da5fb /nuttx | |
parent | 56d90dca78d332130f9872e06fa6d33512a0193e (diff) | |
download | px4-nuttx-6ae471ff90ac6783fb8d3d1559652f45aa6a794f.tar.gz px4-nuttx-6ae471ff90ac6783fb8d3d1559652f45aa6a794f.tar.bz2 px4-nuttx-6ae471ff90ac6783fb8d3d1559652f45aa6a794f.zip |
Complete coding of M16C port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1510 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/Documentation/NuttX.html | 24 | ||||
-rw-r--r-- | nuttx/TODO | 19 | ||||
-rw-r--r-- | nuttx/arch/sh/src/common/up_internal.h | 6 | ||||
-rw-r--r-- | nuttx/arch/sh/src/sh1/chip.h | 8 | ||||
-rw-r--r-- | nuttx/configs/skp16c26/include/board.h | 4 |
5 files changed, 49 insertions, 12 deletions
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 8b42c48a2..163e461e4 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -8,7 +8,7 @@ <tr align="center" bgcolor="#e4e4e4"> <td> <h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1> - <p>Last Updated: February 14, 2009</p> + <p>Last Updated: February 16, 2009</p> </td> </tr> </table> @@ -863,6 +863,28 @@ <tr> <td valign="top"><img height="20" width="20" src="favicon.ico"></td> <td bgcolor="#5eaee1"> + <b>Renesas M16C/26</b> + </td> +</tr> +<tr> + <td><br></td> + <td> + <p> + <b>Renesas M16C/26 Microncontroller</b>. + This port uses the Renesas SKP16C26 Starter kit and the GNU M32C toolchain. + The development environment is either Linux or Cygwin under WinXP. + </p> + <p> + <b>STATUS:</b> + 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. + </p> + </td> +</tr> +<tr> + <td valign="top"><img height="20" width="20" src="favicon.ico"></td> + <td bgcolor="#5eaee1"> <b>Zilog Z16F</b> </td> </tr> diff --git a/nuttx/TODO b/nuttx/TODO index 3bdf218a4..cdabfc12a 100644 --- a/nuttx/TODO +++ b/nuttx/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/nuttx/arch/sh/src/common/up_internal.h b/nuttx/arch/sh/src/common/up_internal.h index 3c708a387..204ef6ca0 100644 --- a/nuttx/arch/sh/src/common/up_internal.h +++ b/nuttx/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/nuttx/arch/sh/src/sh1/chip.h b/nuttx/arch/sh/src/sh1/chip.h index bffa19bd9..c10322a13 100644 --- a/nuttx/arch/sh/src/sh1/chip.h +++ b/nuttx/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/nuttx/configs/skp16c26/include/board.h b/nuttx/configs/skp16c26/include/board.h index 4039936fe..029d5d628 100644 --- a/nuttx/configs/skp16c26/include/board.h +++ b/nuttx/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 */ |