summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure28
-rw-r--r--tools/scramble.c2
2 files changed, 28 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 979d8cea7c..1bf72f89dc 100755
--- a/tools/configure
+++ b/tools/configure
@@ -706,8 +706,9 @@ cat <<EOF
==Creative== 71) M:Robe 100 56) Sansa e200v2
90) Zen Vision:M 30GB 57) Sansa m200v4
91) Zen Vision:M 60GB ==Philips== 58) Sansa Fuze
- 92) Zen Vision 100) GoGear SA9200
- 101) GoGear HDD1630 ==Logik==
+ 92) Zen Vision 100) GoGear SA9200 59) Sansa c200v2
+ 101) GoGear HDD1630
+ ==Logik==
==Onda== 80) DAX 1GB MP3/DAB
120) VX747 ==Meizu==
121) VX767 110) M6SL
@@ -1757,6 +1758,29 @@ fi
;;
+ 59|c200v2)
+ target_id=55
+ modelname="c200v2"
+ target="-DSANSA_C200V2"
+ memory=2 # as per OF diagnosis mode
+ arm9tdmicc
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ tool="$rootdir/tools/scramble -add=c2v2"
+ output="rockbox.sansa"
+ bootoutput="bootloader-c200v2.sansa"
+ appextra="recorder:gui"
+ plugins="yes"
+ swcodec="yes"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset=$scramblebitmaptools
+ # architecture, manufacturer and model for the target-tree build
+ t_cpu="arm"
+ t_manufacturer="as3525"
+ t_model="sansa-c200v2"
+ ;;
+
60|tpj1022)
target_id=25
modelname="tpj1022"
diff --git a/tools/scramble.c b/tools/scramble.c
index 8c4b435c02..9fea89ce30 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -293,6 +293,8 @@ int main (int argc, char** argv)
modelnum = 42;
else if (!strcmp(&argv[1][5], "fuze"))
modelnum = 43;
+ else if (!strcmp(&argv[1][5], "c2v2"))
+ modelnum = 44;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;