Skip to content

Commit e6f4fff

Browse files
authored
Update pio_start.txt
1 parent c36346e commit e6f4fff

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

configs/pio_start.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,39 @@ FRAMEWORK_SDK_DIR = join(FRAMEWORK_DIR, "tools", "esp32-arduino-libs")
3535

3636
board_config = env.BoardConfig()
3737

38+
flatten_cppdefines = env.Flatten(env['CPPDEFINES'])
39+
40+
#
41+
# zigbee libs
42+
#
43+
if "ZIGBEE_MODE_ZCZR" in flatten_cppdefines:
44+
env.Append(
45+
LIBS=[
46+
"-lesp_zb_api_zczr",
47+
"-lesp_zb_cli_command",
48+
"-lzboss_stack.zczr.trace",
49+
"-lzboss_stack.zczr",
50+
"-lzboss_port"
51+
]
52+
)
53+
if "ZIGBEE_MODE_ED" in flatten_cppdefines:
54+
env.Append(
55+
LIBS=[
56+
"-lesp_zb_api_ed",
57+
"-lesp_zb_cli_command",
58+
"-lzboss_stack.ed.trace",
59+
"-lzboss_stack.ed",
60+
"-lzboss_port"
61+
]
62+
)
63+
if "ZIGBEE_MODE_RCP" in flatten_cppdefines:
64+
env.Append(
65+
LIBS=[
66+
"-lesp_zb_api_rcp",
67+
"-lesp_zb_cli_command",
68+
"-lzboss_stack.rcp",
69+
"-lzboss_port"
70+
]
71+
)
72+
3873
env.Append(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy