Skip to content

Commit

Permalink
Merge pull request #58 from darkxst/4.4.1
Browse files Browse the repository at this point in the history
Builds for Gecko 4.4.1
  • Loading branch information
darkxst authored Feb 27, 2024
2 parents 6ce4f0c + 07e70cf commit b4e1fee
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Silabs Firmware Builder",
"image": "ghcr.io/darkxst/silabs-firmware-builder:4.4.0",
"image": "ghcr.io/darkxst/silabs-firmware-builder:4.4.1",

"containerEnv": {
"GECKO_SDK_VERSION": "v4.4.0"
"GECKO_SDK_VERSION": "v4.4.1"
}
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
workflow_dispatch:

env:
sdk_version: 4.4.0
sdk_version: 4.4.1

jobs:
build-container:
Expand All @@ -26,8 +26,8 @@ jobs:
packages: write
outputs:
sdk_version: ${{ env.sdk_version }}
ot_version: 2.4.0.0
ezsp_version: 7.4.0.0
ot_version: 2.4.1.0
ezsp_version: 7.4.1.0
steps:
- uses: actions/[email protected]
- name: Log in to the GitHub container registry
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
sdk_version: ${{ needs.build-container.outputs.sdk_version}}
metadata_fw_type: "ot-rcp"
baudrate: ${{ matrix.baudrate }}
metadata_extra: "{ \"ot_rcp_version\": \"SL-OPENTHREAD/2.4.0.0_GitHub-7074a43e4\" }"
metadata_extra: "{ \"ot_rcp_version\": \"SL-OPENTHREAD/2.4.1.0_GitHub-7074a43e4\" }"

collect_artifacts:
name: download and publish all artifacts
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN \

ENV PATH="$PATH:/opt/arm-gnu-toolchain-${GCC_ARM_VERSION}-x86_64-arm-none-eabi/bin"

ARG GECKO_SDK_VERSION="v4.4.0"
ARG GECKO_SDK_VERSION="v4.4.1"

RUN \
git clone --depth 1 -b ${GECKO_SDK_VERSION} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
-// #define SL_IOSTREAM_USART_VCOM_CTS_PIN 12
+// USART0 CTS on PD03
+#define SL_IOSTREAM_USART_VCOM_CTS_PORT gpioPortB
+#define SL_IOSTREAM_USART_VCOM_CTS_PIN 1
+#define SL_IOSTREAM_USART_VCOM_CTS_PIN 0

-// #define SL_IOSTREAM_USART_VCOM_RTS_PORT gpioPortC
-// #define SL_IOSTREAM_USART_VCOM_RTS_PIN 8
+// USART0 RTS on PD04
+#define SL_IOSTREAM_USART_VCOM_RTS_PORT gpioPortB
+#define SL_IOSTREAM_USART_VCOM_RTS_PIN 0
+#define SL_IOSTREAM_USART_VCOM_RTS_PIN 1
// [USART_SL_IOSTREAM_USART_VCOM]$
// <<< sl:end pin_tool >>>

Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
-// #define SL_UARTDRV_USART_VCOM_CTS_PORT gpioPortA
-// #define SL_UARTDRV_USART_VCOM_CTS_PIN 2
+#define SL_UARTDRV_USART_VCOM_CTS_PORT gpioPortB
+#define SL_UARTDRV_USART_VCOM_CTS_PIN 1
+#define SL_UARTDRV_USART_VCOM_CTS_PIN 0

-// #define SL_UARTDRV_USART_VCOM_RTS_PORT gpioPortA
-// #define SL_UARTDRV_USART_VCOM_RTS_PIN 3
+#define SL_UARTDRV_USART_VCOM_RTS_PORT gpioPortB
+#define SL_UARTDRV_USART_VCOM_RTS_PIN 0
+#define SL_UARTDRV_USART_VCOM_RTS_PIN 1
// [USART_SL_UARTDRV_USART_VCOM]$
// <<< sl:end pin_tool >>>

Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ index dbce4ed..816402f 100644
+#define SL_CPC_DRV_UART_VCOM_RX_PIN 5
+
+#define SL_CPC_DRV_UART_VCOM_CTS_PORT gpioPortB
+#define SL_CPC_DRV_UART_VCOM_CTS_PIN 1
+#define SL_CPC_DRV_UART_VCOM_CTS_PIN 0
+
+#define SL_CPC_DRV_UART_VCOM_RTS_PORT gpioPortB
+#define SL_CPC_DRV_UART_VCOM_RTS_PIN 0
+#define SL_CPC_DRV_UART_VCOM_RTS_PIN 1
// [USART_SL_CPC_DRV_UART_VCOM]$
// <<< sl:end pin_tool >>>

Expand Down
8 changes: 7 additions & 1 deletion manifests/slzb-07.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"name": "SLZB-07",
"target": "slzb-07",
"device": "EFR32MG21A020F768IM32"
"device": "EFR32MG21A020F768IM32",
"ncp-uart-hw": {
"configuration": {
"EMBER_APS_UNICAST_MESSAGE_COUNT":32,
"EMBER_PACKET_BUFFER_COUNT":255
}
}
}

0 comments on commit b4e1fee

Please sign in to comment.