|
@@ -232,7 +232,7 @@ target("air10x")
|
|
|
if LVGL_CONF then target:add("deps", "lvgl") end
|
|
if LVGL_CONF then target:add("deps", "lvgl") end
|
|
|
target:add("deps", "miniz")
|
|
target:add("deps", "miniz")
|
|
|
local custom_data = io.readfile("$(projectdir)/app/port/luat_conf_bsp.h")
|
|
local custom_data = io.readfile("$(projectdir)/app/port/luat_conf_bsp.h")
|
|
|
- local TARGET_CONF = custom_data:find("#define AIR101")
|
|
|
|
|
|
|
+ local TARGET_CONF = custom_data:find("\r#define AIR101") or custom_data:find("\n#define AIR101")
|
|
|
if TARGET_CONF == nil then TARGET_NAME = "AIR103" else TARGET_NAME = "AIR101" end
|
|
if TARGET_CONF == nil then TARGET_NAME = "AIR103" else TARGET_NAME = "AIR101" end
|
|
|
local FDB_CONF = conf_data:find("\r#define LUAT_USE_FDB") or conf_data:find("\n#define LUAT_USE_FDB")
|
|
local FDB_CONF = conf_data:find("\r#define LUAT_USE_FDB") or conf_data:find("\n#define LUAT_USE_FDB")
|
|
|
|
|
|