Skip to content

Commit cca4da4

Browse files
samples: matter: Define device product name for each sample
Each sample now contains appropriate product name in the prj.conf file. It can be used to indicate the sample type after flashing. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent 62b7a47 commit cca4da4

File tree

24 files changed

+24
-0
lines changed

24 files changed

+24
-0
lines changed

applications/matter_bridge/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Enable CHIP
1212
CONFIG_CHIP=y
1313
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
14+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Bridge"
1415

1516
# Configure ZAP file name
1617
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/bridge.zap"

applications/matter_bridge/prj_release.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Enable CHIP
1212
CONFIG_CHIP=y
1313
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
14+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Bridge"
1415

1516
# Configure ZAP file name
1617
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/bridge.zap"

applications/matter_weather_station/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Enable CHIP
1212
CONFIG_CHIP=y
1313
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
14+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Weather Station"
1415

1516
# Configure ZAP file name
1617
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/weather-station.zap"

applications/matter_weather_station/prj_release.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Enable CHIP
1212
CONFIG_CHIP=y
1313
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
14+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Weather Station"
1415

1516
# Configure ZAP file name
1617
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/weather-station.zap"

samples/matter/contact_sensor/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Enable CHIP
88
CONFIG_CHIP=y
99
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
10+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Contact Sensor"
1011

1112
# Configure ZAP file name
1213
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/contact_sensor.zap"

samples/matter/contact_sensor/prj_release.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Enable CHIP
88
CONFIG_CHIP=y
99
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
10+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Contact Sensor"
1011

1112
# Configure ZAP file name
1213
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/contact_sensor.zap"

samples/matter/light_bulb/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Enable CHIP
88
CONFIG_CHIP=y
99
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
10+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Light Bulb"
1011

1112
# Configure ZAP file name
1213
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/light_bulb.zap"

samples/matter/light_bulb/prj_release.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Enable CHIP
88
CONFIG_CHIP=y
99
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
10+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Light Bulb"
1011

1112
# Configure ZAP file name
1213
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/light_bulb.zap"

samples/matter/light_switch/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Enable CHIP
88
CONFIG_CHIP=y
99
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
10+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Light Switch"
1011

1112
# Configure ZAP file name
1213
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/light_switch.zap"

samples/matter/light_switch/prj_release.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Enable CHIP
88
CONFIG_CHIP=y
99
CONFIG_CHIP_PROJECT_CONFIG="src/chip_project_config.h"
10+
CONFIG_CHIP_DEVICE_PRODUCT_NAME="Matter Light Switch"
1011

1112
# Configure ZAP file name
1213
CONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH="${APPLICATION_CONFIG_DIR}/src/default_zap/light_switch.zap"

0 commit comments

Comments
 (0)