From 5f037ac015e6d76d030a163753db5ff58cdff49b Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 8 Feb 2011 20:05:25 +0000 Subject: Initial maemo platform support Adds Nokia N900, N810 and N800 support. Features: - Introduce maemo specific platform defines - Play audio in silent mode - Stop playback on incoming calls - Battery level readout - Bluetooth headset support - Save CPU by disabling screen updates if the display is off or the app doesn't have input focus - N900: GStreamer audio backend Kudos to kugel for the code review. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29248 a1c6a512-1295-4272-9138-f99709370657 --- firmware/SOURCES | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'firmware/SOURCES') diff --git a/firmware/SOURCES b/firmware/SOURCES index ae0c8a4f20..9c9ebf53fc 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -47,6 +47,11 @@ target/hosted/sdl/app/button-application.c #endif #endif +/* Maemo specific files */ +#if (CONFIG_PLATFORM & PLATFORM_MAEMO) +target/hosted/maemo/maemo-thread.c +#endif + /* Standard library */ #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(__MINGW32__) || defined(__CYGWIN__) libc/errno.c @@ -339,8 +344,12 @@ drivers/audio/cs42l55.c #elif defined(HAVE_SDL_AUDIO) drivers/audio/sdl.c #if CONFIG_CODEC == SWCODEC +#if (CONFIG_PLATFORM & PLATFORM_MAEMO5) +target/hosted/maemo/pcm-gstreamer.c +#else target/hosted/sdl/pcm-sdl.c -#endif +#endif /* (CONFIG_PLATFORM & PLATFORM_MAEMO) */ +#endif /* CONFIG_CODEC == SWCODEC */ #endif /* (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) */ /* USB Stack */ -- cgit v1.2.3