Commit 775cb4d
Create CHIP-specific backends for pigweed assert and logs (project-chip#36297)
* Add a matter backend for assertions, to not depend on basic assertions in pigweed itself
* No nullptr pass
* Add a log backend, update copyrights
* Restyle
* Switch all backends for log and assert to the new chip backends instead of previous built-in/basic ones. Remove old log backend
* Update public to fix linter for gn references
* Fix dependencies (this should fix boufalolab compile at least
* Remove pw_log_basic as we do not use it anymore
* Restyle
* Remove one more log_basic usage
* Fix typo in log type - application is not defined
* Avoid infinite recursion on logging now that PW-logging is not used
* Remove echo_pb2 from the console as this is already imported by the pw_system.console it seems
* Make PWConsole work again
* make linter happy
* Clean up all usages of CHIP_USE_PW_LOGGING
* Mass rename backends to pw_backends
* One more rename
* Remove some more includes
* Allow to keep going and report failed tetsts in local.py
* Do not force fabric admin on BLE ... that seems odd
* Switch to no wifi on fabric admin/bridge too
* More cleanup for sizes for subprocess
* More updates, generally switching to textio did not seem to work well, so just set bufsize to 0
* Update logic: apparently readlines is NOT lazy
* Remove unused import
* Fix unit tests
* Even better display and avoid crashes in pw rpc. Sill need to fix mcore test
* Fix flag logic
* Make MCOREFS_1_5 less racy: window status is updated several times it seems, so wait for the right status (it starts as not open, then switches to open)
* Restyled by autopep8
* Ensure elapsed and time remaining is always updated
* Make local.py have a less noisy argument since on failures we generally want to read the files not have them in stdout (except for CI where we only see stdout right now)
---------
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Restyled.io <[email protected]>1 parent 2af51b0 commit 775cb4d
File tree
63 files changed
+525
-331
lines changed- .github/workflows
- config
- bouffalolab/common/lib/pw_rpc
- efr32/lib/pw_rpc
- mbed/chip-gn/lib/pw_rpc
- nxp/lib/pw_rpc
- qpg/lib/pw_rpc
- examples
- all-clusters-app/linux
- android/CHIPTest
- chef/linux
- common/pigweed
- rpc_console/py/chip_rpc
- fabric-admin
- scripts
- fabric-bridge-app/linux
- light-switch-app
- genio
- qpg
- lighting-app-data-mode-no-unique-id/linux
- lighting-app
- bouffalolab
- bl602
- bl702l
- bl702
- genio
- linux
- qpg
- lock-app
- genio
- qpg
- ota-requestor-app/genio
- platform/linux
- shell
- genio
- qpg
- thermostat
- genio
- qpg
- scripts
- build
- builders
- testdata
- tests
- src
- app/tests
- lib
- core
- support/pw_log_chip
- public/pw_log_chip
- platform
- Linux
- NuttX
- logging
- pw_backends
- assert
- public_overrides/pw_assert_backend
- public/pw_assert_matter
- log
- public_overrides/pw_log_backend
- public/pw_log_matter
- python_testing
- matter_testing_infrastructure/chip/testing
- test_driver/efr32
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
63 files changed
+525
-331
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
0 commit comments