summaryrefslogtreecommitdiff
path: root/firmware/export/config/erosqnative.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/erosqnative.h')
-rw-r--r--firmware/export/config/erosqnative.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/firmware/export/config/erosqnative.h b/firmware/export/config/erosqnative.h
index f6e5b0d55e..adb1b29e01 100644
--- a/firmware/export/config/erosqnative.h
+++ b/firmware/export/config/erosqnative.h
@@ -9,6 +9,19 @@
9#define BOOTFILE "rockbox." BOOTFILE_EXT 9#define BOOTFILE "rockbox." BOOTFILE_EXT
10#define BOOTDIR "/.rockbox" 10#define BOOTDIR "/.rockbox"
11 11
12/* Define EROSQN_VER as an "extradefine" in the configure script -
13 * v1, v2 players: "1"
14 * v3 players: "3"
15 * Only bootloader will be affected.
16 *
17 * This allows us to fix the LCD init issues with v3 players.
18 */
19#ifdef BOOTLOADER
20#ifndef EROSQN_VER
21#error "Must define EROSQN_VER"
22#endif
23#endif
24
12/* CPU defines */ 25/* CPU defines */
13#define CONFIG_CPU X1000 26#define CONFIG_CPU X1000
14#define X1000_EXCLK_FREQ 24000000 27#define X1000_EXCLK_FREQ 24000000
@@ -77,9 +90,7 @@
77#define CONFIG_STORAGE STORAGE_SD 90#define CONFIG_STORAGE STORAGE_SD
78#define HAVE_HOTSWAP 91#define HAVE_HOTSWAP
79#define HAVE_HOTSWAP_STORAGE_AS_MAIN 92#define HAVE_HOTSWAP_STORAGE_AS_MAIN
80#define HAVE_MULTIDRIVE
81#define HAVE_MULTIVOLUME 93#define HAVE_MULTIVOLUME
82#define NUM_DRIVES 1
83#define STORAGE_WANTS_ALIGN 94#define STORAGE_WANTS_ALIGN
84#define STORAGE_NEEDS_BOUNCE_BUFFER 95#define STORAGE_NEEDS_BOUNCE_BUFFER
85 96
@@ -108,6 +119,9 @@
108#define HAVE_BOOTDATA 119#define HAVE_BOOTDATA
109#define BOOT_REDIR "rockbox_main.aigo_erosqn" 120#define BOOT_REDIR "rockbox_main.aigo_erosqn"
110 121
122/* DeviceData */
123#define HAVE_DEVICEDATA
124
111/* USB support */ 125/* USB support */
112#ifndef SIMULATOR 126#ifndef SIMULATOR
113#define CONFIG_USBOTG USBOTG_DESIGNWARE 127#define CONFIG_USBOTG USBOTG_DESIGNWARE