diff options
Diffstat (limited to 'firmware/export/config-tpj1022.h')
-rw-r--r-- | firmware/export/config-tpj1022.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/firmware/export/config-tpj1022.h b/firmware/export/config-tpj1022.h index 02e7319cfe..be2da37412 100644 --- a/firmware/export/config-tpj1022.h +++ b/firmware/export/config-tpj1022.h | |||
@@ -57,20 +57,11 @@ | |||
57 | /* Define this for LCD backlight available */ | 57 | /* Define this for LCD backlight available */ |
58 | #define HAVE_BACKLIGHT | 58 | #define HAVE_BACKLIGHT |
59 | 59 | ||
60 | /* Type of mobile power */ | ||
61 | #define CONFIG_BATTERY BATT_LPCS355385 | ||
60 | #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity | 62 | #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity |
61 | TODO: check this, probably different | 63 | TODO: check this, probably different |
62 | for different models too */ | 64 | for different models too */ |
63 | |||
64 | #ifndef SIMULATOR | ||
65 | |||
66 | /* Define this if you have a PortalPlayer PP5020 */ | ||
67 | #define CONFIG_CPU PP5020 | ||
68 | |||
69 | /* Define this if you want to use the PP5020 i2c interface */ | ||
70 | #define CONFIG_I2C I2C_PP5020 | ||
71 | |||
72 | /* Type of mobile power */ | ||
73 | #define CONFIG_BATTERY BATT_LPCS355385 | ||
74 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | 65 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ |
75 | #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ | 66 | #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ |
76 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | 67 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ |
@@ -80,6 +71,17 @@ | |||
80 | /* Hardware controlled charging? FIXME */ | 71 | /* Hardware controlled charging? FIXME */ |
81 | //#define CONFIG_CHARGING CHARGING_SIMPLE | 72 | //#define CONFIG_CHARGING CHARGING_SIMPLE |
82 | 73 | ||
74 | /* define this if the unit can be powered or charged via USB */ | ||
75 | /*#define HAVE_USB_POWER*/ | ||
76 | |||
77 | #ifndef SIMULATOR | ||
78 | |||
79 | /* Define this if you have a PortalPlayer PP5020 */ | ||
80 | #define CONFIG_CPU PP5020 | ||
81 | |||
82 | /* Define this if you want to use the PP5020 i2c interface */ | ||
83 | #define CONFIG_I2C I2C_PP5020 | ||
84 | |||
83 | /* define this if the hardware can be powered off while charging */ | 85 | /* define this if the hardware can be powered off while charging */ |
84 | /* TODO: should this be set for the H10? */ | 86 | /* TODO: should this be set for the H10? */ |
85 | //#define HAVE_POWEROFF_WHILE_CHARGING | 87 | //#define HAVE_POWEROFF_WHILE_CHARGING |
@@ -110,9 +112,6 @@ | |||
110 | /* USB On-the-go */ | 112 | /* USB On-the-go */ |
111 | #define CONFIG_USBOTG USBOTG_ARC | 113 | #define CONFIG_USBOTG USBOTG_ARC |
112 | 114 | ||
113 | /* define this if the unit can be powered or charged via USB */ | ||
114 | /*#define HAVE_USB_POWER*/ | ||
115 | |||
116 | /* Virtual LED (icon) */ | 115 | /* Virtual LED (icon) */ |
117 | #define CONFIG_LED LED_VIRTUAL | 116 | #define CONFIG_LED LED_VIRTUAL |
118 | 117 | ||