summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure22
-rw-r--r--tools/scramble.c4
2 files changed, 25 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 41bd8c2..f657c73 100755
--- a/tools/configure
+++ b/tools/configure
@@ -696,6 +696,7 @@ cat <<EOF
55) Sansa Clip
56) Sansa e200v2
57) Sansa m200v2
+ 58) Sansa Fuze
==Tatung== ==Olympus== ==Logik==
60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB
@@ -1742,6 +1743,27 @@ fi
;;
+ 58|fuze)
+ target_id=53
+ modelname="fuze"
+ target="-DSANSA_FUZE"
+ memory=2
+ arm9tdmicc
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ tool="$rootdir/tools/scramble -add=e2v2"
+ output="rockbox.sansa"
+ bootoutput="bootloader-fuze.sansa"
+ appextra="recorder:gui"
+ plugins="yes"
+ swcodec="yes"
+ toolset=$scramblebitmaptools
+ t_cpu="arm"
+ t_manufacturer="as3525"
+ t_model="sansa-fuze"
+ ;;
+
+
60|tpj1022)
target_id=25
modelname="tpj1022"
diff --git a/tools/scramble.c b/tools/scramble.c
index 0cf1603..663899a 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -122,7 +122,7 @@ void usage(void)
"\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n"
"\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n"
"\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
- printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v2)\n");
+ printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v2, fuze)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -291,6 +291,8 @@ int main (int argc, char** argv)
modelnum = 41;
else if (!strcmp(&argv[1][5], "m2v2"))
modelnum = 42;
+ else if (!strcmp(&argv[1][5], "fuze"))
+ modelnum = 43;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;