Commit Graph

3 Commits

Author SHA1 Message Date
Scott James Remnant
71eaa12a56 pw_boot: cleanup includes and deps
Change-Id: I7869062c3e7c4d5f0e56edb10127861a731b95ef
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54440
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com>
2021-07-24 14:03:21 +00:00
Scott James Remnant
fa7f123ed9 pw_boot: Create pw_boot facade
Move the header file out of pw_boot_armv7m to serve as a public API
for the facade, making pw_boot_armv7m the implementation.

This allows targets to provide an alternate implementation of
pw_boot_Entry.

This is not possible today due to the implementation dependency in
pw_malloc_freelist which, with this change, is moved to the facade
instead.

Update includes in existing targets to use the new path and dependency,
they were already setting pw_boot_BACKEND.

Change-Id: I88f921df0efea58536349e04fe09d1b580a7e733
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54022
Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Scott James Remnant <keybuk@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-07-23 01:26:58 +00:00
Rob Mohr
3d61b3278b *: Replace hyphens with underscores in directories
Replace hyphens with underscores in directories to increase
compatibility with other build systems.

Requires: 45700, 45701
Change-Id: I74a88532b8d660ca2e133a6667e70261cf1c9190
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/45640
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Rob Mohr <mohrr@google.com>
2021-05-18 16:33:52 +00:00