diff options
-rw-r--r-- | firmware/export/config-iaudiox5.h | 1 | ||||
-rwxr-xr-x | tools/configure | 62 |
2 files changed, 57 insertions, 6 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index ae48eb6dbe..a828ca1ec9 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h | |||
@@ -1,6 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * This config file is for iAudio X5 | 2 | * This config file is for iAudio X5 |
3 | */ | 3 | */ |
4 | #define TARGET_TREE /* this target is using the target tree system */ | ||
4 | 5 | ||
5 | /* For Rolo and boot loader */ | 6 | /* For Rolo and boot loader */ |
6 | #define MODEL_NUMBER 10 | 7 | #define MODEL_NUMBER 10 |
diff --git a/tools/configure b/tools/configure index f155afd8db..aa9c421194 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -469,6 +469,8 @@ toolsdir='\$(ROOTDIR)/tools' | |||
469 | echo "19 - iriver iFP-790" | 469 | echo "19 - iriver iFP-790" |
470 | echo "20 - Toshiba Gigabeat F" | 470 | echo "20 - Toshiba Gigabeat F" |
471 | echo "21 - iPod Mini 2G" | 471 | echo "21 - iPod Mini 2G" |
472 | echo "22 - iriver H10" | ||
473 | echo "23 - SanDisk Sansa e200" | ||
472 | 474 | ||
473 | target_id=`input`; | 475 | target_id=`input`; |
474 | 476 | ||
@@ -479,9 +481,9 @@ toolsdir='\$(ROOTDIR)/tools' | |||
479 | archosbitmaptools="$toolset scramble descramble sh2d uclpack bmp2rb codepages" | 481 | archosbitmaptools="$toolset scramble descramble sh2d uclpack bmp2rb codepages" |
480 | iriverbitmaptools="$toolset scramble descramble mkboot bmp2rb codepages" | 482 | iriverbitmaptools="$toolset scramble descramble mkboot bmp2rb codepages" |
481 | iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb codepages" | 483 | iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb codepages" |
482 | gigabeatbitmaptools="$toolset bmp2rb codepages" | ||
483 | ipodbitmaptools="$toolset scramble ipod_fw bmp2rb codepages" | 484 | ipodbitmaptools="$toolset scramble ipod_fw bmp2rb codepages" |
484 | ifpbitmaptools="$toolset bmp2rb codepages" | 485 | # generic is used by Gigabeat, IFP, H10, Sansa-e200 |
486 | genericbitmaptools="$toolset bmp2rb codepages" | ||
485 | 487 | ||
486 | case $target_id in | 488 | case $target_id in |
487 | 489 | ||
@@ -851,7 +853,7 @@ toolsdir='\$(ROOTDIR)/tools' | |||
851 | codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" | 853 | codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" |
852 | # toolset is the tools within the tools directory that we build for | 854 | # toolset is the tools within the tools directory that we build for |
853 | # this particular target. | 855 | # this particular target. |
854 | toolset=$ifpbitmaptools | 856 | toolset=$genericbitmaptools |
855 | ;; | 857 | ;; |
856 | 858 | ||
857 | 20) | 859 | 20) |
@@ -868,7 +870,7 @@ toolsdir='\$(ROOTDIR)/tools' | |||
868 | flash="" | 870 | flash="" |
869 | plugins="yes" | 871 | plugins="yes" |
870 | codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" | 872 | codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" |
871 | toolset=$gigabeatbitmaptools | 873 | toolset=$genericbitmaptools |
872 | ;; | 874 | ;; |
873 | 875 | ||
874 | 21) | 876 | 21) |
@@ -890,6 +892,54 @@ toolsdir='\$(ROOTDIR)/tools' | |||
890 | toolset=$ipodbitmaptools | 892 | toolset=$ipodbitmaptools |
891 | ;; | 893 | ;; |
892 | 894 | ||
895 | 22) | ||
896 | archos="h10" | ||
897 | target="-DIRIVER_H10" | ||
898 | memory=32 # always | ||
899 | arm7tdmicc | ||
900 | #tool="$rootdir/tools/ -add=iax5" | ||
901 | tool="$rootdir/tools/mi4code build" | ||
902 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
903 | bmp2rb_native="$rootdir/tools/bmp2rb -f 5" | ||
904 | output="rockbox.iriver" | ||
905 | appextra="recorder:gui" | ||
906 | archosrom="" | ||
907 | flash="" | ||
908 | plugins="yes" | ||
909 | codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" | ||
910 | # toolset is the tools within the tools directory that we build for | ||
911 | # this particular target. | ||
912 | toolset=$genericbitmaptools | ||
913 | # architecture, manufacturer and model for the target-tree build | ||
914 | t_cpu="arm" | ||
915 | t_manufacturer="iriver" | ||
916 | t_model="h10" | ||
917 | ;; | ||
918 | |||
919 | 23) | ||
920 | archos="e200" | ||
921 | target="-DSANSA_E200" | ||
922 | memory=32 # supposedly | ||
923 | arm7tdmicc | ||
924 | #tool="$rootdir/tools/ -add=iax5" | ||
925 | tool="$rootdir/tools/mi4code build" | ||
926 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
927 | bmp2rb_native="$rootdir/tools/bmp2rb -f 5" | ||
928 | output="rockbox.sansa" | ||
929 | appextra="recorder:gui" | ||
930 | archosrom="" | ||
931 | flash="" | ||
932 | plugins="yes" | ||
933 | codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" | ||
934 | # toolset is the tools within the tools directory that we build for | ||
935 | # this particular target. | ||
936 | toolset=$genericbitmaptools | ||
937 | # architecture, manufacturer and model for the target-tree build | ||
938 | t_cpu="arm" | ||
939 | t_manufacturer="sandisk" | ||
940 | t_model="sansa-e200" | ||
941 | ;; | ||
942 | |||
893 | *) | 943 | *) |
894 | echo "Please select an actual target platform!" | 944 | echo "Please select an actual target platform!" |
895 | exit | 945 | exit |
@@ -945,7 +995,7 @@ fi | |||
945 | case $option in | 995 | case $option in |
946 | [Bb]) | 996 | [Bb]) |
947 | case $archos in | 997 | case $archos in |
948 | h100|h120|h300|x5|ipodcolor|ipodnano|ipodvideo|ipod3g|ipod4g|ipodmini|ipodmini2g) | 998 | h100|h120|h300|x5|ipodcolor|ipodnano|ipodvideo|ipod3g|ipod4g|ipodmini|ipodmini2g|h10|e200) |
949 | extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES | 999 | extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES |
950 | appsdir='\$(ROOTDIR)/bootloader' | 1000 | appsdir='\$(ROOTDIR)/bootloader' |
951 | apps="bootloader" | 1001 | apps="bootloader" |
@@ -1124,7 +1174,7 @@ if test -n "$t_cpu"; then | |||
1124 | TARGET_INC="-I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer/$t_model" | 1174 | TARGET_INC="-I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer/$t_model" |
1125 | TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer" | 1175 | TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu/$t_manufacturer" |
1126 | TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu" | 1176 | TARGET_INC="$TARGET_INC -I\$(FIRMDIR)/target/$t_cpu" |
1127 | GCCOPTS="$GCCOPTS -DTARGET_TREE" | 1177 | GCCOPTS="$GCCOPTS" |
1128 | fi | 1178 | fi |
1129 | 1179 | ||
1130 | if test "$simulator" = "yes"; then | 1180 | if test "$simulator" = "yes"; then |