From b60ad8a95e6805fb4bd5700fa8e6ec04350b1a05 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 31 Mar 2006 08:40:00 +0000 Subject: Enabled RTC and virtual disk LED on iAudio X5 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9380 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SOURCES | 2 ++ firmware/export/config-iaudiox5.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index a07d92bc4e..70edca4dc1 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -74,7 +74,9 @@ wormlet.c #endif #ifdef CONFIG_RTC +#if CONFIG_KEYPAD != IAUDIO_X5_PAD clock.c +#endif #if CONFIG_KEYPAD == RECORDER_PAD /* Recorder models only for now */ calendar.c #endif diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index a8456bc846..c4e7e5000c 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h @@ -73,11 +73,17 @@ /* Type of mobile power */ #define CONFIG_BATTERY BATT_LIPOL1300 +/* define this if you have a real-time clock */ +#define CONFIG_RTC RTC_PCF50606 + #define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */ /* Define this if you have ATA power-off control */ #define HAVE_ATA_POWER_OFF +/* Virtual LED (icon) */ +#define CONFIG_LED LED_VIRTUAL + /* Offset ( in the firmware file's header ) to the file CRC */ #define FIRMWARE_OFFSET_FILE_CRC 0 -- cgit v1.2.3