2020-10-08 13:47:40 +00:00
|
|
|
/*
|
|
|
|
* This config file is for the AIGO EROS Q / EROS K (and its clones)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* For Rolo and boot loader */
|
|
|
|
#define MODEL_NUMBER 113
|
|
|
|
|
|
|
|
#define MODEL_NAME "AIGO Eros Q"
|
|
|
|
|
|
|
|
/* LCD dimensions */
|
|
|
|
#define LCD_WIDTH 320
|
|
|
|
#define LCD_HEIGHT 240
|
|
|
|
/* sqrt(240^2 + 320^2) / 2.0 = 200 */
|
|
|
|
#define LCD_DPI 200
|
|
|
|
|
|
|
|
/* define this if you have access to the quickscreen */
|
|
|
|
#define HAVE_QUICKSCREEN
|
|
|
|
|
|
|
|
#define HAVE_HEADPHONE_DETECTION
|
|
|
|
#define HAVE_LINEOUT_DETECTION
|
|
|
|
|
|
|
|
/* KeyPad configuration for plugins */
|
|
|
|
#define CONFIG_KEYPAD EROSQ_PAD
|
2020-12-16 19:47:50 +00:00
|
|
|
#define HAVE_SCROLLWHEEL
|
2020-10-08 13:47:40 +00:00
|
|
|
|
|
|
|
/* define this if the target has volume keys which can be used in the lists */
|
|
|
|
#define HAVE_VOLUME_IN_LIST
|
|
|
|
|
|
|
|
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
|
|
|
|
|
|
|
/* Define this to the CPU frequency */
|
2020-10-17 21:03:13 +00:00
|
|
|
#define CPU_FREQ 1008000000
|
2020-10-08 13:47:40 +00:00
|
|
|
|
|
|
|
/* Battery */
|
|
|
|
#define BATTERY_TYPES_COUNT 1
|
|
|
|
|
|
|
|
/* Audio codec */
|
|
|
|
#define HAVE_EROSQ_LINUX_CODEC
|
2021-04-09 03:58:49 +00:00
|
|
|
#define HAVE_ALSA_32BIT
|
2020-10-08 13:47:40 +00:00
|
|
|
|
|
|
|
/* We don't have hardware controls */
|
|
|
|
#define HAVE_SW_TONE_CONTROLS
|
|
|
|
|
|
|
|
/* HW codec is flexible */
|
|
|
|
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
|
|
|
|
|
|
|
/* Battery */
|
2020-10-14 12:37:00 +00:00
|
|
|
#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
|
|
|
|
#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
|
2020-10-17 22:32:43 +00:00
|
|
|
#define BATTERY_CAPACITY_MAX 1300 /* max. capacity selectable */
|
2020-10-08 13:47:40 +00:00
|
|
|
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
|
|
|
|
2020-10-14 12:37:00 +00:00
|
|
|
#define CURRENT_NORMAL 100 // 1.7mA * 60s
|
|
|
|
#define CURRENT_BACKLIGHT 180
|
|
|
|
#define CURRENT_MAX_CHG 500 // bursts higher if needed
|
|
|
|
|
2020-10-08 13:47:40 +00:00
|
|
|
/* ROLO */
|
|
|
|
#define BOOTFILE_EXT "erosq"
|
|
|
|
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
|
|
|
#define BOOTDIR "/.rockbox"
|
2020-10-15 14:18:16 +00:00
|
|
|
|
|
|
|
/* USB */
|
|
|
|
#define USB_VID_STR "C502"
|
|
|
|
#define USB_PID_STR "0023"
|
2020-10-17 22:32:43 +00:00
|
|
|
|
|
|
|
/* Generic HiBy stuff */
|
|
|
|
#include "hibylinux.h"
|