rk27xx - enable a few test plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30459 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4c896d9fe2
commit
6d5671a8d8
6 changed files with 31 additions and 5 deletions
|
@ -325,4 +325,6 @@ keymaps/keymap-android.c
|
|||
keymaps/keymap-sdl.c
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
|
||||
keymaps/keymap-fuzeplus.c
|
||||
#elif CONFIG_KEYPAD == RK27XX_GENERIC_PAD
|
||||
keymaps/keymap-rk27xx-generic.c
|
||||
#endif
|
||||
|
|
|
@ -209,7 +209,15 @@ const struct button_mapping pla_main_ctx[] =
|
|||
{ PLA_DOWN_REPEAT, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_LEFT_REPEAT, BUTTON_REW|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_RIGHT_REPEAT, BUTTON_FF|BUTTON_REPEAT, BUTTON_NONE},
|
||||
|
||||
#elif (CONFIG_KEYPAD == RK27XX_GENERIC_PAD)
|
||||
{ PLA_UP, BUTTON_REW, BUTTON_NONE},
|
||||
{ PLA_DOWN, BUTTON_FF, BUTTON_NONE},
|
||||
{ PLA_LEFT, BUTTON_REW|BUTTON_M, BUTTON_NONE},
|
||||
{ PLA_RIGHT, BUTTON_FF|BUTTON_M, BUTTON_NONE},
|
||||
{ PLA_UP_REPEAT, BUTTON_REW|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_DOWN_REPEAT, BUTTON_FF|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_LEFT_REPEAT, BUTTON_REW|BUTTON_M|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{ PLA_RIGHT_REPEAT, BUTTON_FF|BUTTON_M|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#else
|
||||
# ifndef HAVE_TOUCHSCREEN
|
||||
# error pluginlib_actions: No directions defined
|
||||
|
@ -382,6 +390,12 @@ const struct button_mapping pla_main_ctx[] =
|
|||
{PLA_SELECT, BUTTON_ENTER, BUTTON_NONE},
|
||||
{PLA_SELECT_REL, BUTTON_ENTER|BUTTON_REL, BUTTON_ENTER},
|
||||
{PLA_SELECT_REPEAT, BUTTON_ENTER|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#elif (CONFIG_KEYPAD == RK27XX_GENERIC_PAD)
|
||||
{PLA_CANCEL, BUTTON_M, BUTTON_NONE},
|
||||
{PLA_EXIT, BUTTON_M|BUTTON_REPEAT, BUTTON_NONE},
|
||||
{PLA_SELECT, BUTTON_PLAY, BUTTON_NONE},
|
||||
{PLA_SELECT_REL, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY},
|
||||
{PLA_SELECT_REPEAT, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#else
|
||||
# ifndef HAVE_TOUCHSCREEN
|
||||
# error pluginlib_actions: No actions defined
|
||||
|
|
|
@ -165,6 +165,12 @@ OUTPUT_FORMAT(elf32-littlemips)
|
|||
#define IRAM DRAM
|
||||
#define IRAMSIZE 0
|
||||
/* The bit of IRAM that is available is used in the core */
|
||||
|
||||
#elif CONFIG_CPU == RK27XX
|
||||
#define DRAMORIG 0x60000000
|
||||
#define IRAM DRAM
|
||||
#define IRAMSIZE 0
|
||||
|
||||
#else
|
||||
#define DRAMORIG 0x09000000 + STUBOFFSET
|
||||
#endif
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
#define TESTCODEC_EXITBUTTON (BUTTON_REC | BUTTON_PLAY)
|
||||
#elif CONFIG_KEYPAD == MPIO_HD300_PAD
|
||||
#define TESTCODEC_EXITBUTTON (BUTTON_REC | BUTTON_REPEAT)
|
||||
#elif CONFIG_KEYPAD == RK27XX_GENERIC_PAD
|
||||
#define TESTCODEC_EXITBUTTON (BUTTON_M | BUTTON_REPEAT)
|
||||
#elif defined(HAVE_TOUCHSCREEN)
|
||||
#define TESTCODEC_EXITBUTTON BUTTON_TOPLEFT
|
||||
#else
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
#define TEST_FILE TESTBASEDIR "/test_disk.tmp"
|
||||
#define FRND_SEED 0x78C3 /* arbirary */
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_MMC)
|
||||
//#if (CONFIG_STORAGE & STORAGE_MMC)
|
||||
#define TEST_SIZE (20*1024*1024)
|
||||
#else
|
||||
#define TEST_SIZE (300*1024*1024)
|
||||
#endif
|
||||
//#else
|
||||
//#define TEST_SIZE (300*1024*1024)
|
||||
//#endif
|
||||
#define TEST_TIME 10 /* in seconds */
|
||||
|
||||
static unsigned char* audiobuf;
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
#define FPS_QUIT (BUTTON_REC|BUTTON_PLAY)
|
||||
#elif CONFIG_KEYPAD == MPIO_HD300_PAD
|
||||
#define FPS_QUIT (BUTTON_REC|BUTTON_REPEAT)
|
||||
#elif CONFIG_KEYPAD == RK27XX_GENERIC_PAD
|
||||
#define FPS_QUIT (BUTTON_M|BUTTON_REPEAT)
|
||||
#elif defined(BUTTON_OFF)
|
||||
#define FPS_QUIT BUTTON_OFF
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue