diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-11-06 14:24:25 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-11-06 14:24:25 +0000 |
commit | b8a7f5137b38cbfd301715bb69034467a033eccb (patch) | |
tree | 5bef733ca715d7706801587137c1db40f173b6c1 /firmware/target/arm/debug-target.h | |
parent | 97a783a79ab53cc772545980ff4bad6a6d3b8bad (diff) | |
download | rockbox-b8a7f5137b38cbfd301715bb69034467a033eccb.tar.gz rockbox-b8a7f5137b38cbfd301715bb69034467a033eccb.zip |
move dbg_ports() from apps/menu_debug.c to target tree. FS#11712 by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28522 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/debug-target.h')
-rw-r--r-- | firmware/target/arm/debug-target.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/firmware/target/arm/debug-target.h b/firmware/target/arm/debug-target.h new file mode 100644 index 0000000000..4408acf5da --- /dev/null +++ b/firmware/target/arm/debug-target.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2010 by Marcin Bukat | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | #if (CONFIG_KEYPAD == IPOD_1G2G_PAD) || \ | ||
22 | (CONFIG_KEYPAD == IPOD_3G_PAD) || \ | ||
23 | (CONFIG_KEYPAD == IPOD_4G_PAD) | ||
24 | # define DEBUG_CANCEL BUTTON_MENU | ||
25 | |||
26 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) | ||
27 | # define DEBUG_CANCEL BUTTON_REW | ||
28 | |||
29 | #elif (CONFIG_KEYPAD == MROBE100_PAD) | ||
30 | # define DEBUG_CANCEL BUTTON_MENU | ||
31 | |||
32 | #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ | ||
33 | (CONFIG_KEYPAD == SANSA_C200_PAD) | ||
34 | # define DEBUG_CANCEL BUTTON_LEFT | ||
35 | |||
36 | #elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) || \ | ||
37 | (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) | ||
38 | # define DEBUG_CANCEL BUTTON_POWER | ||
39 | |||
40 | #elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) | ||
41 | # define DEBUG_CANCEL BUTTON_PREV | ||
42 | |||
43 | #elif (CONFIG_KEYPAD == SAMSUNG_YH_PAD) | ||
44 | # define DEBUG_CANCEL BUTTON_PLAY | ||
45 | |||
46 | #elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD) | ||
47 | # define DEBUG_CANCEL BUTTON_CANCEL | ||
48 | #endif | ||
49 | bool dbg_ports(void); | ||