summaryrefslogtreecommitdiff
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.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
911 120) VX747 ==Meizu== 60) Sansa Clipv2 911 120) VX747 ==Meizu== 60) Sansa Clipv2
912 121) VX767 110) M6SL 61) Sansa View 912 121) VX767 110) M6SL 61) Sansa View
913 122) VX747+ 111) M6SP 62) Sansa Clip+ 913 122) VX747+ 111) M6SP 62) Sansa Clip+
914 123) VX777 112) M3 914 123) VX777 112) M3 63) Sansa Fuze v2
915
915 ==Logik== 916 ==Logik==
916 ==Samsung== ==Tatung== 80) DAX 1GB MP3/DAB 917 ==Samsung== ==Tatung== 80) DAX 1GB MP3/DAB
917 140) YH-820 150) Elio TPJ-1022 918 140) YH-820 150) Elio TPJ-1022
@@ -2078,6 +2079,26 @@ fi
2078 arm926ejscc 2079 arm926ejscc
2079 ;; 2080 ;;
2080 2081
2082 63|sansafuzev2)
2083 target_id=68
2084 modelname="sansafuzev2"
2085 target="-DSANSA_FUZEV2"
2086 memory=8 # not sure
2087 arm926ejscc
2088 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
2089 bmp2rb_native="$bmp2rb_mono"
2090 tool="$rootdir/tools/scramble -add=fuz2"
2091 output="rockbox.sansa"
2092 bootoutput="bootloader-fuzev2.sansa"
2093 appextra="recorder:gui"
2094 plugins=#"yes"
2095 swcodec="yes"
2096 toolset=$scramblebitmaptools
2097 t_cpu="arm"
2098 t_manufacturer="as3525"
2099 t_model="sansa-fuzev2"
2100 ;;
2101
2081 150|tatungtpj1022) 2102 150|tatungtpj1022)
2082 target_id=25 2103 target_id=25
2083 modelname="tatungtpj1022" 2104 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)
125 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); 125 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
126 printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n" 126 printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n"
127 "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n" 127 "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n"
128 "\t 747p, x777, nn2g, m244, cli+)\n"); 128 "\t 747p, x777, nn2g, m244, cli+, fuz2)\n");
129 printf("\nNo option results in Archos standard player/recorder format.\n"); 129 printf("\nNo option results in Archos standard player/recorder format.\n");
130 130
131 exit(1); 131 exit(1);
@@ -324,6 +324,8 @@ int main (int argc, char** argv)
324 modelnum = 66; 324 modelnum = 66;
325 else if (!strcmp(&argv[1][5], "v500")) /* Packard Bell Vibe 500 */ 325 else if (!strcmp(&argv[1][5], "v500")) /* Packard Bell Vibe 500 */
326 modelnum = 67; 326 modelnum = 67;
327 else if (!strcmp(&argv[1][5], "fuz2")) /* Sansa Fuze v2 */
328 modelnum = 68;
327 else if (!strcmp(&argv[1][5], "m244")) 329 else if (!strcmp(&argv[1][5], "m244"))
328 modelnum = 131; 330 modelnum = 131;
329 else { 331 else {