summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-11-01 10:29:23 +0000
committerDave Chapman <dave@dchapman.com>2008-11-01 10:29:23 +0000
commit74c75e5c047c772a5539554156f079d2a003fe4a (patch)
tree356c73c00c985c534864a4c9a6e8d3414b2a30fd /tools
parent88806c0b1b3900b2cdcd8c28901bece2b05d4610 (diff)
downloadrockbox-74c75e5c047c772a5539554156f079d2a003fe4a.zip
rockbox-74c75e5c047c772a5539554156f079d2a003fe4a.tar.gz
rockbox-74c75e5c047c772a5539554156f079d2a003fe4a.tar.bz2
rockbox-74c75e5c047c772a5539554156f079d2a003fe4a.tar.xz
Add Sansa Fuze to the build system, including a first (untested) attempt at an LCD driver. Lots of things are just copied from the e200v2, so this code needs testing, and then drivers properly merged if they prove to be the same.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18957 a1c6a512-1295-4272-9138-f99709370657
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;