Skip to content

Commit

Permalink
Clean up OpenThread configs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Sep 26, 2024
1 parent 67f191a commit 057df8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
7 changes: 1 addition & 6 deletions manifests/nabucasa/skyconnect_openthread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@ gbl:
dynamic: ["ot_rcp_version"]
baudrate: 460800

configuration:
SL_UARTDRV_USART_VCOM_BAUDRATE: 460800

slcp_defines:
OPENTHREAD_CONFIG_DEFAULT_TRANSMIT_POWER: 6

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: gpioPortA
SL_UARTDRV_USART_VCOM_TX_PIN: 6
Expand Down
7 changes: 1 addition & 6 deletions manifests/nabucasa/yellow_openthread_rcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,10 @@ add_components:
- id: simple_led
instance: [board_activity]

configuration:
SL_UARTDRV_USART_VCOM_BAUDRATE: 460800

slcp_defines:
OPENTHREAD_CONFIG_DEFAULT_TRANSMIT_POWER: 6

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: gpioPortA
SL_UARTDRV_USART_VCOM_TX_PIN: 5
Expand Down
4 changes: 4 additions & 0 deletions src/openthread_rcp/openthread_rcp.slcp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ source:
- path: main.c
- path: app.c

define:
- name: OPENTHREAD_CONFIG_DEFAULT_TRANSMIT_POWER
value: 6

configuration:
- name: SL_BOARD_ENABLE_VCOM
value: 1
Expand Down

0 comments on commit 057df8e

Please sign in to comment.