Skip to content

Commit

Permalink
Clean up Zigbee firmware config
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Sep 26, 2024
1 parent dd20b54 commit 67f191a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
16 changes: 7 additions & 9 deletions manifests/nabucasa/skyconnect_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,20 @@ gbl:
baudrate: 115200

configuration:
SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200
SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts

SL_CLI_MAX_INPUT_ARGUMENTS: 16
EMBER_AF_PLUGIN_ZIGBEE_PRO_STACK_CHILD_TABLE_SIZE: 32
EMBER_CHILD_TABLE_SIZE: 32

c_defines:
EMBER_APS_UNICAST_MESSAGE_COUNT: 32
EMBER_BINDING_TABLE_SIZE: 32
EMBER_BROADCAST_TABLE_SIZE: 64
EMBER_KEY_TABLE_SIZE: 12
EMBER_MAX_END_DEVICE_CHILDREN: 32
EMBER_PACKET_BUFFER_COUNT: 255
EMBER_KEY_TABLE_SIZE: 12

EMBER_APS_UNICAST_MESSAGE_COUNT: 32
EMBER_BROADCAST_TABLE_SIZE: 64
EMBER_SOURCE_ROUTE_TABLE_SIZE: 200

SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200
SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts

SL_IOSTREAM_USART_VCOM_PERIPHERAL: USART0
SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO: 0

Expand Down
18 changes: 8 additions & 10 deletions manifests/nabucasa/yellow_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,21 @@ add_components:
instance: [board_activity]

configuration:
SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200
SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts

SL_CLI_MAX_INPUT_ARGUMENTS: 16
EMBER_AF_PLUGIN_ZIGBEE_PRO_STACK_CHILD_TABLE_SIZE: 32
EMBER_CHILD_TABLE_SIZE: 32

c_defines:
EMBER_APS_UNICAST_MESSAGE_COUNT: 32
EMBER_BINDING_TABLE_SIZE: 32
EMBER_BROADCAST_TABLE_SIZE: 64
EMBER_KEY_TABLE_SIZE: 12
EMBER_MAX_END_DEVICE_CHILDREN: 32
EMBER_PACKET_BUFFER_COUNT: 255
EMBER_KEY_TABLE_SIZE: 12

EMBER_APS_UNICAST_MESSAGE_COUNT: 32
EMBER_BROADCAST_TABLE_SIZE: 64
EMBER_SOURCE_ROUTE_TABLE_SIZE: 200

SL_IOSTREAM_USART_VCOM_PERIPHERAL: USART0
SL_IOSTREAM_USART_VCOM_BAUDRATE: 115200
SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE: usartHwFlowControlCtsAndRts

SL_IOSTREAM_USART_VCOM_PERIPHERAL: USART0
SL_IOSTREAM_USART_VCOM_PERIPHERAL_NO: 0

SL_IOSTREAM_USART_VCOM_TX_PORT: gpioPortA
Expand Down
6 changes: 6 additions & 0 deletions src/zigbee_ncp/zigbee_ncp.slcp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ component:
- id: zigbee_debug_basic
- id: zigbee_debug_extended

define:
- name: EMBER_CUSTOM_MAC_FILTER_TABLE_SIZE
value: 15

configuration:
- name: SL_CLI_MAX_INPUT_ARGUMENTS
value: 16
- name: SL_BOARD_ENABLE_VCOM
value: 1
- name: SL_IOSTREAM_USART_VCOM_FLOW_CONTROL_TYPE
Expand Down
1 change: 0 additions & 1 deletion tools/build_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ def main():
"--project-file", base_project_slcp.resolve(),
"--export-destination", args.build_dir.resolve(),
"--copy-proj-sources",
"--copy-sdk-sources",
"--new-project",
"--toolchain", "toolchain_gcc",
"--sdk", sdk,
Expand Down

0 comments on commit 67f191a

Please sign in to comment.