From 092c340a2062fa98b7387fc5fd63578ddae7d0b6 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 15 Jul 2020 19:40:55 -0400 Subject: [1/4] Remove SH support and all archos targets This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061 --- firmware/export/config/archosfmrecorder.h | 147 ------------------------------ firmware/export/config/archosondiofm.h | 147 ------------------------------ firmware/export/config/archosondiosp.h | 131 -------------------------- firmware/export/config/archosplayer.h | 111 ---------------------- firmware/export/config/archosrecorder.h | 141 ---------------------------- firmware/export/config/archosrecorderv2.h | 147 ------------------------------ 6 files changed, 824 deletions(-) delete mode 100644 firmware/export/config/archosfmrecorder.h delete mode 100644 firmware/export/config/archosondiofm.h delete mode 100644 firmware/export/config/archosondiosp.h delete mode 100644 firmware/export/config/archosplayer.h delete mode 100644 firmware/export/config/archosrecorder.h delete mode 100644 firmware/export/config/archosrecorderv2.h (limited to 'firmware/export/config') diff --git a/firmware/export/config/archosfmrecorder.h b/firmware/export/config/archosfmrecorder.h deleted file mode 100644 index 0c64d70be4..0000000000 --- a/firmware/export/config/archosfmrecorder.h +++ /dev/null @@ -1,147 +0,0 @@ -/* define this if you use an ATA controller */ -#define CONFIG_STORAGE STORAGE_ATA - -#define MODEL_NAME "Archos FM Recorder" - -/* define this if you have recording possibility */ -#define HAVE_RECORDING - -/* Define bitmask of input sources - recordable bitmask can be defined - explicitly if different */ -#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) - -/* define this if you have a bitmap LCD display */ -#define HAVE_LCD_BITMAP - -/* define this if you can flip your LCD */ -#define HAVE_LCD_FLIP - -/* define this if you can invert the colours on your LCD */ -#define HAVE_LCD_INVERT - -/* define this if you have access to the quickscreen */ -#define HAVE_QUICKSCREEN - -/* define this if you have the button bar */ -#define HAVE_BUTTONBAR - -/* define this if you would like tagcache to build on this target */ -#define HAVE_TAGCACHE - -/* LCD dimensions */ -#define LCD_WIDTH 112 -#define LCD_HEIGHT 64 -/* sqrt(112^2 + 64^2) / 1.5 = 85.4 */ -#define LCD_DPI 85 -#define LCD_DEPTH 1 - -#define LCD_PIXEL_ASPECT_WIDTH 4 -#define LCD_PIXEL_ASPECT_HEIGHT 5 - -#define LCD_PIXELFORMAT VERTICAL_PACKING - -/* Display colours, for screenshots and sim (0xRRGGBB) */ -#define LCD_DARKCOLOR 0x000000 -#define LCD_BRIGHTCOLOR 0x5a915a -#define LCD_BL_DARKCOLOR 0x000000 -#define LCD_BL_BRIGHTCOLOR 0x7ee57e - -/* define this if you have a Recorder style 10-key keyboard */ -#define CONFIG_KEYPAD RECORDER_PAD - -/* Define this to enable morse code input */ -#define HAVE_MORSE_INPUT - -/* define this if you have a real-time clock */ -#define CONFIG_RTC RTC_M41ST84W - -/* FM recorders can wake up from RTC alarm */ -#define HAVE_RTC_ALARM - -/* define this if you have RTC RAM available for settings */ -#define HAVE_RTC_RAM - -/* Define this if you have a software controlled poweroff */ -#define HAVE_SW_POWEROFF - -/* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 - -#ifndef BOOTLOADER -/* Define this if you have an FM Radio */ -#define CONFIG_TUNER S1A0903X01 -#endif - -#define AB_REPEAT_ENABLE - -/* Define this if you have a MAS3587F */ -#define CONFIG_CODEC MAS3587F - -/* Define this for LCD backlight available */ -#define HAVE_BACKLIGHT - -/* define this if you have a disk storage, i.e. something - that needs spinups and can cause skips when shaked */ -#define HAVE_DISK_STORAGE - -#define CONFIG_I2C I2C_PLAYREC - -#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */ -#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ - -#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE - -#define CURRENT_NORMAL 145 /* usual current in mA */ -#define CURRENT_RECORD 35 /* additional recording current */ -#define CURRENT_USB 500 /* usual current in mA in USB mode */ - -/* Hardware controlled charging with monitoring */ -#define CONFIG_CHARGING CHARGING_MONITOR - -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - -/* Define this if you have a SH7034 */ -#define CONFIG_CPU SH7034 - -/* Define this if you have a FM Recorder key system */ -#define HAVE_FMADC - -/* Define this if battery voltage can only be measured with ATA powered */ -#define NEED_ATA_POWER_BATT_MEASURE - -/* Define this to the CPU frequency */ -#define CPU_FREQ 11059200 - -/* Offset ( in the firmware file's header ) to the file length */ -#define FIRMWARE_OFFSET_FILE_LENGTH 20 - -/* Offset ( in the firmware file's header ) to the file CRC */ -#define FIRMWARE_OFFSET_FILE_CRC 6 - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 24 - -/* The start address index for ROM builds */ -/* #define ROM_START 0x14010 for behind original Archos */ -#define ROM_START 0x7010 /* for behind BootBox */ - -/* Software controlled LED */ -#define CONFIG_LED LED_REAL - -#define CONFIG_LCD LCD_SSD1815 - -#define BOOTFILE_EXT "ajz" -#define BOOTFILE "ajbrec." BOOTFILE_EXT -#define BOOTDIR "/" - -#define HAVE_LCD_CONTRAST - -#define MIN_CONTRAST_SETTING 5 -#define MAX_CONTRAST_SETTING 63 - -/* Define this if a programmable hotkey is mapped */ -#define HAVE_HOTKEY diff --git a/firmware/export/config/archosondiofm.h b/firmware/export/config/archosondiofm.h deleted file mode 100644 index 68ecc217c1..0000000000 --- a/firmware/export/config/archosondiofm.h +++ /dev/null @@ -1,147 +0,0 @@ -/* define this if you have recording possibility */ -#define HAVE_RECORDING - -#define MODEL_NAME "Ondio FM" - -#define ONDIO_SERIES - -/* Define bitmask of input sources - recordable bitmask can be defined - explicitly if different */ -#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN) - -/* define this if you have a bitmap LCD display */ -#define HAVE_LCD_BITMAP - -/* define this if you can flip your LCD */ -#define HAVE_LCD_FLIP - -/* define this if you can invert the colours on your LCD */ -#define HAVE_LCD_INVERT - -/* define this if you would like tagcache to build on this target */ -#define HAVE_TAGCACHE - -/* LCD dimensions */ -#define LCD_WIDTH 112 -#define LCD_HEIGHT 64 -/* sqrt(112^2 + 64^2) / 1.5 = 83.8 */ -#define LCD_DPI 84 -#define LCD_DEPTH 1 - -#define LCD_PIXEL_ASPECT_WIDTH 4 -#define LCD_PIXEL_ASPECT_HEIGHT 5 - -#define LCD_PIXELFORMAT VERTICAL_PACKING - -/* Display colours, for screenshots and sim (0xRRGGBB) */ -#define LCD_DARKCOLOR 0x000000 -#define LCD_BRIGHTCOLOR 0x5a915a -#define LCD_BL_DARKCOLOR 0x000000 -#define LCD_BL_BRIGHTCOLOR 0x82b4fa - -/* define this if you have an Ondio style 6-key keyboard */ -#define CONFIG_KEYPAD ONDIO_PAD - -/* Define this to enable morse code input */ -#define HAVE_MORSE_INPUT - -#define AB_REPEAT_ENABLE -#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE - -/* Define this if you have a software controlled poweroff */ -#define HAVE_SW_POWEROFF - -/* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 - -#ifndef BOOTLOADER -/* Define this if you have an FM Radio */ -#define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */ -#define CONFIG_TUNER_XTAL 13000000 -#endif - -/* Define this if you have a MAS3587F */ -#define CONFIG_CODEC MAS3587F - -/* define this if you have a flash memory storage */ -#define HAVE_FLASH_STORAGE - -#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ -#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ - -#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE - -/* define this if the unit should not shut down on low battery. */ -#define NO_LOW_BATTERY_SHUTDOWN - -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - -/* define current usage levels */ -#define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */ -#define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */ -#define CURRENT_BACKLIGHT 0 /* no backlight */ - -/* Define this if you have a SH7034 */ -#define CONFIG_CPU SH7034 - -/* Define this to the CPU frequency */ -#define CPU_FREQ 12000000 - -/* Define this for different I2C pinout */ -#define CONFIG_I2C I2C_ONDIO - -/* Offset ( in the firmware file's header ) to the file length */ -#define FIRMWARE_OFFSET_FILE_LENGTH 20 - -/* Offset ( in the firmware file's header ) to the file CRC */ -#define FIRMWARE_OFFSET_FILE_CRC 6 - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 24 - -/* Define this if the tuner is switched on by software */ -#define HAVE_TUNER_PWR_CTRL - -/* The start address index for ROM builds */ -/* #define ROM_START 0x16010 for behind original Archos */ -#define ROM_START 0x7010 /* for behind BootBox */ - -/* Define this if the display is mounted upside down */ -#define HAVE_DISPLAY_FLIPPED - -/* Define this for different ADC channel assignment */ -#define HAVE_ONDIO_ADC - -/* Define this for MMC support instead of ATA harddisk */ -#define CONFIG_STORAGE STORAGE_MMC - -/* Define this to support mounting FAT16 partitions */ -#define HAVE_FAT16SUPPORT - -/* Define this if the MAS SIBI line can be controlled via PB8 */ -#define HAVE_MAS_SIBI_CONTROL - -/* define this if more than one device/partition can be used */ -#define HAVE_MULTIDRIVE -#define NUM_DRIVES 2 - -/* define this if media can be exchanged on the fly */ -#define HAVE_HOTSWAP - -#define CONFIG_LCD LCD_SSD1815 - -#define BOOTFILE_EXT "ajz" -#define BOOTFILE "ajbrec." BOOTFILE_EXT -#define BOOTDIR "/" - -#define HAVE_LCD_CONTRAST - -#define MIN_CONTRAST_SETTING 5 -#define MAX_CONTRAST_SETTING 63 - -/* Define this if a programmable hotkey is mapped */ -//#define HAVE_HOTKEY diff --git a/firmware/export/config/archosondiosp.h b/firmware/export/config/archosondiosp.h deleted file mode 100644 index 3e9de1eda6..0000000000 --- a/firmware/export/config/archosondiosp.h +++ /dev/null @@ -1,131 +0,0 @@ -/* define this if you have a bitmap LCD display */ -#define HAVE_LCD_BITMAP - -#define MODEL_NAME "Ondio SP" - -#define ONDIO_SERIES - -/* define this if you can flip your LCD */ -#define HAVE_LCD_FLIP - -/* define this if you can invert the colours on your LCD */ -#define HAVE_LCD_INVERT - -/* define this if you would like tagcache to build on this target */ -#define HAVE_TAGCACHE - -/* LCD dimensions */ -#define LCD_WIDTH 112 -#define LCD_HEIGHT 64 -/* sqrt(112^2 + 64^2) / 1.5 = 83.8 */ -#define LCD_DPI 84 -#define LCD_DEPTH 1 - -#define LCD_PIXEL_ASPECT_WIDTH 4 -#define LCD_PIXEL_ASPECT_HEIGHT 5 - -#define LCD_PIXELFORMAT VERTICAL_PACKING - -/* Display colours, for screenshots and sim (0xRRGGBB) */ -#define LCD_DARKCOLOR 0x000000 -#define LCD_BRIGHTCOLOR 0x5a915a -#define LCD_BL_DARKCOLOR 0x000000 -#define LCD_BL_BRIGHTCOLOR 0x82b4fa - -/* define this if you have an Ondio style 6-key keyboard */ -#define CONFIG_KEYPAD ONDIO_PAD - -/* Define this to enable morse code input */ -#define HAVE_MORSE_INPUT - -#define AB_REPEAT_ENABLE -#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE - -/* Define this if you have a software controlled poweroff */ -#define HAVE_SW_POWEROFF - -/* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 - -/* Define this if you have a MAS3539F */ -#define CONFIG_CODEC MAS3539F - -/* define this if you have a flash memory storage */ -#define HAVE_FLASH_STORAGE - -#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ -#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ - -#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE - -/* define this if the unit should not shut down on low battery. */ -#define NO_LOW_BATTERY_SHUTDOWN - -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - -/* define current usage levels */ -#define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */ -#define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */ -#define CURRENT_BACKLIGHT 0 /* no backlight */ - -/* Define this if you have a SH7034 */ -#define CONFIG_CPU SH7034 - -/* Define this to the CPU frequency */ -#define CPU_FREQ 12000000 - -/* Offset ( in the firmware file's header ) to the file length */ -#define FIRMWARE_OFFSET_FILE_LENGTH 20 - -/* Offset ( in the firmware file's header ) to the file CRC */ -#define FIRMWARE_OFFSET_FILE_CRC 6 - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 24 - -/* The start address index for ROM builds */ -/* #define ROM_START 0x12010 for behind original Archos */ -#define ROM_START 0x7010 /* for behind BootBox */ - -/* Define this if the display is mounted upside down */ -#define HAVE_DISPLAY_FLIPPED - -/* Define this for different I2C pinout */ -#define CONFIG_I2C I2C_ONDIO - -/* Define this for different ADC channel assignment */ -#define HAVE_ONDIO_ADC - -/* Define this for MMC support instead of ATA harddisk */ -#define CONFIG_STORAGE STORAGE_MMC - -/* Define this to support mounting FAT16 partitions */ -#define HAVE_FAT16SUPPORT - -/* Define this if the MAS SIBI line can be controlled via PB8 */ -#define HAVE_MAS_SIBI_CONTROL - -/* define this if more than one device/partition can be used */ -#define HAVE_MULTIDRIVE -#define NUM_DRIVES 2 - -/* define this if media can be exchanged on the fly */ -#define HAVE_HOTSWAP - -#define CONFIG_LCD LCD_SSD1815 - -#define BOOTFILE_EXT "ajz" -#define BOOTFILE "ajbrec." BOOTFILE_EXT -#define BOOTDIR "/" - -#define HAVE_LCD_CONTRAST - -#define MIN_CONTRAST_SETTING 5 -#define MAX_CONTRAST_SETTING 63 - -/* Define this if a programmable hotkey is mapped */ -//#define HAVE_HOTKEY diff --git a/firmware/export/config/archosplayer.h b/firmware/export/config/archosplayer.h deleted file mode 100644 index 2e0219cff5..0000000000 --- a/firmware/export/config/archosplayer.h +++ /dev/null @@ -1,111 +0,0 @@ -/* define this if you use an ATA controller */ -#define CONFIG_STORAGE STORAGE_ATA - -#define MODEL_NAME "Archos Player/Studio" - -/* define this if you have a charcell LCD display */ -#define HAVE_LCD_CHARCELLS - -/* define this if you would like tagcache to build on this target */ -#define HAVE_TAGCACHE - -#define LCD_WIDTH 11 -#define LCD_HEIGHT 2 -/* sqrt(11^2 + 2^2) / 1.5 = 7.5 */ -#define LCD_DPI 7 -#define LCD_DEPTH 1 -#define SIM_LCD_WIDTH 132 /* pixels */ -#define SIM_LCD_HEIGHT 64 /* pixels */ - -/* Display colours, for screenshots and sim (0xRRGGBB) */ -#define LCD_DARKCOLOR 0x000000 -#define LCD_BRIGHTCOLOR 0x5a915a -#define LCD_BL_DARKCOLOR 0x000000 -#define LCD_BL_BRIGHTCOLOR 0x7ee57e - -/* define this if you have the Player's keyboard */ -#define CONFIG_KEYPAD PLAYER_PAD - -#define AB_REPEAT_ENABLE -#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE - -/* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 - -/* Define this if you have a MAS3507D */ -#define CONFIG_CODEC MAS3507D - -/* Define this if you have a DAC3550A */ -#define HAVE_DAC3550A - -/* define this if you have a disk storage, i.e. something - that needs spinups and can cause skips when shaked */ -#define HAVE_DISK_STORAGE - -/* Define this for LCD backlight available */ -#define HAVE_BACKLIGHT - -#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ -#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ - -#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE - -#define CURRENT_NORMAL 145 /* usual current in mA */ -#define CURRENT_USB 500 /* usual current in mA in USB mode */ - -/* define this if the unit should not shut down on low battery. */ -#define NO_LOW_BATTERY_SHUTDOWN - -/* Hardware controlled charging */ -#define CONFIG_CHARGING CHARGING_SIMPLE - -/* Define this if you have a SH7034 */ -#define CONFIG_CPU SH7034 - -/* Define this if you control ata power player style - (with PB4, new player only) */ -#define ATA_POWER_PLAYERSTYLE - -/* Define this to the CPU frequency */ -#define CPU_FREQ 12000000 /* cycle time ~83.3ns */ - -/* Define this if you must discharge the data line by driving it low - and then set it to input to see if it stays low or goes high */ -#define HAVE_I2C_LOW_FIRST - -#define CONFIG_I2C I2C_PLAYREC - -/* 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 4 - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 6 - -/* The start address index for ROM builds */ -#define ROM_START 0x7010 /* for behind BootBox */ - -/* Software controlled LED */ -#define CONFIG_LED LED_REAL - -#define CONFIG_LCD LCD_SSD1801 - -#define BOOTFILE_EXT "mod" -#define BOOTFILE "archos." BOOTFILE_EXT -#define BOOTDIR "/" - -#define HAVE_LCD_CONTRAST - -#define MIN_CONTRAST_SETTING 5 -#define MAX_CONTRAST_SETTING 31 -#define DEFAULT_CONTRAST_SETTING 30 - -#define HAVE_SERIAL - -/* Define this if a programmable hotkey is mapped */ -#define HAVE_HOTKEY diff --git a/firmware/export/config/archosrecorder.h b/firmware/export/config/archosrecorder.h deleted file mode 100644 index 016ea8b944..0000000000 --- a/firmware/export/config/archosrecorder.h +++ /dev/null @@ -1,141 +0,0 @@ -/* define this if you use an ATA controller */ -#define CONFIG_STORAGE STORAGE_ATA - -#define MODEL_NAME "Archos Recorder" - -/* define this if you have recording possibility */ -#define HAVE_RECORDING - -/* Define bitmask of input sources - recordable bitmask can be defined - explicitly if different */ -#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) - -/* define this if you have a bitmap LCD display */ -#define HAVE_LCD_BITMAP - -/* define this if you can flip your LCD */ -//#define HAVE_LCD_FLIP - -/* define this if you can invert the colours on your LCD */ -#define HAVE_LCD_INVERT - -/* define this if you have access to the quickscreen */ -#define HAVE_QUICKSCREEN - -/* define this if you have the button bar */ -#define HAVE_BUTTONBAR - -/* define this if you would like tagcache to build on this target */ -#define HAVE_TAGCACHE - -/* LCD dimensions */ -#define LCD_WIDTH 112 -#define LCD_HEIGHT 64 -/* sqrt(112^2 + 64^2) / 1.5 = 85.4 */ -#define LCD_DPI 85 -#define LCD_DEPTH 1 - -#define LCD_PIXEL_ASPECT_WIDTH 4 -#define LCD_PIXEL_ASPECT_HEIGHT 5 - -#define LCD_PIXELFORMAT VERTICAL_PACKING - -/* Display colours, for screenshots and sim (0xRRGGBB) */ -#define LCD_DARKCOLOR 0x000000 -#define LCD_BRIGHTCOLOR 0x5a915a -#define LCD_BL_DARKCOLOR 0x000000 -#define LCD_BL_BRIGHTCOLOR 0x7ee57e - -/* define this if you have the Recorder's 10-key keyboard */ -#define CONFIG_KEYPAD RECORDER_PAD - -/* Define this to enable morse code input */ -//#define HAVE_MORSE_INPUT - -/* define this if you have a real-time clock */ -#define CONFIG_RTC RTC_M41ST84W - -/* define this if you have RTC RAM available for settings */ -#define HAVE_RTC_RAM - -/* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 - -#define AB_REPEAT_ENABLE - -/* Define this if you have a MAS3587F */ -#define CONFIG_CODEC MAS3587F - -/* define this if you have a disk storage, i.e. something - that needs spinups and can cause skips when shaked */ -#define HAVE_DISK_STORAGE - -/* Define this for LCD backlight available */ -#define HAVE_BACKLIGHT - -#define CONFIG_I2C I2C_PLAYREC - -#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ -#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ - -#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE - -#if MEMORYSIZE < 8 - #define CURRENT_NORMAL 145 /* usual current in mA */ -#else - #define CURRENT_NORMAL 145 *100 / 122 /* assuming 192 kbps, the running time is 22% longer with 8MB */ -#endif -#define CURRENT_RECORD 35 /* additional recording current */ -#define CURRENT_USB 500 /* usual current in mA in USB mode */ - -/* define this if the unit should not shut down on low battery. */ -#define NO_LOW_BATTERY_SHUTDOWN - -/* Software controlled charging */ -#define CONFIG_CHARGING CHARGING_TARGET - -/* Define this if you have a SH7034 */ -#define CONFIG_CPU SH7034 - -/* Define this if you have ATA power-off control */ -#define HAVE_ATA_POWER_OFF - -/* Define this to the CPU frequency */ -#define CPU_FREQ 11059200 - -/* 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 4 - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 6 - -/* The start address index for ROM builds */ -/* #define ROM_START 0x11010 for behind original Archos */ -#define ROM_START 0x7010 /* for behind BootBox */ - -/* Software controlled LED */ -#define CONFIG_LED LED_REAL - -/* Define this for S/PDIF output available */ -#define HAVE_SPDIF_OUT - -#define CONFIG_LCD LCD_SSD1815 - -#define BOOTFILE_EXT "ajz" -#define BOOTFILE "ajbrec." BOOTFILE_EXT -#define BOOTDIR "/" - -#define HAVE_LCD_CONTRAST - -#define MIN_CONTRAST_SETTING 5 -#define MAX_CONTRAST_SETTING 63 - -#define HAVE_SERIAL -/* Define this if a programmable hotkey is mapped */ -#define HAVE_HOTKEY diff --git a/firmware/export/config/archosrecorderv2.h b/firmware/export/config/archosrecorderv2.h deleted file mode 100644 index 4640eae247..0000000000 --- a/firmware/export/config/archosrecorderv2.h +++ /dev/null @@ -1,147 +0,0 @@ -/* define this if you use an ATA controller */ -#define CONFIG_STORAGE STORAGE_ATA - -#define MODEL_NAME "Archos Recorder v2" - -/* define this if you have recording possibility */ -#define HAVE_RECORDING - -/* Define bitmask of input sources - recordable bitmask can be defined - explicitly if different */ -#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) - -/* define this if you have a bitmap LCD display */ -#define HAVE_LCD_BITMAP - -/* define this if you can flip your LCD */ -#define HAVE_LCD_FLIP - -/* define this if you can invert the colours on your LCD */ -#define HAVE_LCD_INVERT - -/* define this if you have access to the quickscreen */ -#define HAVE_QUICKSCREEN - -/* define this if you have the button bar */ -#define HAVE_BUTTONBAR - -/* define this if you would like tagcache to build on this target */ -#define HAVE_TAGCACHE - -/* LCD dimensions */ -#define LCD_WIDTH 112 -#define LCD_HEIGHT 64 -/* sqrt(112^2 + 64^2) / 1.5 = 85.4 */ -#define LCD_DPI 85 -#define LCD_DEPTH 1 - -#define LCD_PIXEL_ASPECT_WIDTH 4 -#define LCD_PIXEL_ASPECT_HEIGHT 5 - -#define LCD_PIXELFORMAT VERTICAL_PACKING - -/* Display colours, for screenshots and sim (0xRRGGBB) */ -#define LCD_DARKCOLOR 0x000000 -#define LCD_BRIGHTCOLOR 0x5a915a -#define LCD_BL_DARKCOLOR 0x000000 -#define LCD_BL_BRIGHTCOLOR 0x7ee57e - -/* define this if you have a Recorder style 10-key keyboard */ -#define CONFIG_KEYPAD RECORDER_PAD - -/* Define this to enable morse code input */ -#define HAVE_MORSE_INPUT - -/* define this if you have a real-time clock */ -#define CONFIG_RTC RTC_M41ST84W - -/* FM recorders can wake up from RTC alarm */ -#define HAVE_RTC_ALARM - -/* define this if you have RTC RAM available for settings */ -#define HAVE_RTC_RAM - -/* Define this if you have a software controlled poweroff */ -#define HAVE_SW_POWEROFF - -/* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 - -#define AB_REPEAT_ENABLE - -/* Define this if you have a MAS3587F */ -#define CONFIG_CODEC MAS3587F - -/* define this if you have a disk storage, i.e. something - that needs spinups and can cause skips when shaked */ -#define HAVE_DISK_STORAGE - -/* Define this for LCD backlight available */ -#define HAVE_BACKLIGHT - -#define CONFIG_I2C I2C_PLAYREC - -#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */ -#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ - -#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE - -#define CURRENT_NORMAL 145 /* usual current in mA */ -#define CURRENT_RECORD 35 /* additional recording current */ -#define CURRENT_USB 500 /* usual current in mA in USB mode */ - -/* Hardware controlled charging with monitoring */ -#define CONFIG_CHARGING CHARGING_MONITOR - -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - -/* Define this if you have a SH7034 */ -#define CONFIG_CPU SH7034 - -/* Define this if you have a FM Recorder key system */ -#define HAVE_FMADC - -/* Define this if battery voltage can only be measured with ATA powered */ -#define NEED_ATA_POWER_BATT_MEASURE - -/* Define this to the CPU frequency */ -#define CPU_FREQ 11059200 - -/* Offset ( in the firmware file's header ) to the file length */ -#define FIRMWARE_OFFSET_FILE_LENGTH 20 - -/* Offset ( in the firmware file's header ) to the file CRC */ -#define FIRMWARE_OFFSET_FILE_CRC 6 - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 24 - -#ifndef BOOTLOADER -/* Define this if you have an FM Radio */ -#define CONFIG_TUNER S1A0903X01 -#endif - -/* The start address index for ROM builds */ -/* #define ROM_START 0x12010 for behind original Archos */ -#define ROM_START 0x7010 /* for behind BootBox */ - -/* Software controlled LED */ -#define CONFIG_LED LED_REAL - -#define CONFIG_LCD LCD_SSD1815 - -#define BOOTFILE_EXT "ajz" -#define BOOTFILE "ajbrec." BOOTFILE_EXT -#define BOOTDIR "/" - -#define HAVE_LCD_CONTRAST - -#define MIN_CONTRAST_SETTING 5 -#define MAX_CONTRAST_SETTING 63 - -/* Define this if a programmable hotkey is mapped */ -#define HAVE_HOTKEY -- cgit v1.2.3