diff --git a/lib/libesp32/berry_matter/src/be_matter_counter.cpp b/lib/libesp32/berry_matter/src/be_matter_counter.cpp index a33dd6442..56144e814 100644 --- a/lib/libesp32/berry_matter/src/be_matter_counter.cpp +++ b/lib/libesp32/berry_matter/src/be_matter_counter.cpp @@ -175,7 +175,7 @@ static int mc_tostring(bvm *vm) { #include "be_fixed_be_class_Matter_Counter.h" /* @const_object_info_begin -class be_class_Matter_Counter (scope: global, name: Matter_Counter) { +class be_class_Matter_Counter (scope: global, name: Matter_Counter, strings: weak) { _p, var init, ctype_func(mc_init) deinit, ctype_func(mc_deinit) diff --git a/lib/libesp32/berry_matter/src/be_matter_module.c b/lib/libesp32/berry_matter/src/be_matter_module.c index 3c65d9f84..82daa793c 100644 --- a/lib/libesp32/berry_matter/src/be_matter_module.c +++ b/lib/libesp32/berry_matter/src/be_matter_module.c @@ -175,7 +175,7 @@ static int matter_CD_FFF1_8000(bvm *vm) { return matter_return_static_bytes(vm, /* @const_object_info_begin -module matter (scope: global) { +module matter (scope: global, strings: weak) { _LOGO, comptr(MATTER_LOGO) _QRCODE_MINJS, comptr(QRCODE_MINJS) MATTER_OPTION, int(151) // SetOption151 enables Matter diff --git a/lib/libesp32/berry_matter/src/be_matter_verhoeff.cpp b/lib/libesp32/berry_matter/src/be_matter_verhoeff.cpp index 5e8f56511..9e9f1ae4a 100644 --- a/lib/libesp32/berry_matter/src/be_matter_verhoeff.cpp +++ b/lib/libesp32/berry_matter/src/be_matter_verhoeff.cpp @@ -85,7 +85,7 @@ BE_FUNC_CTYPE_DECLARE(vh_validate, "b", "s") #include "be_fixed_be_class_Matter_Verhoeff.h" /* @const_object_info_begin -class be_class_Matter_Verhoeff (scope: global, name: Matter_Verhoeff) { +class be_class_Matter_Verhoeff (scope: global, name: Matter_Verhoeff, strings: weak) { checksum, static_ctype_func(vh_checksum) validate, static_ctype_func(vh_validate) }