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

Update documentation for regenerating a single app's files. #9266

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Also adds logging to zap_regen_all.py so it shows exactly what command
it's running for every target it generates.

Problem

Docs are out of sync with recent code changes.

Change overview

Sync up the docs.

Testing

Ran zap_regen_all and observed the logging and that it still generates what needs to be generated.

Also adds logging to zap_regen_all.py so it shows exactly what command
it's running for every target it generates.
@github-actions
Copy link

Size increase report for "esp32-example-build" from 6525df0

File Section File VM
chip-lock-app.elf .flash.text 68 68
chip-shell.elf .flash.text 56 56
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv

Comparing ./master_artifact/chip-lock-app.elf and ./pull_artifact/chip-lock-app.elf:

sections,vmsize,filesize
.flash.text,68,68
[Unmapped],0,-68

Comparing ./master_artifact/chip-shell.elf and ./pull_artifact/chip-shell.elf:

sections,vmsize,filesize
.flash.text,56,56
[Unmapped],0,-56

Comparing ./master_artifact/chip-temperature-measurement-app.elf and ./pull_artifact/chip-temperature-measurement-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-bridge-app.elf and ./pull_artifact/chip-bridge-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-ipv6only-app.elf and ./pull_artifact/chip-ipv6only-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-persistent-storage.elf and ./pull_artifact/chip-persistent-storage.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-all-clusters-app.elf and ./pull_artifact/chip-all-clusters-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-pigweed-app.elf and ./pull_artifact/chip-pigweed-app.elf:

sections,vmsize,filesize


@woody-apple
Copy link
Contributor

@bzbarsky-apple bzbarsky-apple merged commit 3fbd637 into project-chip:master Aug 31, 2021
@bzbarsky-apple bzbarsky-apple deleted the update-generation-docs branch August 31, 2021 17:18
mkardous-silabs pushed a commit to mkardous-silabs/connectedhomeip that referenced this pull request Sep 24, 2021
…chip#9266)

Also adds logging to zap_regen_all.py so it shows exactly what command
it's running for every target it generates.
jamesharrow added a commit to jamesharrow/connectedhomeip that referenced this pull request May 30, 2024
mergify bot pushed a commit that referenced this pull request Jul 9, 2024
* Updated device-energy-management-cluster.xml and energy-evse-cluster.xml using Alchemy and spec commit: dbf7c6dd7206fa4a4647f8a6218325fbe6c8ec6c Note more DEM PRs are yet to merge.

* Regen_all checked in.

* Added missing energy-management-app.matter

* Updated with spec PR #9251 merged to master.

* Updated with spec PR #9266 (change ForecastId -> ForecastID)

* regen_all

* Removed extra entryType="PowerAdjustStruct" which causes incorrect generation of a top-level list in the PowerAdjustmentCapability attribute.

* Removed extra min="-4611686018427387904" max="4611686018427387903" which causes ZAP to complain about more than 2 byte length.

* Updated after regen_all

* Reverted max="86400" in RANDOMIZATION_DELAY_WINDOW which upsets some builds

* Added missing autogen'd code for DEM changes.

* Fix up compilation errors caused by change to forecastID and powerAdjustementCapability list moving one level below.

* Added Water Heater Management cluster XML

* Added Water Heater Management to controller-clusters.zap

* Added Water Heater Management to zap_cluster_list.json

* Added Water Heater Management cluster to all-clusters-app.zap

* Tried to add apiMaturity="provisional" to silence deprecation warnings when running zap_regen_all.py. Also used Alchemy --featureXML.

* Added all-clusters-app.matter and controller-clusters.matter after regen_all

* Added output from regen_all.py

* Updated .zap files after adding provisional flag.

* Added Java matter controller now that apiMaturity=provisional has popped out.

* Trying to remove Thread Border Router Management in controller-clusters.zap as a test.

* Removed water-heater-management-server for now so compilers don't try to compile it.

* Reverted all-clusters-app.zap (removed Water heater). Reverted controller-clusters.zap (put back Thread Border Router, removed Water Heater)

* updated all-clusters-app.matter after removing WaterHeaterManagement cluster (to avoid compile failures).

