@@ -6,16 +6,16 @@ config TARGET_FILE
66mainmenu "Chip and Board Configuration"
77
88#
9- # 厂商选择
9+ # 芯片厂商选择
1010#
1111choice
1212 prompt "Select Vendor"
13- default VENDOR_NXP
13+ default VENDOR_QEMU
1414
15- config VENDOR_NXP
16- bool "NXP"
17- help
18- Select NXP vendor.
15+ # config VENDOR_NXP
16+ # bool "NXP"
17+ # help
18+ # Select NXP vendor.
1919
2020config VENDOR_ROCKCHIP
2121 bool "Rockchip"
@@ -27,10 +27,10 @@ config VENDOR_QEMU
2727 help
2828 Select QEMU vendor.
2929
30- config VENDOR_CVITEK
31- bool "Cvitek"
32- help
33- Select Cvitek vendor.
30+ # config VENDOR_CVITEK
31+ # bool "Cvitek"
32+ # help
33+ # Select Cvitek vendor.
3434
3535endchoice
3636
@@ -60,7 +60,7 @@ if VENDOR_NXP
6060 endchoice
6161
6262 #
63- # 根据选择的芯片配置开发板
63+ # 根据选择的芯片配置开发板厂商
6464 #
6565 if CHIP_MODEL_IMX
6666 choice
@@ -133,29 +133,41 @@ endif
133133# 如果选择了 Rockchip,配置相应芯片和开发板
134134#
135135if VENDOR_ROCKCHIP
136- choice
137- prompt "Select Chip Model for Rockchip"
138- default CHIP_MODEL_RK3500
139-
140- config CHIP_MODEL_RK3500
141- bool "RK3500 Chip"
136+ menu "RKxx soc"
137+ config CHIP_MODEL_RK3568
138+ bool "RK3568 Chip"
139+ default y
142140 help
143- Select RK3500 chip.
141+ Select RK3568 series chips.
142+ endmenu
143+ #
144+ # 根据 RK3568 芯片选择开发板
145+ #
146+ if CHIP_MODEL_RK3568
147+ menu "FriendlyARM Company"
144148
145- endchoice
149+ config COMPANY_FRIENDLY
150+ bool "FriendlyARM Company"
151+ default y
152+ help
153+ Select FriendlyARM Company for RK3568.
146154
147- choice
148- prompt "Select Development Board for RK3500"
149- default BOARD_RK3500
155+ if COMPANY_FRIENDLY
156+ menu "NanoPi Series"
150157
151- config BOARD_RK3500
152- bool "RK3500 Development Board"
153- help
154- Select RK3500 development board.
158+ config BOARD_NANOPI_R5S
159+ bool "NanoPi R5S Board"
160+ help
161+ Select NanoPi R5S board for RK3568 .
155162
156- endchoice
163+ endmenu
164+ endif
165+
166+ endmenu
167+ endif
157168endif
158169
170+
159171#
160172# 如果选择了 QEMU,配置相应的开发板
161173#
@@ -177,17 +189,88 @@ if VENDOR_QEMU
177189 endchoice
178190endif
179191
192+ #
193+ # 可选内核来源,如果本地有rt-thread仓库,可以指定本地目录,xmake编译过程中将不会再次拉取rt-thread仓库
194+ #
195+ menu "Kernel Configuration"
196+
197+ choice KERNEL_SOURCE
198+ prompt "Select Kernel Source"
199+ help
200+ Choose how to provide the kernel source.
201+ default KERNEL_SOURCE_GIT
202+
203+ config KERNEL_SOURCE_GIT
204+ bool "Fetch from Git repository"
205+ help
206+ Fetch the kernel source from a Git repository.
207+
208+ config KERNEL_SOURCE_LOCAL
209+ bool "Use a local directory"
210+ help
211+ Use an existing kernel source directory on the local file system.
212+
213+ endchoice
214+
215+ config KERNEL_LOCAL_DIR
216+ string "Local Kernel Directory"
217+ default "/home/rtthread/rt-thread/"
218+ depends on KERNEL_SOURCE_LOCAL
219+ help
220+ Specify the path to the local kernel source directory. This option
221+ is only available if "Use a local directory" is selected above.
222+
223+ endmenu
224+
225+
226+ #
227+ # 可选交叉编译工具链来源,如果本地有toolchain,可以指定本地目录,xmake编译过程中将不会再次拉取交叉编译工具链
228+ #
229+ #menu "toolchain Configuration"
230+ #
231+ #choice TOOLCHAIN_SOURCE
232+ # prompt "Select toolchain Source"
233+ # help
234+ # Choose how to provide the toolchain source.
235+ # default TOOLCHAIN_SOURCE_GIT
236+ #
237+ #config TOOLCHAIN_SOURCE_GIT
238+ # bool "Fetch from Git repository"
239+ # help
240+ # Fetch the TOOLCHAIN source from a Git repository.
241+ #
242+ #config TOOLCHAIN_SOURCE_LOCAL
243+ # bool "Use a local directory"
244+ # help
245+ # Use an existing toolchain source directory on the local file system.
246+ #
247+ #endchoice
248+ #
249+ #config TOOLCHAIN_LOCAL_DIR
250+ # string "Local toolchain Directory"
251+ # default "/home/rtthread/tool/a/aarch64-smart-musleabi/"
252+ # depends on TOOLCHAIN_SOURCE_LOCAL
253+ # help
254+ # Specify the path to the local toolchain source directory. This option
255+ # is only available if "Use a local directory" is selected above.
256+ #
257+ #endmenu
180258
181259#
182260# 选择开发板后,配置您想使用的 app
183261#
184- menu "Application Configuration "
262+ menu "Selection the desired apps Application "
185263
186264config APP_BUSYBOX
187265 bool "busybox"
188266 help
189267 Select busybox application.
190268
269+ config FORCE_APP_BUSYBOX
270+ bool
271+ default y
272+ select APP_BUSYBOX
273+
191274config APP_CPP
192275 bool "cpp"
193276 help
0 commit comments