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.zip rockbox-b650bc592aa09f8ba74bdfb420ef869b97fbaaf8.tar.gz rockbox-b650bc592aa09f8ba74bdfb420ef869b97fbaaf8.tar.bz2 rockbox-b650bc592aa09f8ba74bdfb420ef869b97fbaaf8.tar.xz | |
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 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; |