summaryrefslogtreecommitdiff
path: root/firmware/export/config-player.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-player.h')
-rw-r--r--firmware/export/config-player.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h
index 0256db137f..5e20d9e393 100644
--- a/firmware/export/config-player.h
+++ b/firmware/export/config-player.h
@@ -27,7 +27,17 @@
27/* Define this for LCD backlight available */ 27/* Define this for LCD backlight available */
28#define HAVE_BACKLIGHT 28#define HAVE_BACKLIGHT
29 29
30/* Type of mobile power */
31#define CONFIG_BATTERY BATT_4AA_NIMH
30#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ 32#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
33#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
34#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
35#define BATTERY_CAPACITY_INC 50 /* capacity increment */
36#define BATTERY_TYPES_COUNT 1 /* only one type */
37#define BATTERY_SCALE_FACTOR 6546
38
39/* Hardware controlled charging */
40#define CONFIG_CHARGING CHARGING_SIMPLE
31 41
32#ifndef SIMULATOR 42#ifndef SIMULATOR
33 43
@@ -48,14 +58,6 @@
48/* Define this to the CPU frequency */ 58/* Define this to the CPU frequency */
49#define CPU_FREQ 12000000 /* cycle time ~83.3ns */ 59#define CPU_FREQ 12000000 /* cycle time ~83.3ns */
50 60
51/* Type of mobile power */
52#define CONFIG_BATTERY BATT_4AA_NIMH
53#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
54#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
55#define BATTERY_CAPACITY_INC 50 /* capacity increment */
56#define BATTERY_TYPES_COUNT 1 /* only one type */
57#define BATTERY_SCALE_FACTOR 6546
58
59/* Define this if you must discharge the data line by driving it low 61/* Define this if you must discharge the data line by driving it low
60 and then set it to input to see if it stays low or goes high */ 62 and then set it to input to see if it stays low or goes high */
61#define HAVE_I2C_LOW_FIRST 63#define HAVE_I2C_LOW_FIRST
@@ -74,9 +76,6 @@
74/* Offset ( in the firmware file's header ) to the real data */ 76/* Offset ( in the firmware file's header ) to the real data */
75#define FIRMWARE_OFFSET_FILE_DATA 6 77#define FIRMWARE_OFFSET_FILE_DATA 6
76 78
77/* Hardware controlled charging */
78#define CONFIG_CHARGING CHARGING_SIMPLE
79
80/* The start address index for ROM builds */ 79/* The start address index for ROM builds */
81/* #define ROM_START 0xD010 for behind original Archos */ 80/* #define ROM_START 0xD010 for behind original Archos */
82#define ROM_START 0x6010 /* for behind BootBox */ 81#define ROM_START 0x6010 /* for behind BootBox */