summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/debug_menu.c2
-rwxr-xr-xfirmware/target/arm/tcc780x/debug-target.h22
-rw-r--r--firmware/target/arm/tcc780x/debug-tcc780x.c3
3 files changed, 24 insertions, 3 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index e52892b..8304032 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -92,7 +92,7 @@
#include "pcf50605.h"
#endif
-#if CONFIG_CPU == DM320 || CONFIG_CPU == S3C2440
+#if CONFIG_CPU == DM320 || CONFIG_CPU == S3C2440 || CONFIG_CPU == TCC7801
#include "debug-target.h"
#endif
diff --git a/firmware/target/arm/tcc780x/debug-target.h b/firmware/target/arm/tcc780x/debug-target.h
new file mode 100755
index 0000000..07e8fc4
--- /dev/null
+++ b/firmware/target/arm/tcc780x/debug-target.h
@@ -0,0 +1,22 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2007 by Karl Kurbjun
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+bool __dbg_hw_info(void);
+bool __dbg_ports(void);
+
diff --git a/firmware/target/arm/tcc780x/debug-tcc780x.c b/firmware/target/arm/tcc780x/debug-tcc780x.c
index cc5716f..10345ed 100644
--- a/firmware/target/arm/tcc780x/debug-tcc780x.c
+++ b/firmware/target/arm/tcc780x/debug-tcc780x.c
@@ -26,8 +26,8 @@
#include "lcd.h"
#include "sprintf.h"
#include "font.h"
+#include "debug-target.h"
-bool __dbg_ports(void);
bool __dbg_ports(void)
{
return false;
@@ -36,7 +36,6 @@ bool __dbg_ports(void)
//extern char r_buffer[5];
//extern int r_button;
-bool __dbg_hw_info(void);
bool __dbg_hw_info(void)
{
int line = 0, button, oldline;