Skip to content

Commit

Permalink
fix:4MB FLASH的luatos不应该加载vsim
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed Dec 5, 2024
1 parent 8dfa266 commit 5d21201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/luatos/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ target(project_name,function()
add_linkgroups("mm_common","mm_jpeg","mm_videoutil",{whole = true,public = true})
end
add_linkgroups("apn",{whole = true,public = true})
if os.isfile(csdk_root.."/lib/libtgt_app_service.a") and (chip_target == "ec718u" or chip_target == "ec718um" or chip_target == "ec718hm" or chip_target == "ec718pm") and has_config("lspd_mode") then
if os.isfile(csdk_root.."/lib/libtgt_app_service.a") and (chip_target == "ec718u" or chip_target == "ec718um" or chip_target == "ec718hm") and has_config("lspd_mode") then
--加入代码和头文件
add_linkgroups("tgt_app_service", {whole = true,public = true})
add_defines("LUAT_USE_VSIM",{public = true})
Expand Down

0 comments on commit 5d21201

Please sign in to comment.