Skip to content

Commit

Permalink
Add btn1 to easyiot zigbee_router
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerivec committed Nov 21, 2024
1 parent 37b4113 commit d5b2b94
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions manifests/easyiot/easyiot_zb-gw04-1v1_zigbee_router.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions manifests/easyiot/easyiot_zb-gw04-1v2_zigbee_router.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d5b2b94

Please sign in to comment.