aboutsummaryrefslogtreecommitdiff
path: root/pw_chre
AgeCommit message (Collapse)Author
2023-09-22pw_chre: Update bug numbersDavid Gilhooley
Update the TODOs from the initial implementation bug to more specific bugs. There's still a generic "implement unfinished behavior" bug, but memory allocations and PALs have been split into two new bugs. Fixed: b/294106526 Change-Id: I5b09ad556bc28554e58456a38841d7825d9cf26d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/172330 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: David Gilhooley <dgilhooley@google.com> Reviewed-by: Armando Montanez <amontanez@google.com>
2023-09-20pw_chre: Minor fixesDavid Gilhooley
Add three fixes found when using pw_chre in fuchsia: - The host_endpoint field was not set correctly -This was easily caught in the fuchsia build because of: -Wmissing-field-initializers - pw::chre::Init should not run the event loop - SendMessageToNanoapp was not updated to its definition in the header. Bug: b/301079509 Change-Id: Ib34308e474132122e7a5db3143fe53341f6ef97e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/171851 Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: David Gilhooley <dgilhooley@google.com>
2023-09-19pw_chre: Fix build rules to use paramertized pathsDavid Gilhooley
Using absolute paths prevents this from being built in a larger project. Bug: b/298474212 Change-Id: Id7509999953bfd2878b0e8d77a4247c83c5c4eab Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/171850 Pigweed-Auto-Submit: David Gilhooley <dgilhooley@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
2023-09-18*: Use new TODO styleRob Mohr
Change-Id: I94819991c2831363bd3a044197a98db86f345b10 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/170730 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Chinchilla <cachinchilla@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
2023-09-18pw_chre: Split out shared_platformDavid Gilhooley
The files in CHRE's shared platform contains implementations that some developers would want to write themselves. Split this out from the main third_party/chre:chre definition so it is easier to not include these files and instead include your own. Change-Id: Ib71170589583ea4c591c50663933fb867d792bfe Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/170791 Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: David Gilhooley <dgilhooley@google.com>
2023-09-12pw_chre: Add barebones CHREDavid Gilhooley
NOTE: This is a very work-in-progress implementation. Add GN rules for the CHRE codebase into //third_party/CHRE. This also adds a pw_chre_PLATFORM_BACKEND gn argument for the platform backend for CHRE. Add a pw_chre directory that includes all of the class and function definitions required to compile CHRE. Some of this connects to pigweed functionality, some of it is stubbed out. //pw_chre:chre_simulator uses pw_system to run CHRE on pigweed on the host, and it compiles in a number of CHRE's example nanoapps. There is enough functionality that these nanoapps are able to run. Bug: 294106526 Change-Id: I73ab1a83ccefbe4a7d0f9ba7a5421c3f3391a937 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/162510 Reviewed-by: Kayce Basques <kayce@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: David Gilhooley <dgilhooley@google.com> Reviewed-by: Aaron Green <aarongreen@google.com>