Skip to content

Commit

Permalink
Build openthread for Xiaomi gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
darkxst committed Feb 20, 2025
1 parent 70016e4 commit 269931a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions manifests/xiaomi/lumi-gateway-mgl001_opentread_rcp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Xiaomi Multimode Gateway 2 Openthread RCP
device: EFR32MG21A020F512IM32
base_project: src/openthread_rcp
filename: "{manifest_name}_{ot_rcp_version.split('/')[-1]}_gsdk_{sdk_version}_{baudrate}"
sdk: "simplicity_sdk:2024.6.2"
toolchain: "12.2.1.20221205"

gbl:
fw_type: openthread_rcp
ot_rcp_version: dynamic
baudrate: 460800

c_defines:
SL_UARTDRV_USART_VCOM_PERIPHERAL: USART0
SL_UARTDRV_USART_VCOM_PERIPHERAL_NO: 0
SL_UARTDRV_USART_VCOM_BAUDRATE: 460800

SL_UARTDRV_USART_VCOM_TX_PORT: gpioPortB
SL_UARTDRV_USART_VCOM_TX_PIN: 1

SL_UARTDRV_USART_VCOM_RX_PORT: gpioPortB
SL_UARTDRV_USART_VCOM_RX_PIN: 0

SL_UARTDRV_USART_VCOM_CTS_PORT: gpioPortC
SL_UARTDRV_USART_VCOM_CTS_PIN: 1

SL_UARTDRV_USART_VCOM_RTS_PORT: gpioPortC
SL_UARTDRV_USART_VCOM_RTS_PIN: 0

SL_CLOCK_MANAGER_HFXO_EN: 1
SL_CLOCK_MANAGER_HFXO_CTUNE: 140
SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE: SL_CLOCK_MANAGER_DEFAULT_HF_CLOCK_SOURCE_HFXO

2 changes: 1 addition & 1 deletion manifests/xiaomi/lumi-gateway-mgl001_zigbee_ncp.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Xiaomi Multimode Gateway 2
name: Xiaomi Multimode Gateway 2 Zigbee
device: EFR32MG21A020F512IM32
base_project: src/zigbee_ncp
filename: "{manifest_name}_{ezsp_version}_{baudrate}"
Expand Down

0 comments on commit 269931a

Please sign in to comment.