summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/agptekrocker.h5
-rw-r--r--firmware/export/config/xduoox20.h6
-rw-r--r--firmware/export/config/xduoox3ii.h7
-rw-r--r--firmware/export/rolo.h4
4 files changed, 22 insertions, 0 deletions
diff --git a/firmware/export/config/agptekrocker.h b/firmware/export/config/agptekrocker.h
index 749786dff1..a97522d976 100644
--- a/firmware/export/config/agptekrocker.h
+++ b/firmware/export/config/agptekrocker.h
@@ -124,3 +124,8 @@
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
+
+/* ROLO */
+#define BOOTFILE_EXT "rocker"
+#define BOOTFILE "rockbox." BOOTFILE_EXT
+#define BOOTDIR "/.rockbox"
diff --git a/firmware/export/config/xduoox20.h b/firmware/export/config/xduoox20.h
index 1852027cf0..a8d2175719 100644
--- a/firmware/export/config/xduoox20.h
+++ b/firmware/export/config/xduoox20.h
@@ -122,3 +122,9 @@
#define BATTERY_CAPACITY_MIN 2400 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 2400 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
+
+/* ROLO */
+#define BOOTFILE_EXT "x20"
+#define BOOTFILE "rockbox." BOOTFILE_EXT
+#define BOOTDIR "/.rockbox"
+
diff --git a/firmware/export/config/xduoox3ii.h b/firmware/export/config/xduoox3ii.h
index dab7c0f257..143d4442fd 100644
--- a/firmware/export/config/xduoox3ii.h
+++ b/firmware/export/config/xduoox3ii.h
@@ -122,3 +122,10 @@
#define BATTERY_CAPACITY_MIN 2000 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
+
+/* ROLO */
+#define BOOTFILE_EXT "x3ii"
+#define BOOTFILE "rockbox." BOOTFILE_EXT
+#define BOOTDIR "/.rockbox"
+
+
diff --git a/firmware/export/rolo.h b/firmware/export/rolo.h
index 1a06d61892..4b6c8abf64 100644
--- a/firmware/export/rolo.h
+++ b/firmware/export/rolo.h
@@ -21,6 +21,10 @@
#ifndef __ROLO_H__
#define __ROLO_H__
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(BOOTFILE)
+#define HAVE_ROLO
+#endif
+
int rolo_load(const char* file);
#ifdef CPU_PP