diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2006-11-22 00:30:24 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2006-11-22 00:30:24 +0000 |
commit | 336cb6898ef55ea6480a0b5547d30bb5029c79ef (patch) | |
tree | 14c3248892d5e3e4fe378e31415011fef6fe2215 /firmware | |
parent | e7b025ba10b25bc50ad5a307bb2ec2480242a975 (diff) | |
download | rockbox-336cb6898ef55ea6480a0b5547d30bb5029c79ef.tar.gz rockbox-336cb6898ef55ea6480a0b5547d30bb5029c79ef.zip |
Add several dummy functions to allow Sansa to build correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11568 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/SOURCES | 5 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/backlight-e200.c | 25 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/backlight-target.h | 26 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/power-e200.c | 26 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/usb-e200.c | 36 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/usb-target.h | 26 |
6 files changed, 141 insertions, 3 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index 73d68fee91..167bea2c4c 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -308,10 +308,13 @@ target/sh/archos/lcd-as-archos-bitmap.S | |||
308 | 308 | ||
309 | #ifdef SANSA_E200 | 309 | #ifdef SANSA_E200 |
310 | #ifndef SIMULATOR | 310 | #ifndef SIMULATOR |
311 | target/arm/wmcodec-pp.c | ||
312 | target/arm/sandisk/sansa-e200/ata-e200.c | 311 | target/arm/sandisk/sansa-e200/ata-e200.c |
313 | target/arm/sandisk/sansa-e200/lcd-e200.c | 312 | target/arm/sandisk/sansa-e200/lcd-e200.c |
314 | target/arm/sandisk/sansa-e200/adc-e200.c | 313 | target/arm/sandisk/sansa-e200/adc-e200.c |
314 | target/arm/sandisk/sansa-e200/backlight-e200.c | ||
315 | target/arm/sandisk/sansa-e200/usb-e200.c | ||
316 | target/arm/sandisk/sansa-e200/button-e200.c | ||
317 | target/arm/sandisk/sansa-e200/power-e200.c | ||
315 | #endif /* SIMULATOR */ | 318 | #endif /* SIMULATOR */ |
316 | #endif /* SANSA_E200 */ | 319 | #endif /* SANSA_E200 */ |
317 | 320 | ||
diff --git a/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c new file mode 100644 index 0000000000..492942361a --- /dev/null +++ b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c | |||
@@ -0,0 +1,25 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 by Barry Wardell | ||
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 | void __backlight_on(void) | ||
20 | { | ||
21 | } | ||
22 | |||
23 | void __backlight_off(void) | ||
24 | { | ||
25 | } | ||
diff --git a/firmware/target/arm/sandisk/sansa-e200/backlight-target.h b/firmware/target/arm/sandisk/sansa-e200/backlight-target.h index 67a01ed518..d35dccdc4a 100644 --- a/firmware/target/arm/sandisk/sansa-e200/backlight-target.h +++ b/firmware/target/arm/sandisk/sansa-e200/backlight-target.h | |||
@@ -1 +1,25 @@ | |||
1 | /* nothing here yet */ | 1 | /*************************************************************************** |
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 by Barry Wardell | ||
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 | #ifndef BACKLIGHT_TARGET_H | ||
20 | #define BACKLIGHT_TARGET_H | ||
21 | |||
22 | void __backlight_on(void); | ||
23 | void __backlight_off(void); | ||
24 | |||
25 | #endif | ||
diff --git a/firmware/target/arm/sandisk/sansa-e200/power-e200.c b/firmware/target/arm/sandisk/sansa-e200/power-e200.c new file mode 100644 index 0000000000..f1ce7e27e6 --- /dev/null +++ b/firmware/target/arm/sandisk/sansa-e200/power-e200.c | |||
@@ -0,0 +1,26 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 by Daniel Ankers | ||
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 | void power_init(void) | ||
21 | { | ||
22 | } | ||
23 | |||
24 | void power_off(void) | ||
25 | { | ||
26 | } | ||
diff --git a/firmware/target/arm/sandisk/sansa-e200/usb-e200.c b/firmware/target/arm/sandisk/sansa-e200/usb-e200.c new file mode 100644 index 0000000000..a538614da4 --- /dev/null +++ b/firmware/target/arm/sandisk/sansa-e200/usb-e200.c | |||
@@ -0,0 +1,36 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 by Barry Wardelll | ||
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 | #include <stdbool.h> | ||
21 | |||
22 | bool usb_init_device(void) | ||
23 | { | ||
24 | return true; | ||
25 | } | ||
26 | |||
27 | bool usb_detect(void) | ||
28 | { | ||
29 | return false; | ||
30 | } | ||
31 | |||
32 | void usb_enable(bool on) | ||
33 | { | ||
34 | (void)on; | ||
35 | } | ||
36 | |||
diff --git a/firmware/target/arm/sandisk/sansa-e200/usb-target.h b/firmware/target/arm/sandisk/sansa-e200/usb-target.h index 67a01ed518..3f309ff30b 100644 --- a/firmware/target/arm/sandisk/sansa-e200/usb-target.h +++ b/firmware/target/arm/sandisk/sansa-e200/usb-target.h | |||
@@ -1 +1,25 @@ | |||
1 | /* nothing here yet */ | 1 | /*************************************************************************** |
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2006 by Barry Wardelll | ||
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 | #ifndef USB_TARGET_H | ||
20 | #define USB_TARGET_H | ||
21 | |||
22 | bool usb_init_device(void); | ||
23 | |||
24 | #endif | ||
25 | |||