Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Zigbee Router images #25

Merged
merged 4 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 52 additions & 6 deletions .github/workflows/app-btl-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
- name_suffix: sed
image_id_subtype: 0
without: >-
debug_swo
debug_swo,
zigbee_debug_basic,
zigbee_debug_extended
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_SLEEPY_END_DEVICE,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
Expand All @@ -78,16 +80,35 @@ jobs:
- name_suffix: end-device
image_id_subtype: 1
without: >-
debug_swo
debug_swo,
zigbee_debug_basic,
zigbee_debug_extended
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_END_DEVICE,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,

- name_suffix: router
image_id_subtype: 2
with: >-
zigbee_pro_router_stack
without: >-
debug_swo,
zigbee_debug_basic,
zigbee_debug_extended,
zigbee_pro_leaf_stack
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_ROUTER,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT:0

- name_suffix: debug
image_id_subtype: 7
with: >-
zigbee_debug_extended
configuration: >-
SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION:1

Expand All @@ -98,7 +119,9 @@ jobs:
model: MLight${{ inputs.flavor != '' && format('-{0}', inputs.flavor) || '' }}
project_name: MLight-${{ inputs.flavor }}-${{ matrix.name_suffix }}
device: ${{ inputs.device }}
components: ${{ inputs.components }}
components: >-
${{ inputs.components }}
${{ matrix.with != '' && format(', {0}', matrix.with) || '' }}
configuration: >-
${{ inputs.configuration != '' && format('{0},', inputs.configuration) || '' }}
${{ matrix.configuration != '' && format('{0},', matrix.configuration) || '' }}
Expand All @@ -123,7 +146,9 @@ jobs:
- name_suffix: sed
image_id_subtype: 0
without: >-
debug_swo
debug_swo,
zigbee_debug_basic,
zigbee_debug_extended
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_SLEEPY_END_DEVICE,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
Expand All @@ -134,16 +159,35 @@ jobs:
- name_suffix: end-device
image_id_subtype: 1
without: >-
debug_swo
debug_swo,
zigbee_debug_basic,
zigbee_debug_extended
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_END_DEVICE,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT:0

- name_suffix: router
image_id_subtype: 2
with: >-
zigbee_pro_router_stack
without: >-
debug_swo,
zigbee_debug_basic,
zigbee_debug_extended,
zigbee_pro_leaf_stack
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_ROUTER,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,

- name_suffix: debug
image_id_subtype: 7
with: >-
zigbee_debug_extended
configuration: >-
SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION:1

Expand All @@ -154,7 +198,9 @@ jobs:
model: MLight${{ inputs.flavor != '' && format('-{0}', inputs.flavor) || '' }}
project_name: MLight-${{ inputs.flavor }}-${{ matrix.name_suffix }}
device: ${{ inputs.device }}
components: ${{ inputs.components }}
components: >-
${{ inputs.components }}
${{ matrix.with != '' && format(', {0}', matrix.with) || '' }}
configuration: >-
${{ inputs.configuration != '' && format('{0},', inputs.configuration) || '' }}
${{ matrix.configuration != '' && format('{0},', matrix.configuration) || '' }}
Expand Down
15 changes: 14 additions & 1 deletion MLight/MLight.slcp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ component:
- rgb_led0
- id: iostream_recommended_stream
- id: zigbee_debug_print
- id: zigbee_debug_extended
- id: zigbee_r23_support
- id: zigbee_pro_leaf_stack
- id: zigbee_end_device_support
condition: [ zigbee_pro_leaf_stack ]
- id: zigbee_source_route
- id: bluetooth_stack
- id: gatt_configuration
Expand Down Expand Up @@ -65,7 +69,6 @@ component:
- id: zigbee_zll_scenes_server
- id: zigbee_basic
- id: zigbee_scan_dispatch
- id: zigbee_end_device_support
- id: zigbee_ble_event_handler
- id: zigbee_ble_dmp_cli
- id: zigbee_application_bootloader
Expand All @@ -92,6 +95,16 @@ configuration:
value: 16
- name: SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE
value: SLI_ZIGBEE_NETWORK_DEVICE_TYPE_SLEEPY_END_DEVICE
condition: [ zigbee_pro_leaf_stack ]
- name: SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE
value: SLI_ZIGBEE_NETWORK_DEVICE_TYPE_ROUTER
condition: [ zigbee_pro_router_stack ]
- name: EMBER_SOURCE_ROUTE_TABLE_SIZE
value: 16
condition: [ zigbee_pro_router_stack ]
- name: EMBER_MAX_END_DEVICE_CHILDREN
value: 12
condition: [ zigbee_pro_router_stack ]
- name: SLI_ZIGBEE_PRIMARY_NETWORK_SECURITY_TYPE
value: SLI_ZIGBEE_NETWORK_SECURITY_TYPE_3_0
- name: SL_ZIGBEE_APP_FRAMEWORK_BACKOFF_SLEEP_MS
Expand Down
Loading