summaryrefslogtreecommitdiff
path: root/firmware/export/config/ibassodx90.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/ibassodx90.h')
-rw-r--r--firmware/export/config/ibassodx90.h61
1 files changed, 33 insertions, 28 deletions
diff --git a/firmware/export/config/ibassodx90.h b/firmware/export/config/ibassodx90.h
index 68a728eab4..6de06d9e27 100644
--- a/firmware/export/config/ibassodx90.h
+++ b/firmware/export/config/ibassodx90.h
@@ -1,9 +1,30 @@
1/* 1/***************************************************************************
2 * This config file is for Rockbox as an application on Android 2 * __________ __ ___
3 */ 3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2014 by Ilia Sergachev: Initial Rockbox port to iBasso DX50
10 * Copyright (C) 2014 by Mario Basister: iBasso DX90 port
11 * Copyright (C) 2014 by Simon Rothen: Initial Rockbox repository submission, additional features
12 * Copyright (C) 2014 by Udo Schläpfer: Code clean up, additional features
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
18 *
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
21 *
22 ****************************************************************************/
23
24/* This config file is for Rockbox as an application on Android without JVM. */
4 25
5/* We don't run on hardware directly */ 26/* We don't run on hardware directly */
6#define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_ANDROID) 27#define CONFIG_PLATFORM PLATFORM_HOSTED
7 28
8/* For Rolo and boot loader */ 29/* For Rolo and boot loader */
9#define MODEL_NUMBER 95 30#define MODEL_NUMBER 95
@@ -41,16 +62,14 @@
41#define LCD_PIXELFORMAT RGB565 62#define LCD_PIXELFORMAT RGB565
42 63
43#define HAVE_LCD_ENABLE 64#define HAVE_LCD_ENABLE
65#define HAVE_LCD_SHUTDOWN
66#define HAVE_LCD_SLEEP
67#define HAVE_LCD_SLEEP_SETTING
44 68
45/* define this to indicate your device's keypad */ 69/* define this to indicate your device's keypad */
46#define HAVE_TOUCHSCREEN 70#define HAVE_TOUCHSCREEN
47#define HAVE_BUTTON_DATA 71#define HAVE_BUTTON_DATA
48 72#define HAS_BUTTON_HOLD
49/* define this if you have RTC RAM available for settings */
50//#define HAVE_RTC_RAM
51
52/* define this if you have a real-time clock */
53//#define CONFIG_RTC APPLICATION
54 73
55/* Define this if you have a software controlled poweroff */ 74/* Define this if you have a software controlled poweroff */
56#define HAVE_SW_POWEROFF 75#define HAVE_SW_POWEROFF
@@ -77,6 +96,10 @@
77 96
78/* Define this if you do software codec */ 97/* Define this if you do software codec */
79#define CONFIG_CODEC SWCODEC 98#define CONFIG_CODEC SWCODEC
99#define HAVE_SW_TONE_CONTROLS
100#define HAVE_SW_VOLUME_CONTROL
101#define HW_SAMPR_CAPS SAMPR_CAP_ALL
102#define HAVE_PLAY_FREQ
80 103
81//#define HAVE_MULTIMEDIA_KEYS 104//#define HAVE_MULTIMEDIA_KEYS
82#define CONFIG_KEYPAD DX50_PAD 105#define CONFIG_KEYPAD DX50_PAD
@@ -84,13 +107,6 @@
84/* define this if the target has volume keys which can be used in the lists */ 107/* define this if the target has volume keys which can be used in the lists */
85#define HAVE_VOLUME_IN_LIST 108#define HAVE_VOLUME_IN_LIST
86 109
87/* define this if the host platform can change volume outside of rockbox */
88//#define PLATFORM_HAS_VOLUME_CHANGE
89
90#define HAVE_SW_TONE_CONTROLS
91
92#define HAVE_SW_VOLUME_CONTROL
93
94#define BATTERY_CAPACITY_DEFAULT 2100 /* default battery capacity */ 110#define BATTERY_CAPACITY_DEFAULT 2100 /* default battery capacity */
95#define BATTERY_CAPACITY_MIN 1700 /* min. capacity selectable */ 111#define BATTERY_CAPACITY_MIN 1700 /* min. capacity selectable */
96#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ 112#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
@@ -101,22 +117,14 @@
101 117
102#define CONFIG_CHARGING CHARGING_MONITOR 118#define CONFIG_CHARGING CHARGING_MONITOR
103 119
104#define NO_LOW_BATTERY_SHUTDOWN
105
106/* Define current usage levels. */ 120/* Define current usage levels. */
107#define CURRENT_NORMAL 210 /* 10 hours from a 2100 mAh battery */ 121#define CURRENT_NORMAL 210 /* 10 hours from a 2100 mAh battery */
108#define CURRENT_BACKLIGHT 30 /* TBD */ 122#define CURRENT_BACKLIGHT 30 /* TBD */
109#define CURRENT_RECORD 0 /* no recording */ 123#define CURRENT_RECORD 0 /* no recording */
110 124
111/* Define this to the CPU frequency */
112/*
113#define CPU_FREQ 48000000
114*/
115
116/* define this if the hardware can be powered off while charging */ 125/* define this if the hardware can be powered off while charging */
117#define HAVE_POWEROFF_WHILE_CHARGING 126#define HAVE_POWEROFF_WHILE_CHARGING
118 127
119
120/* Offset ( in the firmware file's header ) to the file CRC */ 128/* Offset ( in the firmware file's header ) to the file CRC */
121#define FIRMWARE_OFFSET_FILE_CRC 0 129#define FIRMWARE_OFFSET_FILE_CRC 0
122 130
@@ -128,9 +136,6 @@
128/* Define this if a programmable hotkey is mapped */ 136/* Define this if a programmable hotkey is mapped */
129#define HAVE_HOTKEY 137#define HAVE_HOTKEY
130 138
131#define BOOTDIR "/.rockbox"
132
133/* No special storage */ 139/* No special storage */
134#define CONFIG_STORAGE STORAGE_HOSTFS 140#define CONFIG_STORAGE STORAGE_HOSTFS
135#define HAVE_STORAGE_FLUSH 141#define HAVE_STORAGE_FLUSH
136