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