From a744e75d4166b9aa41147b7ea739cbba0280367c Mon Sep 17 00:00:00 2001 From: Dozingfiretruck <1473454180@qq.com> Date: Thu, 19 Dec 2024 16:07:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=9E=8B=E5=8F=B7cjson=E7=BC=96=E8=AF=91=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/example_cjson/xmake.lua | 2 +- project/example_gpio_http_json/xmake.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/project/example_cjson/xmake.lua b/project/example_cjson/xmake.lua index 02386ea5..abdf5806 100644 --- a/project/example_cjson/xmake.lua +++ b/project/example_cjson/xmake.lua @@ -17,7 +17,7 @@ target(project_name,function() local chip_target = get_config("chip_target") -- cjson - if chip_target ~= "ec718pv" and chip_target ~= "ec718u" then + if chip_target ~= "ec718pv" and chip_target ~= "ec718u" and chip_target ~= "ec718um" and chip_target ~= "ec718hm" and chip_target ~= "ec718pm" then add_includedirs(luatos_root .. "/components/cjson") add_files(luatos_root.."/components/cjson/*.c") end diff --git a/project/example_gpio_http_json/xmake.lua b/project/example_gpio_http_json/xmake.lua index 4a027ab7..66251a0d 100644 --- a/project/example_gpio_http_json/xmake.lua +++ b/project/example_gpio_http_json/xmake.lua @@ -24,7 +24,8 @@ target(project_name,function() remove_files(luatos_root.."/components/network/libhttp/luat_lib_http.c") add_files(luatos_root.."/components/network/http_parser/*.c") -- cjson - if chip_target ~= "ec718pv" and chip_target ~= "ec718u" then + + if chip_target ~= "ec718pv" and chip_target ~= "ec718u" and chip_target ~= "ec718um" and chip_target ~= "ec718hm" and chip_target ~= "ec718pm" then add_includedirs(luatos_root .. "/components/cjson") add_files(luatos_root.."/components/cjson/*.c") end