diff options
Diffstat (limited to 'firmware/export/config-iaudiox5.h')
-rw-r--r-- | firmware/export/config-iaudiox5.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index fd9a8874a7..246b00c963 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h | |||
@@ -2,6 +2,9 @@ | |||
2 | * This config file is for iAudio X5 | 2 | * This config file is for iAudio X5 |
3 | */ | 3 | */ |
4 | 4 | ||
5 | /* For Rolo and boot loader */ | ||
6 | #define MODEL_NUMBER 1 | ||
7 | |||
5 | /* define this if you have recording possibility */ | 8 | /* define this if you have recording possibility */ |
6 | /*#define HAVE_RECORDING 1*/ | 9 | /*#define HAVE_RECORDING 1*/ |
7 | 10 | ||
@@ -59,12 +62,17 @@ | |||
59 | /* define this if the hardware can be powered off while charging */ | 62 | /* define this if the hardware can be powered off while charging */ |
60 | #define HAVE_POWEROFF_WHILE_CHARGING | 63 | #define HAVE_POWEROFF_WHILE_CHARGING |
61 | 64 | ||
62 | /* The start address index for ROM builds */ | 65 | /* The size of the flash ROM */ |
63 | #define ROM_START 0x11010 | 66 | #define FLASH_SIZE 0x400000 |
64 | 67 | ||
65 | /* Define this to the CPU frequency */ | 68 | /* Define this to the CPU frequency */ |
66 | #define CPU_FREQ 11289600 | 69 | #define CPU_FREQ 11289600 |
67 | 70 | ||
71 | /* Type of mobile power */ | ||
72 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
73 | |||
74 | #define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */ | ||
75 | |||
68 | /* Define this if you have ATA power-off control */ | 76 | /* Define this if you have ATA power-off control */ |
69 | #define HAVE_ATA_POWER_OFF | 77 | #define HAVE_ATA_POWER_OFF |
70 | 78 | ||
@@ -74,6 +82,8 @@ | |||
74 | /* Offset ( in the firmware file's header ) to the real data */ | 82 | /* Offset ( in the firmware file's header ) to the real data */ |
75 | #define FIRMWARE_OFFSET_FILE_DATA 8 | 83 | #define FIRMWARE_OFFSET_FILE_DATA 8 |
76 | 84 | ||
85 | #define USB_X5STYLE | ||
86 | |||
77 | /* Define this if you have adjustable CPU frequency */ | 87 | /* Define this if you have adjustable CPU frequency */ |
78 | #define HAVE_ADJUSTABLE_CPU_FREQ | 88 | #define HAVE_ADJUSTABLE_CPU_FREQ |
79 | 89 | ||