Skip to content

Commit

Permalink
Merge branch 'master' into temperature-measurement-app
Browse files Browse the repository at this point in the history
  • Loading branch information
s07641069 committed Mar 1, 2023
2 parents 2496071 + eff5773 commit 9b8c2e1
Show file tree
Hide file tree
Showing 177 changed files with 3,456 additions and 869 deletions.
5 changes: 0 additions & 5 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ exclude = third_party
src/test_driver/openiotsdk/*
src/test_driver/mbed/*
src/test_driver/linux-cirque/*
src/test_driver/esp32/*
build/chip/java/tests/*
build/chip/linux/*
build/config/linux/*
credentials/fetch-paa-certs-from-dcl.py
docs/_extensions/external_content.py
examples/chef/chef.py
examples/chef/sample_app_util/zap_file_parser.py
examples/common/pigweed/rpc_console/py/chip_rpc/console.py
examples/lighting-app/python/lighting.py
examples/platform/mbed/ota/generate_ota_list_image.py
Expand All @@ -27,7 +24,6 @@ exclude = third_party
scripts/build/builders/android.py
scripts/build/builders/bouffalolab.py
scripts/build/builders/cc13x2x7_26x2x7.py
scripts/build/builders/esp32.py
scripts/build/builders/genio.py
scripts/build/builders/gn.py
scripts/build/builders/imx.py
Expand Down Expand Up @@ -60,7 +56,6 @@ exclude = third_party
scripts/tests/chiptest/yamltest_with_chip_repl_tester.py
scripts/tools/check_zcl_file_sync.py
scripts/tools/convert_ini.py
scripts/tools/generate_esp32_chip_factory_bin.py
scripts/tools/memory/memdf/__init__.py
scripts/tools/memory/report_summary.py
scripts/tools/nrfconnect/generate_nrfconnect_chip_factory_data.py
Expand Down
4 changes: 4 additions & 0 deletions build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ config("strict_warnings") {
]
}

if (current_os == "mac" || current_os == "ios") {
cflags += [ "-Wconversion" ]
}

if (build_java_matter_controller) {
cflags -= [ "-Wshadow" ]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -867,14 +867,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1977,7 +1977,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1993,7 +1993,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -752,12 +752,12 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute HourFormatEnum hourFormat = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1972,7 +1972,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 0,
"storageOption": "NVM",
"singleton": 0,
Expand Down
10 changes: 5 additions & 5 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -537,14 +537,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1165,7 +1165,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
Loading

0 comments on commit 9b8c2e1

Please sign in to comment.