Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link attribute reads to Content Apps, refactor content app platform to leverage latest cluster lib conventions #12969

Merged
merged 63 commits into from
Jan 27, 2022

Conversation

chrisdecenzo
Copy link
Contributor

@chrisdecenzo chrisdecenzo commented Dec 14, 2021

Problem

Change overview

For all Content App clusters, make sure commands and attributes are linked to Content Apps

Testing

TBD

examples/tv-app/linux/AppImpl.cpp Outdated Show resolved Hide resolved
examples/tv-app/linux/AppImpl.h Show resolved Hide resolved
examples/tv-app/linux/AppPlatformShellCommands.cpp Outdated Show resolved Hide resolved
@woody-apple
Copy link
Contributor

Fast tracking, given > 3 days for review.

@github-actions
Copy link

PR #12969: Size comparison from e45f0a1 to c6bc7b9

Decreases (1 build for p6)
platform target config section e45f0a1 c6bc7b9 change % change
p6 all-clusters-app default (read/write) 2414704 2413128 -1576 -0.1
.text 1372968 1371392 -1576 -0.1
Full report (4 builds for p6, telink)
platform target config section e45f0a1 c6bc7b9 change % change
p6 all-clusters-app default (read/write) 2414704 2413128 -1576 -0.1
.bss 117892 117892 0 0.0
.data 2584 2584 0 0.0
.text 1372968 1371392 -1576 -0.1
light-app default (read/write) 2338168 2338168 0 0.0
.bss 105652 105652 0 0.0
.data 2408 2408 0 0.0
.text 1296432 1296432 0 0.0
lock-app default (read/write) 2303720 2303720 0 0.0
.bss 105396 105396 0 0.0
.data 2360 2360 0 0.0
.text 1261984 1261984 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 847718 847718 0 0.0
bss 87608 87608 0 0.0
noinit 37160 37160 0 0.0
text 592560 592560 0 0.0

Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mbedos fails to compile because includes of thread and iostream force an extra 160K of flash used by [lib]stdc++.a.

Please remove those includes - they are not needed and likely harmful for embedded.

@andy31415 andy31415 merged commit 0c94a80 into master Jan 27, 2022
@andy31415 andy31415 deleted the tv-apps3 branch January 27, 2022 17:05
selissia pushed a commit to selissia/connectedhomeip that referenced this pull request Jan 28, 2022
…o leverage latest cluster lib conventions (project-chip#12969)

* link attribute reads to Content Apps

* address some comments

* route attribute reads and writes to per-cluster handlers

* refactor content app

* straggler

* use MEI log format commands

* fix tv-app test suites

* fix tv-app test suites

* fix CI test suites

* fix CI test suites

* add bindings call

* migrate content app to use new account login delegate

* refactor ContentApp to use delegates

* fix CI errors

* fix CI errors

* fix CI errors

* more ContentApp to app-platform directory

* address issue 13144

* address issue 12543

* address comments

* address comments

* fix handling of application launcher, application basic status and content platform

* fix build

* fix android build

* fix android build

* add Commissioner Discovery Controller to manage UDC workflow

* address comments

* address comments

* fix builds

* fix builds

* fix builds

* address comments

* fix potential leak on commands

* fix potential leak on attribute reads

* fix potential leak on attribute reads

* argument and naming consistency

* fix android build

* fix android build

* fix android build

* fix android build

* address easy comments

* fix android build

* fix android

* fix merge issue

* optimize image size

* fix build

* attempt to fix CI build

* attempt to fix CI build

* attempt to fix CI build

* reduce dependencies

Co-authored-by: Christopher DeCenzo <decenzo@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants