Skip to content

Commit

Permalink
fix:718m comdb.txt选择错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozingfiretruck committed Dec 9, 2024
1 parent 9ae810a commit d539c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ target(project_name..".elf",function()
os.cp("$(buildir)/"..project_name.."/*.map", out_path)
os.cp("$(buildir)/"..project_name.."/*.elf", out_path)

if chip_target=="ec718u" or chip_target=="ec718um" or chip_target == "ec718hm" or chip_target == "ec718pm" and target:values("lib_ps_plat")=="ims" then
if (chip_target=="ec718u" or chip_target=="ec718um" or chip_target == "ec718hm" or chip_target == "ec718pm") and target:values("lib_ps_plat")=="ims" then
os.cp(csdk_root .. "/PLAT/tools/"..(chip_target)..("-ims").."/comdb.txt", out_path)
else
os.cp(csdk_root .. "/PLAT/tools/"..(chip_target=="ec718e"and"ec718p"or chip_target)..(target:values("lib_ps_plat")=="mid"and"-mid"or"").."/comdb.txt", out_path)
Expand Down

0 comments on commit d539c4b

Please sign in to comment.