You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
emberAfAirQualityClusterInitCallback function are defined in 2 cpp: all-clusters-common/src/air-quality-instance.cpp:22:void emberAfAirQualityClusterInitCallback(chip::EndpointId endpointId) and esp32/build/gen/app-codegen/cpp-app/app/callback-stub.cpp:296:void __attribute__((weak)) emberAfAirQualityClusterInitCallback(EndpointId endpoint)
esp32/build/chip-all-clusters-app.map:185573:_Z36emberAfAirQualityClusterInitCallbackt esp-idf/main/libmain.a(callback-stub.cpp.obj) means that the weak function is linked which doesn't make sense. The weak function should be replaced by normal function when linking. It's expected that air-quality-instance.cpp:22:void emberAfAirQualityClusterInitCallback() should be linked
Platform
esp32
Platform Version(s)
v5.1.1
Type
Manually tested with SDK
(Optional) If manually tested please explain why this is only manually tested
Other platform (e..g Linux, nRFConnect, ...) works correctly.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Reproduction steps
all-clusters-app
. The ESP32 toolchain isv5.1.1
emberAfAirQualityClusterInitCallback
emberAfAirQualityClusterInitCallback
function are defined in 2 cpp:all-clusters-common/src/air-quality-instance.cpp:22:void emberAfAirQualityClusterInitCallback(chip::EndpointId endpointId)
andesp32/build/gen/app-codegen/cpp-app/app/callback-stub.cpp:296:void __attribute__((weak)) emberAfAirQualityClusterInitCallback(EndpointId endpoint)
esp32/build/chip-all-clusters-app.map:185573:_Z36emberAfAirQualityClusterInitCallbackt esp-idf/main/libmain.a(callback-stub.cpp.obj)
means that the weak function is linked which doesn't make sense. The weak function should be replaced by normal function when linking. It's expected thatair-quality-instance.cpp:22:void emberAfAirQualityClusterInitCallback()
should be linkedPlatform
esp32
Platform Version(s)
v5.1.1
Type
Manually tested with SDK
(Optional) If manually tested please explain why this is only manually tested
Other platform (e..g Linux, nRFConnect, ...) works correctly.
Anything else?
No response
The text was updated successfully, but these errors were encountered: