From d5b2b949eebff897db5c6853c410750af016d5b3 Mon Sep 17 00:00:00 2001 From: Nerivec <62446222+Nerivec@users.noreply.github.com> Date: Thu, 21 Nov 2024 04:12:54 +0100 Subject: [PATCH] Add btn1 to easyiot zigbee_router --- .../easyiot/easyiot_zb-gw04-1v1_zigbee_router.yaml | 10 ++++++++++ .../easyiot/easyiot_zb-gw04-1v2_zigbee_router.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/manifests/easyiot/easyiot_zb-gw04-1v1_zigbee_router.yaml b/manifests/easyiot/easyiot_zb-gw04-1v1_zigbee_router.yaml index fd8bf73a..9134e166 100644 --- a/manifests/easyiot/easyiot_zb-gw04-1v1_zigbee_router.yaml +++ b/manifests/easyiot/easyiot_zb-gw04-1v1_zigbee_router.yaml @@ -11,6 +11,12 @@ gbl: baudrate: 115200 fw_variant: sw_flow +add_components: + # BOOT + - id: simple_button + instance: + - btn1 + slcp_defines: SL_ZIGBEE_ADDRESS_TABLE_SIZE: 32 SL_ZIGBEE_MULTICAST_TABLE_SIZE: 26 @@ -38,6 +44,10 @@ c_defines: SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE: 64 + SL_SIMPLE_BUTTON_BTN1_MODE: SL_SIMPLE_BUTTON_MODE_INTERRUPT + SL_SIMPLE_BUTTON_BTN1_PORT: gpioPortA + SL_SIMPLE_BUTTON_BTN1_PIN: 0 + SL_CLOCK_MANAGER_HFXO_EN: 1 SL_CLOCK_MANAGER_HFXO_CTUNE: 128 SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO diff --git a/manifests/easyiot/easyiot_zb-gw04-1v2_zigbee_router.yaml b/manifests/easyiot/easyiot_zb-gw04-1v2_zigbee_router.yaml index d4e94db1..e8431914 100644 --- a/manifests/easyiot/easyiot_zb-gw04-1v2_zigbee_router.yaml +++ b/manifests/easyiot/easyiot_zb-gw04-1v2_zigbee_router.yaml @@ -11,6 +11,12 @@ gbl: baudrate: 115200 fw_variant: sw_flow +add_components: + # BOOT + - id: simple_button + instance: + - btn1 + slcp_defines: SL_ZIGBEE_ADDRESS_TABLE_SIZE: 32 SL_ZIGBEE_MULTICAST_TABLE_SIZE: 26 @@ -38,6 +44,10 @@ c_defines: SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE: 64 + SL_SIMPLE_BUTTON_BTN1_MODE: SL_SIMPLE_BUTTON_MODE_INTERRUPT + SL_SIMPLE_BUTTON_BTN1_PORT: gpioPortA + SL_SIMPLE_BUTTON_BTN1_PIN: 0 + SL_CLOCK_MANAGER_HFXO_EN: 1 SL_CLOCK_MANAGER_HFXO_CTUNE: 128 SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO