summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarc Guay <marcguay@rockbox.org>2008-06-21 15:18:36 +0000
committerMarc Guay <marcguay@rockbox.org>2008-06-21 15:18:36 +0000
commitb93667b30699a18daf3699cc969ad858077e406f (patch)
treeb3a1932ff6227f0434e86efded2205a16864898b /tools
parentfdd5c3f1a3c18806329a88b8f243c8775f2a8571 (diff)
Add the Sansa c100 as a build target with basic drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17742 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/checkwps/targets.txt1
-rwxr-xr-xtools/configure24
2 files changed, 23 insertions, 2 deletions
diff --git a/tools/checkwps/targets.txt b/tools/checkwps/targets.txt
index 9583109ddd..196f0c3694 100644
--- a/tools/checkwps/targets.txt
+++ b/tools/checkwps/targets.txt
@@ -33,4 +33,5 @@ SANSA_E200 e200
SANSA_E200 e200r
SANSA_C200 c200
SANSA_M200 m200
+SANSA_C100 c100
ELIO_TPJ1022 tpj1022
diff --git a/tools/configure b/tools/configure
index 39b8d18a6e..b2c1b7ed18 100755
--- a/tools/configure
+++ b/tools/configure
@@ -671,7 +671,7 @@ cat <<EOF
31) M5/M5L 41) Gigabeat S 51) Sansa e200R
32) 7 52) Sansa c200
33) Cowon D2 53) Sansa m200
- 34) M3/M3L
+ 34) M3/M3L 54) Sansa c100
==Tatung== ==Olympus== ==Logik==
60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB
@@ -1627,7 +1627,27 @@ fi
t_manufacturer="tcc77x"
t_model="m200"
;;
-
+
+ 54|c100)
+ target_id=42
+ modelname="c100"
+ target="-DSANSA_C100" # The #define used in firmware/export/config.h for conditional compilation
+ memory=32 # how many megabytes of RAM
+ arm946cc # Which compiler to use, see the beginning of the file
+ tool="$rootdir/tools/scramble -add=c100" # Which command to use for creating a rockbox binary to be loaded by the bootloader
+ boottool="$rootdir/tools/scramble -tcc=crc"
+ bootoutput="player.rom"
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" # How to create a monochrome bitmap
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4" # How to create a native bitmap
+ output="rockbox.c100" # The name of the Rockbox binary file
+ appextra="recorder:gui" # What directories in the apps/ tree to include in compilation
+ plugins="" # Does it support plugins?
+ toolset=$tccbitmaptools
+ t_cpu="arm"
+ t_manufacturer="tcc77x"
+ t_model="c100"
+ ;;
+
60|tpj1022)
target_id=25
modelname="tpj1022"