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

Add compile-time code generation using zap for app-templates #23962

Merged
merged 111 commits into from
Jan 18, 2023
Merged
Changes from 1 commit
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
0f885dc
Add compile-time code generation using zap for app-templates
andy31415 Dec 7, 2022
1c4df27
Fix tizen build dependencies for all-clusters and minimal
andy31415 Dec 7, 2022
52886db
Remove one more unnedded include directory from tizen
andy31415 Dec 7, 2022
d6e6e1d
Fix tv casting app include
andy31415 Dec 7, 2022
b9058b0
Restyle
andy31415 Dec 7, 2022
bbf7bba
Bump up openiotsdk dockerfile to get zap-cli
andy31415 Dec 7, 2022
07dd0ea
Fix include for efr32 Lcd painter
andy31415 Dec 7, 2022
0abbc38
Test out a zap installation workflow in darwin builds
andy31415 Dec 8, 2022
8d8c959
Fix trailing slash
andy31415 Dec 8, 2022
8e4e6ca
Multiline to make mac install more redable
andy31415 Dec 8, 2022
a727cc0
make sure all subdirs are created when installing zap
andy31415 Dec 8, 2022
f9e1ccb
Use sudo to create the zap install directory
andy31415 Dec 8, 2022
afb95c5
unzip only zap-cli, to hopefully make the unzip faster
andy31415 Dec 8, 2022
a0db480
Install zap on all darwin CI runs
andy31415 Dec 8, 2022
bf2a609
Add `"$(TEMP_DIR)/out/gen/src/controller/data_model/zapgen/"` to xcod…
andy31415 Dec 8, 2022
d0b718b
Do not run clang-format for compile-time generated files
andy31415 Dec 8, 2022
cb52d47
Update code generation documentation a bit
andy31415 Dec 8, 2022
e139ea5
More documentation with examples of how to invoke and set pregenerati…
andy31415 Dec 8, 2022
09c0958
Restyle
andy31415 Dec 8, 2022
ab3029f
Fix typo in command for code pregen
andy31415 Dec 8, 2022
36664fb
Fix typo
andy31415 Dec 8, 2022
3ab0308
Merge branch 'master' into compile_time_zap_generate
andy31415 Dec 8, 2022
0a83fde
Add a runnable check that is intended to codegen
andy31415 Dec 8, 2022
afaf4f3
make unit tests with golden images run (but not yet pass)
andy31415 Dec 8, 2022
495511a
Update golden copies
andy31415 Dec 8, 2022
4d6e6f3
Update documentation and restyle
andy31415 Dec 8, 2022
575094d
Bump up build apps time... seems like bimodal timing distribution and…
andy31415 Dec 8, 2022
cb12949
Fix spelling
andy31415 Dec 8, 2022
81ce6eb
make zap-cli --version run on mac as part of the install since I seem…
andy31415 Dec 8, 2022
0ceb8b9
Merge branch 'master' into compile_time_zap_generate
andy31415 Dec 8, 2022
6f6d4c5
Try to use tempState for mac parallel runs
andy31415 Dec 8, 2022
8de386c
Restyle
andy31415 Dec 8, 2022
5ef4b6e
Merge branch 'master' into compile_time_zap_generate
andy31415 Dec 13, 2022
5e85160
Several code review changes
andy31415 Dec 13, 2022
00c7c23
Fix typo in path for templates
andy31415 Dec 13, 2022
1abbd5e
Undo third party submodule changes
andy31415 Dec 13, 2022
db256fe
Merge branch 'master' into compile_time_zap_generate
andy31415 Dec 13, 2022
fa83df7
Merge branch 'master' into compile_time_zap_generate
andy31415 Dec 13, 2022
38ff398
Move common python zap logic into one file, to have the zap path logi…
andy31415 Dec 13, 2022
c45d4cb
Restyle
andy31415 Dec 13, 2022
e654567
Add version check capabilities to zap execution and generate.py
andy31415 Dec 13, 2022
8b0054c
Restyle
andy31415 Dec 13, 2022
247ec7c
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 5, 2023
25905d4
Update zap version and set skip_real_version based on merge with master
andy31415 Jan 5, 2023
fcd9111
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 5, 2023
991b519
Also update darwin zap installation path
andy31415 Jan 5, 2023
6080fe1
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 5, 2023
016b0b6
Update more paths with the new zap version
andy31415 Jan 5, 2023
2c4d067
Restyle
andy31415 Jan 5, 2023
2051eb8
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 6, 2023
d33ef9f
Golden image update for regeneration
andy31415 Jan 6, 2023
9fdd4eb
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 6, 2023
14f987a
Do not restyle test outputs for zap generation tests
andy31415 Jan 6, 2023
99b1e53
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 6, 2023
ab130ce
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 6, 2023
d5ccb51
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 6, 2023
a81604c
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 9, 2023
0226f6e
Restyle
andy31415 Jan 9, 2023
f326797
Restyled by isort
restyled-commits Jan 9, 2023
c4c99f8
Fix up one more include for obsolete paths
andy31415 Jan 9, 2023
edddbb6
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 9, 2023
9515fa2
Update generated files for unit tests
andy31415 Jan 9, 2023
e56ced4
Re-generate unit test output data
andy31415 Jan 9, 2023
9ebba0a
Fix telink contact sensor build
andy31415 Jan 9, 2023
af787c2
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 10, 2023
a48fcba
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 10, 2023
2791c23
Update unit test data
andy31415 Jan 10, 2023
be265c6
Revert wrong diff marker
andy31415 Jan 10, 2023
b73a5b4
Bump CI docker to 0.6.31 to use the latest zap
andy31415 Jan 10, 2023
e52463f
Bump up image versions for non-chip-build images as well
andy31415 Jan 10, 2023
70de69d
Re-generate using latest zap from 0.6.31 image
andy31415 Jan 10, 2023
6c9e78f
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 11, 2023
1fa7c38
Keep codegen for controller clusters, for darwin specifically
andy31415 Jan 11, 2023
6dbb678
patch the matter xcode project to update the include path to use the …
andy31415 Jan 11, 2023
b04bee0
Restyle
andy31415 Jan 11, 2023
077fc77
Update to make template checker happy, update min version for zap exe…
andy31415 Jan 11, 2023
55db6f5
One more manual restyle attempt
andy31415 Jan 11, 2023
3ef6923
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 12, 2023
6115465
Ran regen again for tests
andy31415 Jan 12, 2023
74383a5
Re-generated this time using CI steps for checking
andy31415 Jan 12, 2023
d27ec99
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 13, 2023
143549c
See if CI can run zap tests on mac as well
andy31415 Jan 13, 2023
2a53bea
Do not set skip real version for the version check
andy31415 Jan 13, 2023
dd91e12
Add a better comment of why IMClusterCommandHandler is odd
andy31415 Jan 13, 2023
5d3ac0e
Restyle
andy31415 Jan 13, 2023
6e20908
Start developing a simpler ZAP version update script as this is likel…
andy31415 Jan 13, 2023
e1d05af
Off by one fix and update search logic a bit
andy31415 Jan 13, 2023
0b2ae36
Add support for min version update as well
andy31415 Jan 13, 2023
c068c08
Update a comment and a min version
andy31415 Jan 13, 2023
46d36de
Comment updates
andy31415 Jan 13, 2023
b58cda4
Another comment regarding version update
andy31415 Jan 13, 2023
276ef2d
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 13, 2023
00ab67b
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 13, 2023
b073047
Fix gen files for unit tests. We should figure out why environment ma…
andy31415 Jan 13, 2023
83f3d14
Update clang-format version comment: it is 15 not 14 now in pigweed
andy31415 Jan 13, 2023
0bd70ee
Force clang-format-15 or clang-format (assuming we use pigweed)
andy31415 Jan 13, 2023
bef4097
Regenerate in pigweed environment, so clang-format is consistently 15
andy31415 Jan 13, 2023
9055064
Report clang-format version when formatting, to understand any format…
andy31415 Jan 16, 2023
b6d67a6
Re-gen all after clang-format-15 was applied
andy31415 Jan 16, 2023
0bcb2c0
Remove zzz_generated from restyled.yaml since we clang-format already…
andy31415 Jan 16, 2023
d1ca26e
Zap regen app2
andy31415 Jan 16, 2023
dab0b16
Regenerated (after restyle changed permissions..) and updated logs to…
andy31415 Jan 16, 2023
3c1721b
Merge branch 'master' into compile_time_zap_generate
andy31415 Jan 16, 2023
9f7e343
Update CI image for coverage run
andy31415 Jan 16, 2023
c1d3062
Serialize zap execution to work around zap darwin bugs
andy31415 Jan 16, 2023
5025c38
Fix copy and paste error for cmake: remove extra comma
andy31415 Jan 16, 2023
aaa1221
Update version update to control what files to update: usage or docker
andreilitvin Jan 17, 2023
8db3711
Merge branch 'master' into compile_time_zap_generate
andreilitvin Jan 17, 2023
f23b739
Update scripts/tools/zap/generate.py
andy31415 Jan 17, 2023
17bfea0
Skip ZAP version check when ZAP_DEVELOPMENT_PATH is set
andy31415 Jan 17, 2023
57ab64c
Restyle
andy31415 Jan 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into compile_time_zap_generate
  • Loading branch information
andy31415 committed Jan 13, 2023
commit d27ec99ad584384f4a44880c03dd00eabd9809a2

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.