2006-01-12 00:35:50 +00:00
|
|
|
/*
|
|
|
|
* This config file is for iriver iFP-799
|
|
|
|
*/
|
2006-11-09 22:58:35 +00:00
|
|
|
#define TARGET_TREE
|
|
|
|
|
2006-01-12 00:35:50 +00:00
|
|
|
#define IRIVER_IFP7XX_SERIES 1
|
|
|
|
|
|
|
|
/* For Rolo and boot loader */
|
|
|
|
#define MODEL_NUMBER 6
|
|
|
|
|
|
|
|
/* define this if you have recording possibility */
|
2007-02-20 14:57:14 +00:00
|
|
|
/*#define HAVE_RECORDING*/
|
2006-01-12 00:35:50 +00:00
|
|
|
|
|
|
|
/* define this if you have a bitmap LCD display */
|
2007-02-20 14:57:14 +00:00
|
|
|
#define HAVE_LCD_BITMAP
|
2006-01-12 00:35:50 +00:00
|
|
|
|
|
|
|
/* define this if you have a colour LCD */
|
2007-02-20 14:57:14 +00:00
|
|
|
/* #define HAVE_LCD_COLOR */
|
2006-01-12 00:35:50 +00:00
|
|
|
|
2006-10-25 10:17:57 +00:00
|
|
|
/* define this if you would like tagcache to build on this target */
|
2007-09-20 22:16:08 +00:00
|
|
|
/* #define HAVE_TAGCACHE */
|
2006-10-25 10:17:57 +00:00
|
|
|
|
2006-01-12 00:35:50 +00:00
|
|
|
/* LCD dimensions */
|
|
|
|
#define LCD_WIDTH 128
|
|
|
|
#define LCD_HEIGHT 64
|
|
|
|
#define LCD_DEPTH 1
|
|
|
|
|
2007-08-04 07:54:23 +00:00
|
|
|
#define LCD_PIXELFORMAT VERTICAL_PACKING
|
2007-08-04 03:56:22 +00:00
|
|
|
|
2006-01-12 00:35:50 +00:00
|
|
|
#define CONFIG_KEYPAD IRIVER_IFP7XX_PAD
|
|
|
|
|
|
|
|
#define CONFIG_FLASH FLASH_IFP7XX
|
|
|
|
|
|
|
|
#define HAVE_FAT16SUPPORT
|
|
|
|
|
|
|
|
/* Define this if you do software codec */
|
|
|
|
#define CONFIG_CODEC SWCODEC
|
|
|
|
|
|
|
|
/* Define this if you have a software controlled poweroff */
|
|
|
|
#define HAVE_SW_POWEROFF
|
|
|
|
|
|
|
|
/* The number of bytes reserved for loadable codecs */
|
2006-08-12 22:43:44 +00:00
|
|
|
#define CODEC_SIZE 0x20000
|
2006-01-12 00:35:50 +00:00
|
|
|
|
|
|
|
/* The number of bytes reserved for loadable plugins */
|
2006-08-12 22:43:44 +00:00
|
|
|
#define PLUGIN_BUFFER_SIZE 0x10000
|
2006-01-12 00:35:50 +00:00
|
|
|
|
|
|
|
/* Define this if you have the WM8975 audio codec */
|
|
|
|
/* #define HAVE_WM8975 */
|
|
|
|
|
|
|
|
#define HAVE_FLASH_DISK
|
|
|
|
|
2006-11-10 07:43:36 +00:00
|
|
|
/* Virtual LED (icon) */
|
|
|
|
#define CONFIG_LED LED_VIRTUAL
|
|
|
|
|
|
|
|
#define MIN_CONTRAST_SETTING 5
|
|
|
|
#define MAX_CONTRAST_SETTING 63
|
|
|
|
#define DEFAULT_CONTRAST_SETTING 40
|
|
|
|
|
2007-08-01 08:50:44 +00:00
|
|
|
/* define this if you have a flash memory storage */
|
|
|
|
#define HAVE_FLASH_STORAGE
|
|
|
|
|
2007-08-12 19:49:03 +00:00
|
|
|
#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
|
2006-08-19 17:45:37 +00:00
|
|
|
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
|
|
|
#define BATTERY_CAPACITY_MAX 2800 /* max. capacity selectable */
|
|
|
|
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
|
|
|
#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
|
2007-08-17 06:45:18 +00:00
|
|
|
|
|
|
|
/* define this if the unit should not shut down on low battery. */
|
|
|
|
#define NO_LOW_BATTERY_SHUTDOWN
|
2006-01-12 00:35:50 +00:00
|
|
|
|
2007-08-12 19:49:03 +00:00
|
|
|
#ifndef SIMULATOR
|
|
|
|
|
|
|
|
/* Define this if you have a Philips PNX0101 */
|
|
|
|
#define CONFIG_CPU PNX0101
|
|
|
|
|
|
|
|
/* Define this if you want to use the PNX0101 i2c interface */
|
|
|
|
#define CONFIG_I2C I2C_PNX0101
|
|
|
|
|
2006-01-12 00:35:50 +00:00
|
|
|
/* The start address index for ROM builds */
|
|
|
|
#define ROM_START 0x00000000
|
|
|
|
|
|
|
|
/* Define this for LCD backlight available */
|
2007-04-12 22:12:13 +00:00
|
|
|
#define HAVE_BACKLIGHT
|
2006-01-12 00:35:50 +00:00
|
|
|
|
|
|
|
/* Define this to the CPU frequency */
|
2007-03-24 19:26:13 +00:00
|
|
|
#define CPU_FREQ 48000000
|
2006-01-12 00:35:50 +00:00
|
|
|
|
|
|
|
#define CONFIG_LCD LCD_IFP7XX
|
|
|
|
|
|
|
|
/* Offset ( in the firmware file's header ) to the file length */
|
|
|
|
#define FIRMWARE_OFFSET_FILE_LENGTH 0
|
|
|
|
|
|
|
|
/* Offset ( in the firmware file's header ) to the file CRC */
|
|
|
|
#define FIRMWARE_OFFSET_FILE_CRC 0
|
|
|
|
|
|
|
|
/* Offset ( in the firmware file's header ) to the real data */
|
|
|
|
#define FIRMWARE_OFFSET_FILE_DATA 8
|
|
|
|
|
|
|
|
#define USB_ISP1582
|
|
|
|
|
2006-02-04 00:04:02 +00:00
|
|
|
#define HAVE_GDB_API
|
|
|
|
|
2006-01-12 00:35:50 +00:00
|
|
|
/* Define this if you have adjustable CPU frequency */
|
2007-03-24 19:26:13 +00:00
|
|
|
#define HAVE_ADJUSTABLE_CPU_FREQ
|
2006-01-12 00:35:50 +00:00
|
|
|
|
|
|
|
#define BOOTFILE_EXT "iriver"
|
|
|
|
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
2007-04-05 20:24:07 +00:00
|
|
|
#define BOOTDIR "/.rockbox"
|
2006-01-12 00:35:50 +00:00
|
|
|
|
2006-11-09 21:59:27 +00:00
|
|
|
#define IBSS_ATTR_VOICE_STACK
|
|
|
|
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
|
|
|
#define ICODE_ATTR_TREMOR_MDCT
|
|
|
|
#define ICODE_ATTR_FLAC
|
|
|
|
#define IBSS_ATTR_FLAC_DECODED0
|
|
|
|
#define ICONST_ATTR_MPA_HUFFMAN
|
|
|
|
#define IBSS_ATTR_MPC_SAMPLE_BUF
|
|
|
|
#define ICODE_ATTR_ALAC
|
|
|
|
#define IBSS_ATTR_SHORTEN_DECODED0
|
|
|
|
|
2006-01-12 00:35:50 +00:00
|
|
|
#endif
|