diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2008-02-15 12:37:36 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2008-02-15 12:37:36 +0000 |
commit | b650bc592aa09f8ba74bdfb420ef869b97fbaaf8 (patch) | |
tree | f982900ce0eaec9a82df7a111a70e7fdb4d6a92e | |
parent | 98e896cedee16fa74a74c34346709e6682301562 (diff) | |
download | rockbox-b650bc592aa09f8ba74bdfb420ef869b97fbaaf8.tar.gz rockbox-b650bc592aa09f8ba74bdfb420ef869b97fbaaf8.zip |
fix compiling of debug menu for tcc780x
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16316 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/debug_menu.c | 2 | ||||
-rwxr-xr-x | firmware/target/arm/tcc780x/debug-target.h | 22 | ||||
-rw-r--r-- | firmware/target/arm/tcc780x/debug-tcc780x.c | 3 |
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 | |||
20 | bool __dbg_hw_info(void); | ||
21 | bool __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 | ||
30 | bool __dbg_ports(void); | ||
31 | bool __dbg_ports(void) | 31 | bool __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 | ||
39 | bool __dbg_hw_info(void); | ||
40 | bool __dbg_hw_info(void) | 39 | bool __dbg_hw_info(void) |
41 | { | 40 | { |
42 | int line = 0, button, oldline; | 41 | int line = 0, button, oldline; |