summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure24
-rw-r--r--tools/scramble.c4
2 files changed, 27 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index a9a6d55abf..1281d9446f 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1088,6 +1088,7 @@ cat <<EOF
==MPIO== == Application ==
170) HD200 200) Application
+ 171) HD300
EOF
@@ -2717,6 +2718,29 @@ fi
t_model="hd200"
;;
+ 171|mpiohd300)
+ target_id=70
+ modelname="mpiohd300"
+ target="-DMPIO_HD300"
+ memory=16 # always
+ coldfirecc
+ tool="$rootdir/tools/scramble -add=hd30"
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 2"
+ output="rockbox.mpio"
+ bootoutput="bootloader.mpio"
+ appextra="recorder:gui:radio"
+ plugins=""
+ swcodec="yes"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset="$genericbitmaptools"
+ # architecture, manufacturer and model for the target-tree build
+ t_cpu="coldfire"
+ t_manufacturer="mpio"
+ t_model="hd300"
+ ;;
+
200|app*)
target_id=100
modelname="application"
diff --git a/tools/scramble.c b/tools/scramble.c
index 7d33e4b203..b460d51c5e 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -125,7 +125,7 @@ void usage(void)
"\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n"
"\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n"
- "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20)\n");
+ "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -330,6 +330,8 @@ int main (int argc, char** argv)
modelnum = 131;
else if (!strcmp(&argv[1][5], "hd20")) /* MPIO HD200 */
modelnum = 69;
+ else if (!strcmp(&argv[1][5], "hd30")) /* MPIO HD300 */
+ modelnum = 70;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;