2017-04-27 09:36:40 +00:00
|
|
|
/*
|
|
|
|
* This config file is for the Agptek Rocket
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* For Rolo and boot loader */
|
2018-11-05 12:01:55 +00:00
|
|
|
#define MODEL_NUMBER 105
|
2017-04-27 09:36:40 +00:00
|
|
|
|
|
|
|
#define MODEL_NAME "Agptek Rocker"
|
|
|
|
|
|
|
|
/* LCD dimensions */
|
|
|
|
#define LCD_WIDTH 128
|
|
|
|
#define LCD_HEIGHT 160
|
|
|
|
/* sqrt(128^2 + 160^2) / 2 = 102. */
|
|
|
|
#define LCD_DPI 102
|
|
|
|
|
|
|
|
/* define this if you have access to the quickscreen */
|
|
|
|
#define HAVE_QUICKSCREEN
|
|
|
|
|
2018-12-06 14:15:26 +00:00
|
|
|
/* define this if the target has volume keys which can be used in the lists */
|
|
|
|
#define HAVE_VOLUME_IN_LIST
|
|
|
|
|
2019-01-31 16:05:13 +00:00
|
|
|
/* Define if the device can wake from an RTC alarm */
|
2019-01-31 16:05:13 +00:00
|
|
|
//#define HAVE_RTC_ALARM
|
2019-01-31 16:05:13 +00:00
|
|
|
|
2017-04-27 09:36:40 +00:00
|
|
|
#define HAVE_HEADPHONE_DETECTION
|
|
|
|
|
|
|
|
/* KeyPad configuration for plugins */
|
|
|
|
#define CONFIG_KEYPAD AGPTEK_ROCKER_PAD
|
|
|
|
|
|
|
|
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
|
|
|
|
|
|
|
/* Define this to the CPU frequency */
|
2020-09-29 00:30:54 +00:00
|
|
|
#define CPU_FREQ 1008000000
|
2017-04-27 09:36:40 +00:00
|
|
|
|
|
|
|
/* Battery */
|
|
|
|
#define BATTERY_TYPES_COUNT 1
|
|
|
|
|
|
|
|
/* Audio codec */
|
|
|
|
#define HAVE_ROCKER_CODEC
|
|
|
|
|
2018-03-13 22:05:08 +00:00
|
|
|
/* We don't have hardware controls */
|
|
|
|
#define HAVE_SW_TONE_CONTROLS
|
|
|
|
|
2020-08-09 18:55:52 +00:00
|
|
|
/* HW codec is flexible */
|
2020-09-30 22:21:38 +00:00
|
|
|
#define HW_SAMPR_CAPS SAMPR_CAP_ALL_192
|
2020-08-09 18:55:52 +00:00
|
|
|
|
2017-04-27 09:36:40 +00:00
|
|
|
/* Battery */
|
|
|
|
#define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */
|
|
|
|
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
|
|
|
|
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
|
|
|
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
2020-10-11 13:30:41 +00:00
|
|
|
|
|
|
|
/* ROLO */
|
|
|
|
#define BOOTFILE_EXT "rocker"
|
|
|
|
#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 "0029"
|
2020-10-17 22:32:43 +00:00
|
|
|
|
|
|
|
/* Generic HiBy stuff */
|
|
|
|
#include "hibylinux.h"
|
2020-11-12 06:22:32 +00:00
|
|
|
|
|
|
|
/* Define this if a programmable hotkey is mapped */
|
|
|
|
#define HAVE_HOTKEY
|