File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -37,4 +37,39 @@ FRAMEWORK_SDK_DIR = env.PioPlatform().get_package_dir(
37
37
38
38
board_config = env.BoardConfig()
39
39
40
+ flatten_cppdefines = env.Flatten(env['CPPDEFINES'])
41
+
42
+ #
43
+ # zigbee libs
44
+ #
45
+ if "ZIGBEE_MODE_ZCZR" in flatten_cppdefines:
46
+ env.Append(
47
+ LIBS=[
48
+ "-lesp_zb_api_zczr",
49
+ "-lesp_zb_cli_command",
50
+ "-lzboss_stack.zczr.trace",
51
+ "-lzboss_stack.zczr",
52
+ "-lzboss_port"
53
+ ]
54
+ )
55
+ if "ZIGBEE_MODE_ED" in flatten_cppdefines:
56
+ env.Append(
57
+ LIBS=[
58
+ "-lesp_zb_api_ed",
59
+ "-lesp_zb_cli_command",
60
+ "-lzboss_stack.ed.trace",
61
+ "-lzboss_stack.ed",
62
+ "-lzboss_port"
63
+ ]
64
+ )
65
+ if "ZIGBEE_MODE_RCP" in flatten_cppdefines:
66
+ env.Append(
67
+ LIBS=[
68
+ "-lesp_zb_api_rcp",
69
+ "-lesp_zb_cli_command",
70
+ "-lzboss_stack.rcp",
71
+ "-lzboss_port"
72
+ ]
73
+ )
74
+
40
75
env.Append(
You can’t perform that action at this time.
0 commit comments