diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-03 18:17:11 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-09 12:41:18 -0400 |
commit | aabc8aca47e60cf745a34af28c50679fcb967910 (patch) | |
tree | cfe17f546aae9785fb13482f39527e2da0597ccb /tools | |
parent | 4231c2c83f2b5331e3e38b10a308ee3752315f9c (diff) | |
download | rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.tar.gz rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.zip |
New port: FiiO M3K
Most credit goes to: Roman Skylarov
Additional integration and refactoring by myself.
*** COMPLETELY UNTESTED ***
Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
Diffstat (limited to 'tools')
-rw-r--r-- | tools/builds.pm | 5 | ||||
-rwxr-xr-x | tools/configure | 28 | ||||
-rw-r--r-- | tools/root.make | 6 |
3 files changed, 37 insertions, 2 deletions
diff --git a/tools/builds.pm b/tools/builds.pm index d46aa83495..6f0c4d0445 100644 --- a/tools/builds.pm +++ b/tools/builds.pm | |||
@@ -444,6 +444,10 @@ $releasenotes="/wiki/ReleaseNotes315"; | |||
444 | name => 'xDuoo X20', | 444 | name => 'xDuoo X20', |
445 | status => 2, | 445 | status => 2, |
446 | }, | 446 | }, |
447 | 'fiiom3k' => { | ||
448 | name => 'FiiO M3K', | ||
449 | status => 1, | ||
450 | }, | ||
447 | 'ihifi770' => { | 451 | 'ihifi770' => { |
448 | name => 'Xuelin iHIFI 770', | 452 | name => 'Xuelin iHIFI 770', |
449 | status => 2, | 453 | status => 2, |
@@ -671,5 +675,4 @@ sub voicesforlang($) { | |||
671 | return @list; | 675 | return @list; |
672 | } | 676 | } |
673 | 677 | ||
674 | |||
675 | 1; | 678 | 1; |
diff --git a/tools/configure b/tools/configure index 9e29d84ed8..f5fb6351c0 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1588,7 +1588,8 @@ cat <<EOF | |||
1588 | 251) 770 226) NWZ-A10 series | 1588 | 251) 770 226) NWZ-A10 series |
1589 | ==AgpTek== 252) 800 227) NW-A20 series | 1589 | ==AgpTek== 252) 800 227) NW-A20 series |
1590 | 240) Rocker 228) NWZ-A860 series | 1590 | 240) Rocker 228) NWZ-A860 series |
1591 | 229) NWZ-S750 series | 1591 | ==FiiO== 229) NWZ-S750 series |
1592 | 244) M3K | ||
1592 | 1593 | ||
1593 | EOF | 1594 | EOF |
1594 | 1595 | ||
@@ -4055,6 +4056,7 @@ fi | |||
4055 | t_cpu="hosted" | 4056 | t_cpu="hosted" |
4056 | t_manufacturer="xduoo" | 4057 | t_manufacturer="xduoo" |
4057 | t_model="xduoo_x3ii" | 4058 | t_model="xduoo_x3ii" |
4059 | # sysfont="20-Terminus-Bold" | ||
4058 | ;; | 4060 | ;; |
4059 | 4061 | ||
4060 | 243|xduoox20) | 4062 | 243|xduoox20) |
@@ -4077,6 +4079,30 @@ fi | |||
4077 | t_cpu="hosted" | 4079 | t_cpu="hosted" |
4078 | t_manufacturer="xduoo" | 4080 | t_manufacturer="xduoo" |
4079 | t_model="xduoo_x20" | 4081 | t_model="xduoo_x20" |
4082 | # sysfont="20-Terminus-Bold" | ||
4083 | ;; | ||
4084 | |||
4085 | 244|fiiom3k) | ||
4086 | application="yes" | ||
4087 | app_type="fiio" | ||
4088 | target_id=112 | ||
4089 | modelname="fiiom3k" | ||
4090 | target="FIIO_M3K" | ||
4091 | memory=16 # XXX Can probably go over 32? | ||
4092 | tool="cp " | ||
4093 | boottool="cp " | ||
4094 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
4095 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
4096 | output="rockbox.m3k" | ||
4097 | bootoutput="bootloader.m3k" | ||
4098 | appextra="recorder:gui:hosted" | ||
4099 | plugins="yes" | ||
4100 | # architecture, manufacturer and model for the target-tree build | ||
4101 | t_cpu="hosted" | ||
4102 | t_manufacturer="fiio" | ||
4103 | t_model="m3k" | ||
4104 | mipsellinuxcc | ||
4105 | # sysfont="20-Terminus-Bold" | ||
4080 | ;; | 4106 | ;; |
4081 | 4107 | ||
4082 | 250|ihifi770c) | 4108 | 250|ihifi770c) |
diff --git a/tools/root.make b/tools/root.make index b588e0f8b1..fd42f9b6b2 100644 --- a/tools/root.make +++ b/tools/root.make | |||
@@ -104,6 +104,8 @@ ifneq (,$(findstring bootloader,$(APPSDIR))) | |||
104 | include $(ROOTDIR)/firmware/target/hosted/agptek/rocker.make | 104 | include $(ROOTDIR)/firmware/target/hosted/agptek/rocker.make |
105 | else ifneq (,$(findstring xduoo,$(APP_TYPE))) | 105 | else ifneq (,$(findstring xduoo,$(APP_TYPE))) |
106 | include $(ROOTDIR)/firmware/target/hosted/xduoo/xduoo.make | 106 | include $(ROOTDIR)/firmware/target/hosted/xduoo/xduoo.make |
107 | else ifneq (,$(findstring fiio,$(APP_TYPE))) | ||
108 | include $(ROOTDIR)/firmware/target/hosted/fiio/fiio.make | ||
107 | else | 109 | else |
108 | include $(APPSDIR)/bootloader.make | 110 | include $(APPSDIR)/bootloader.make |
109 | endif | 111 | endif |
@@ -150,6 +152,10 @@ else # core | |||
150 | include $(ROOTDIR)/firmware/target/hosted/xduoo/xduoo.make | 152 | include $(ROOTDIR)/firmware/target/hosted/xduoo/xduoo.make |
151 | endif | 153 | endif |
152 | 154 | ||
155 | ifneq (,$(findstring fiio,$(APP_TYPE))) | ||
156 | include $(ROOTDIR)/firmware/target/hosted/fiio/fiio.make | ||
157 | endif | ||
158 | |||
153 | ifneq (,$(findstring android_ndk, $(APP_TYPE))) | 159 | ifneq (,$(findstring android_ndk, $(APP_TYPE))) |
154 | include $(ROOTDIR)/firmware/target/hosted/ibasso/android_ndk.make | 160 | include $(ROOTDIR)/firmware/target/hosted/ibasso/android_ndk.make |
155 | else | 161 | else |