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 e52892bee3..8304032599 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -92,7 +92,7 @@
92#include "pcf50605.h" 92#include "pcf50605.h"
93#endif 93#endif
94 94
95#if CONFIG_CPU == DM320 || CONFIG_CPU == S3C2440 95#if CONFIG_CPU == DM320 || CONFIG_CPU == S3C2440 || CONFIG_CPU == TCC7801
96#include "debug-target.h" 96#include "debug-target.h"
97#endif 97#endif
98 98
diff --git a/firmware/target/arm/tcc780x/debug-target.h b/firmware/target/arm/tcc780x/debug-target.h
new file mode 100755
index 0000000000..07e8fc4322
--- /dev/null
+++ b/firmware/target/arm/tcc780x/debug-target.h
@@ -0,0 +1,22 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2007 by Karl Kurbjun
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20bool __dbg_hw_info(void);
21bool __dbg_ports(void);
22
diff --git a/firmware/target/arm/tcc780x/debug-tcc780x.c b/firmware/target/arm/tcc780x/debug-tcc780x.c
index cc5716fd88..10345ed7df 100644
--- a/firmware/target/arm/tcc780x/debug-tcc780x.c
+++ b/firmware/target/arm/tcc780x/debug-tcc780x.c
@@ -26,8 +26,8 @@
26#include "lcd.h" 26#include "lcd.h"
27#include "sprintf.h" 27#include "sprintf.h"
28#include "font.h" 28#include "font.h"
29#include "debug-target.h"
29 30
30bool __dbg_ports(void);
31bool __dbg_ports(void) 31bool __dbg_ports(void)
32{ 32{
33 return false; 33 return false;
@@ -36,7 +36,6 @@ bool __dbg_ports(void)
36//extern char r_buffer[5]; 36//extern char r_buffer[5];
37//extern int r_button; 37//extern int r_button;
38 38
39bool __dbg_hw_info(void);
40bool __dbg_hw_info(void) 39bool __dbg_hw_info(void)
41{ 40{
42 int line = 0, button, oldline; 41 int line = 0, button, oldline;