* Candidate fix for THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER which resolves the error. [Should be a duplicate of PR #34000 when that merges.

* Addressing review comments from Boris

* Regenerate files

* Regenerate files correctly

* Removal optional conformance fro DayOfWeekForSequence/ChargingTargets fields in ChargingTargetScheduleStruct + regen zap files

* Updated energy-evse-cluster using Alchemy to match Spec PR:9317 based on review that DischargingCurrent was inconsistent.

* Updated after regen_all

---------

Co-authored-by: pcoleman <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
lazarkov pushed a commit to lazarkov/connectedhomeip that referenced this pull request Jul 10, 2024
* Updated device-energy-management-cluster.xml and energy-evse-cluster.xml using Alchemy and spec commit: dbf7c6dd7206fa4a4647f8a6218325fbe6c8ec6c Note more DEM PRs are yet to merge.

* Regen_all checked in.

* Added missing energy-management-app.matter

* Updated with spec PR project-chip#9251 merged to master.

* Updated with spec PR project-chip#9266 (change ForecastId -> ForecastID)

* regen_all

* Removed extra entryType="PowerAdjustStruct" which causes incorrect generation of a top-level list in the PowerAdjustmentCapability attribute.

* Removed extra min="-4611686018427387904" max="4611686018427387903" which causes ZAP to complain about more than 2 byte length.

* Updated after regen_all

* Reverted max="86400" in RANDOMIZATION_DELAY_WINDOW which upsets some builds

* Added missing autogen'd code for DEM changes.

* Fix up compilation errors caused by change to forecastID and powerAdjustementCapability list moving one level below.

* Added Water Heater Management cluster XML

* Added Water Heater Management to controller-clusters.zap

* Added Water Heater Management to zap_cluster_list.json

* Added Water Heater Management cluster to all-clusters-app.zap

* Tried to add apiMaturity="provisional" to silence deprecation warnings when running zap_regen_all.py. Also used Alchemy --featureXML.

* Added all-clusters-app.matter and controller-clusters.matter after regen_all

* Added output from regen_all.py

* Updated .zap files after adding provisional flag.

* Added Java matter controller now that apiMaturity=provisional has popped out.

* Trying to remove Thread Border Router Management in controller-clusters.zap as a test.

* Removed water-heater-management-server for now so compilers don't try to compile it.

* Reverted all-clusters-app.zap (removed Water heater). Reverted controller-clusters.zap (put back Thread Border Router, removed Water Heater)

* updated all-clusters-app.matter after removing WaterHeaterManagement cluster (to avoid compile failures).

* Candidate fix for THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER which resolves the error. [Should be a duplicate of PR project-chip#34000 when that merges.

* Addressing review comments from Boris

* Regenerate files

* Regenerate files correctly

* Removal optional conformance fro DayOfWeekForSequence/ChargingTargets fields in ChargingTargetScheduleStruct + regen zap files

* Updated energy-evse-cluster using Alchemy to match Spec PR:9317 based on review that DischargingCurrent was inconsistent.

* Updated after regen_all

---------

Co-authored-by: pcoleman <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
austina-csa pushed a commit to austina-csa/connectedhomeip that referenced this pull request Jul 10, 2024
* Updated device-energy-management-cluster.xml and energy-evse-cluster.xml using Alchemy and spec commit: dbf7c6dd7206fa4a4647f8a6218325fbe6c8ec6c Note more DEM PRs are yet to merge.

* Regen_all checked in.

* Added missing energy-management-app.matter

* Updated with spec PR project-chip#9251 merged to master.

* Updated with spec PR project-chip#9266 (change ForecastId -> ForecastID)

* regen_all

* Removed extra entryType="PowerAdjustStruct" which causes incorrect generation of a top-level list in the PowerAdjustmentCapability attribute.

* Removed extra min="-4611686018427387904" max="4611686018427387903" which causes ZAP to complain about more than 2 byte length.

* Updated after regen_all

* Reverted max="86400" in RANDOMIZATION_DELAY_WINDOW which upsets some builds

* Added missing autogen'd code for DEM changes.

* Fix up compilation errors caused by change to forecastID and powerAdjustementCapability list moving one level below.

* Added Water Heater Management cluster XML

* Added Water Heater Management to controller-clusters.zap

* Added Water Heater Management to zap_cluster_list.json

* Added Water Heater Management cluster to all-clusters-app.zap

* Tried to add apiMaturity="provisional" to silence deprecation warnings when running zap_regen_all.py. Also used Alchemy --featureXML.

* Added all-clusters-app.matter and controller-clusters.matter after regen_all

* Added output from regen_all.py

* Updated .zap files after adding provisional flag.

* Added Java matter controller now that apiMaturity=provisional has popped out.

* Trying to remove Thread Border Router Management in controller-clusters.zap as a test.

* Removed water-heater-management-server for now so compilers don't try to compile it.

* Reverted all-clusters-app.zap (removed Water heater). Reverted controller-clusters.zap (put back Thread Border Router, removed Water Heater)

* updated all-clusters-app.matter after removing WaterHeaterManagement cluster (to avoid compile failures).

* Candidate fix for THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER which resolves the error. [Should be a duplicate of PR project-chip#34000 when that merges.

* Addressing review comments from Boris

* Regenerate files

* Regenerate files correctly

* Removal optional conformance fro DayOfWeekForSequence/ChargingTargets fields in ChargingTargetScheduleStruct + regen zap files

* Updated energy-evse-cluster using Alchemy to match Spec PR:9317 based on review that DischargingCurrent was inconsistent.

* Updated after regen_all

---------

Co-authored-by: pcoleman <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 18, 2024
* Updated device-energy-management-cluster.xml and energy-evse-cluster.xml using Alchemy and spec commit: dbf7c6dd7206fa4a4647f8a6218325fbe6c8ec6c Note more DEM PRs are yet to merge.

* Regen_all checked in.

* Added missing energy-management-app.matter

* Updated with spec PR project-chip#9251 merged to master.

* Updated with spec PR project-chip#9266 (change ForecastId -> ForecastID)

* regen_all

* Removed extra entryType="PowerAdjustStruct" which causes incorrect generation of a top-level list in the PowerAdjustmentCapability attribute.

* Removed extra min="-4611686018427387904" max="4611686018427387903" which causes ZAP to complain about more than 2 byte length.

* Updated after regen_all

* Reverted max="86400" in RANDOMIZATION_DELAY_WINDOW which upsets some builds

* Added missing autogen'd code for DEM changes.

* Fix up compilation errors caused by change to forecastID and powerAdjustementCapability list moving one level below.

* Added Water Heater Management cluster XML

* Added Water Heater Management to controller-clusters.zap

* Added Water Heater Management to zap_cluster_list.json

* Added Water Heater Management cluster to all-clusters-app.zap

* Tried to add apiMaturity="provisional" to silence deprecation warnings when running zap_regen_all.py. Also used Alchemy --featureXML.

* Added all-clusters-app.matter and controller-clusters.matter after regen_all

* Added output from regen_all.py

* Updated .zap files after adding provisional flag.

* Added Java matter controller now that apiMaturity=provisional has popped out.

* Trying to remove Thread Border Router Management in controller-clusters.zap as a test.

* Removed water-heater-management-server for now so compilers don't try to compile it.

* Reverted all-clusters-app.zap (removed Water heater). Reverted controller-clusters.zap (put back Thread Border Router, removed Water Heater)

* updated all-clusters-app.matter after removing WaterHeaterManagement cluster (to avoid compile failures).

* Candidate fix for THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER which resolves the error. [Should be a duplicate of PR project-chip#34000 when that merges.

* Addressing review comments from Boris

* Regenerate files

* Regenerate files correctly

* Removal optional conformance fro DayOfWeekForSequence/ChargingTargets fields in ChargingTargetScheduleStruct + regen zap files

* Updated energy-evse-cluster using Alchemy to match Spec PR:9317 based on review that DischargingCurrent was inconsistent.

* Updated after regen_all

---------

Co-authored-by: pcoleman <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
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.

5 participants