summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-02-25 13:26:46 +0000
committerThomas Martitz <kugel@rockbox.org>2010-02-25 13:26:46 +0000
commit0094b0500c87fa9a8a8ab48e877730a9680915b2 (patch)
tree3100795c25f436b6871cfcaf0abfb287a26673f2 /tools
parent0eb50d5106a936eeded0d15b46cf39a3d4afd204 (diff)
downloadrockbox-0094b0500c87fa9a8a8ab48e877730a9680915b2.tar.gz
rockbox-0094b0500c87fa9a8a8ab48e877730a9680915b2.tar.bz2
rockbox-0094b0500c87fa9a8a8ab48e877730a9680915b2.zip
Add Sansa Fuzev2 to the target tree. Bootloader builds, but is completely untested.
Compilation shows a warning for the first argument of the lcd_bitmap() call in show_logo(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24911 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure23
-rw-r--r--tools/scramble.c4
2 files changed, 25 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 5b007e9aa4..67fc18917a 100755
--- a/tools/configure
+++ b/tools/configure
@@ -911,7 +911,8 @@ cat <<EOF
120) VX747 ==Meizu== 60) Sansa Clipv2
121) VX767 110) M6SL 61) Sansa View
122) VX747+ 111) M6SP 62) Sansa Clip+
- 123) VX777 112) M3
+ 123) VX777 112) M3 63) Sansa Fuze v2
+
==Logik==
==Samsung== ==Tatung== 80) DAX 1GB MP3/DAB
140) YH-820 150) Elio TPJ-1022
@@ -2078,6 +2079,26 @@ fi
arm926ejscc
;;
+ 63|sansafuzev2)
+ target_id=68
+ modelname="sansafuzev2"
+ target="-DSANSA_FUZEV2"
+ memory=8 # not sure
+ arm926ejscc
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$bmp2rb_mono"
+ tool="$rootdir/tools/scramble -add=fuz2"
+ output="rockbox.sansa"
+ bootoutput="bootloader-fuzev2.sansa"
+ appextra="recorder:gui"
+ plugins=#"yes"
+ swcodec="yes"
+ toolset=$scramblebitmaptools
+ t_cpu="arm"
+ t_manufacturer="as3525"
+ t_model="sansa-fuzev2"
+ ;;
+
150|tatungtpj1022)
target_id=25
modelname="tatungtpj1022"
diff --git a/tools/scramble.c b/tools/scramble.c
index 7d981ae23d..ca3fd3bb35 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+)\n");
+ "\t 747p, x777, nn2g, m244, cli+, fuz2)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -324,6 +324,8 @@ int main (int argc, char** argv)
modelnum = 66;
else if (!strcmp(&argv[1][5], "v500")) /* Packard Bell Vibe 500 */
modelnum = 67;
+ else if (!strcmp(&argv[1][5], "fuz2")) /* Sansa Fuze v2 */
+ modelnum = 68;
else if (!strcmp(&argv[1][5], "m244"))
modelnum = 131;
else {