Commit Graph

2 Commits

Author SHA1 Message Date
Armando Montanez
9a53d6c97f pw_toolchain: Allow user-provided clang toolchain
Allows a user to specify the root directory of the llvm tools to use
when compiling with clang. This makes it easier to debug
compiler-related issues.

Bug: 321
Change-Id: I74552f128d80553279896ebd2d9cb25c9f7bff32
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/42932
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Armando Montanez <amontanez@google.com>
2021-05-04 23:58:13 +00:00
Armando Montanez
1ee925c8ed pw_toolchain: ARM clang toolchain
Initial work to get clang building ARM firmware.

Current state:
 - Does not work on Windows; no clang toolchain yet.
 - Almost all tests pass.
 - FreeListHeap tests that don't zero-initilize the buffer fail in qemu
   and crash on STM32F429I-DISC1. (pwbug/315)

Change-Id: I39559511f19571c26930a868406d6ee1b514c412
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/13144
Commit-Queue: Armando Montanez <amontanez@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Alexei Frolov <frolv@google.com>
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
2021-02-05 18:38:51 +00:00