summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-12-24 04:10:18 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-12-24 04:10:18 +0000
commitc97f640060cd13ba4fed041f1f1feecd84aa2ae0 (patch)
treeb7bac8f1d7586ff75e1fc3119574242ba059825f /tools
parentbe26da8662f19b0c72c98bbe9eeb00b0468af23c (diff)
downloadrockbox-c97f640060cd13ba4fed041f1f1feecd84aa2ae0.tar.gz
rockbox-c97f640060cd13ba4fed041f1f1feecd84aa2ae0.zip
Commit FS#9679 by Thomas Martitz. Adds c200v2 to the target tree. Has some buttons defined, a bootloader, and stubs for most drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19574 a1c6a512-1295-4272-9138-f99709370657
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
706 ==Creative== 71) M:Robe 100 56) Sansa e200v2 706 ==Creative== 71) M:Robe 100 56) Sansa e200v2
707 90) Zen Vision:M 30GB 57) Sansa m200v4 707 90) Zen Vision:M 30GB 57) Sansa m200v4
708 91) Zen Vision:M 60GB ==Philips== 58) Sansa Fuze 708 91) Zen Vision:M 60GB ==Philips== 58) Sansa Fuze
709 92) Zen Vision 100) GoGear SA9200 709 92) Zen Vision 100) GoGear SA9200 59) Sansa c200v2
710 101) GoGear HDD1630 ==Logik== 710 101) GoGear HDD1630
711 ==Logik==
711 ==Onda== 80) DAX 1GB MP3/DAB 712 ==Onda== 80) DAX 1GB MP3/DAB
712 120) VX747 ==Meizu== 713 120) VX747 ==Meizu==
713 121) VX767 110) M6SL 714 121) VX767 110) M6SL
@@ -1757,6 +1758,29 @@ fi
1757 ;; 1758 ;;
1758 1759
1759 1760
1761 59|c200v2)
1762 target_id=55
1763 modelname="c200v2"
1764 target="-DSANSA_C200V2"
1765 memory=2 # as per OF diagnosis mode
1766 arm9tdmicc
1767 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
1768 bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
1769 tool="$rootdir/tools/scramble -add=c2v2"
1770 output="rockbox.sansa"
1771 bootoutput="bootloader-c200v2.sansa"
1772 appextra="recorder:gui"
1773 plugins="yes"
1774 swcodec="yes"
1775 # toolset is the tools within the tools directory that we build for
1776 # this particular target.
1777 toolset=$scramblebitmaptools
1778 # architecture, manufacturer and model for the target-tree build
1779 t_cpu="arm"
1780 t_manufacturer="as3525"
1781 t_model="sansa-c200v2"
1782 ;;
1783
1760 60|tpj1022) 1784 60|tpj1022)
1761 target_id=25 1785 target_id=25
1762 modelname="tpj1022" 1786 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)
293 modelnum = 42; 293 modelnum = 42;
294 else if (!strcmp(&argv[1][5], "fuze")) 294 else if (!strcmp(&argv[1][5], "fuze"))
295 modelnum = 43; 295 modelnum = 43;
296 else if (!strcmp(&argv[1][5], "c2v2"))
297 modelnum = 44;
296 else { 298 else {
297 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 299 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
298 return 2; 300 return 2;