1
0
Fork 0
forked from len0rd/rockbox

Add support for Sony NW-A20

Add original author to CREDITS

Change-Id: I7a0159635c7896e2b5521c078ef62618f568d89e
This commit is contained in:
Johannes Rauh 2017-04-29 18:33:45 +02:00 • committed by Amaury Pouly
parent 1d121e8c08
commit 3a5ae7dd3a
5 changed files with 47 additions and 3 deletions

25
tools/configure vendored
View file

@ -1511,7 +1511,7 @@ cat <<EOF
207) Android x86 230) 760 224) NWZ-E470 series
208) Samsung YP-R1 231) 960 225) NWZ-E580 series
226) NWZ-A10 series
==iBasso==
==iBasso== 227) NW-A20 series
232) DX50
233) DX90
@ -3984,6 +3984,29 @@ fi
sonynwzcc
;;
227|sonynwa20)
application="yes"
target_id=102
modelname="sonynwa20"
target="SONY_NWA20"
memory=16
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
tool="cp"
output="rockbox.sony"
boottool="$rootdir/tools/scramble -add=a20"
bootoutput="bootloader-nwa20.sony"
appextra="gui:recorder"
plugins=""
swcodec="yes"
toolset=$genericbitmaptools
t_cpu="hosted"
t_manufacturer="sonynwz"
t_model="nwa20"
uname=`uname`
sonynwzcc
;;
230|ihifi760)
target_id=92
modelname="ihifi760"

View file

@ -130,7 +130,7 @@ void usage(void)
"\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n"
"\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n"
"\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n"
"\t e470,e580,a10)\n");
"\t e470,e580,a10,a20)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@ -391,8 +391,10 @@ int main (int argc, char** argv)
modelnum = 102;
else if (!strcmp(&argv[1][5], "e470")) /* Sony NWZ-E470 series */
modelnum = 103;
else if (!strcmp(&argv[1][5], "a10")) /* Sony NW-A10 series */
else if (!strcmp(&argv[1][5], "a10")) /* Sony NWZ-A10 series */
modelnum = 104;
else if (!strcmp(&argv[1][5], "a20")) /* Sony NW-A20 series */
modelnum = 106;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;