Skip to content

Commit

Permalink
Configure project to use build system
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Jun 20, 2024
1 parent 257d847 commit 1a2763f
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 84 deletions.

This file was deleted.

14 changes: 0 additions & 14 deletions manifests/nabucasa/slusb001a_zwave_ncp_serial_api_controller.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Silicon Labs UZB-7 (SLUSB001A), +14 dBm, Z-Wave Long Range
device: EFR32ZG14P231F256GM32
name: ZGM230-DK2603A
device: ZGM230SB27HGN
base_project: src/zwave_ncp_serial_api_controller

gbl:
Expand All @@ -10,5 +10,16 @@ gbl:
sign_key: "{SDK_DIR}/protocol/z-wave/platform/SiliconLabs/PAL/BootLoader/controller-keys/controller_sign.key"
encrypt_key: "{SDK_DIR}/protocol/z-wave/platform/SiliconLabs/PAL/BootLoader/controller-keys/controller_encrypt.key"

add_components:
- id: brd4206a
c_defines:
ZAF_CONFIG_MANUFACTURER_ID: "0x0466"
ZAF_CONFIG_PRODUCT_TYPE_ID: "0x0001"
ZAF_CONFIG_PRODUCT_ID: "0x0001"

SERIAL_API_PERIPHERAL: USART0
SERIAL_API_PERIPHERAL_NO: 0

SERIAL_API_TX_PORT: gpioPortA
SERIAL_API_TX_PIN: 8

SERIAL_API_RX_PORT: gpioPortA
SERIAL_API_RX_PIN: 9
68 changes: 35 additions & 33 deletions src/zwave_ncp_serial_api_controller/.cproject

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/zwave_ncp_serial_api_controller/gbl_metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
baudrate: 115200
dynamic: [zwave_version]
fw_type: z-wave
compression: lz4
sign_key: "{SDK_DIR}/protocol/z-wave/platform/SiliconLabs/PAL/BootLoader/controller-keys/controller_sign.key"
encrypt_key: "{SDK_DIR}/protocol/z-wave/platform/SiliconLabs/PAL/BootLoader/controller-keys/controller_encrypt.key"
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,3 @@ configuration:
ui_hints:
highlight:
- {path: README.md, focus: true}
post_build: {path: zwave_ncp_serial_api_controller.slpb, profile: zwave_ncp_serial_api_controller}

This file was deleted.

6 changes: 3 additions & 3 deletions tools/create_gbl.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ def main():

if "zwave_version" in gbl_dynamic:
gbl_dynamic.remove("zwave_version")
zwave_esf_props = parse_properties_file(
(gsdk_path / "protocol/z-wave/esf.properties").read_text()
zwave_props = parse_properties_file(
next((gsdk_path / "protocol/z-wave/").glob("*.properties")).read_text()
)
metadata["zwave_version"] = zwave_esf_props["version"][0]
metadata["zwave_version"] = zwave_props["version"][0]

if "ot_rcp_version" in gbl_dynamic:
gbl_dynamic.remove("ot_rcp_version")
Expand Down

0 comments on commit 1a2763f

Please sign in to comment.