#
8377d59c |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ia9dd4aed00238b28839b86dfe4ca93155a521766 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
39084b4a |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I3942bdbbb0fc2d46d755a74f481bb44fa63dc486 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
a66ac0fc |
| 09-Jan-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
Support event multi targets
Description: - Support event multi targets.
Design: - The origin multi-gpio-monitor doesn't detect the comming events are rising or falling and it can only start one s
Support event multi targets
Description: - Support event multi targets.
Design: - The origin multi-gpio-monitor doesn't detect the comming events are rising or falling and it can only start one service after events triggered.
- We need to do corresponding actions when gpio pin rising or falling. So we modify multi-gpio-monitor config json and read the rising actions and falling actions in it.
- When service monitored one gpio status is changed, service will detect that it is a rising or falling event and then call systemd startUnit to start services that set in config json.
- For example with config json below: When PowerGood is falling, "PowerGoodFalling.service" and "PowerOff.service" will start. [ { "Name": "PowerGood", "ChipId": "0", "GpioNum": 14, "EventMon": "BOTH", "Targets": { "FALLING": ["PowerGoodFalling.service", "PowerOff.service"], "RISING": ["PowerGoodRising.service", "PowerOn.service"] }, "Continue": true } ]
Test Case: Check that corresponding targets start or not - pass
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: I043d4385b91a04d360a4d50048320db15e63ac74
show more ...
|
#
854404e0 |
| 28-Feb-2023 |
Ed Tanous <edtanous@google.com> |
Change io_service to io_context
This was renamed a while back in boost to be compliant with the std::executors proposal.
Change-Id: I221f120fc16d6b9e57eee17417cf7f5793c9629f Signed-off-by: Ed Tanou
Change io_service to io_context
This was renamed a while back in boost to be compliant with the std::executors proposal.
Change-Id: I221f120fc16d6b9e57eee17417cf7f5793c9629f Signed-off-by: Ed Tanous <edtanous@google.com>
show more ...
|
#
939a6431 |
| 09-Oct-2019 |
Vijay Khemka <vijaykhemka@fb.com> |
GPIO Monitor with multiple lines and libgpiod Added a new GPIO monitor (phosphor-multi-gpio-monitor) which monitors multiple gpio lines based on their line name or offset. GPIO details
GPIO Monitor with multiple lines and libgpiod Added a new GPIO monitor (phosphor-multi-gpio-monitor) which monitors multiple gpio lines based on their line name or offset. GPIO details need to be defined in a JSON file and needs to be passed to this daemon. This uses libgpiod for accessing gpio lines and also uses CLI11 for parsing input parameter. Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Change-Id: I843e6df8c1159888f2ca628d1f69c1d2294d29d6
show more ...
|