Commit Graph

3 Commits

Author SHA1 Message Date
Yicheng Li
d61fc3a96b targets: Fix typos in comments
"at compile team" should probably be "at compile time".

No-Docs-Update-Reason: This is just fixing a typo in a comment.

Change-Id: I7d4130f224e40db1151ddaf74aa146038b5611b7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/40002
Commit-Queue: Keir Mierle <keir@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-04-27 05:33:22 +00:00
Ian Tessier
0120ddaf7f pw_boot_armv7m: Add barriers for enabling the FPU
The barriers (as recommended per the STM32 programming manual) ensure
that the FPU is correctly enabled before continuing and potentially
executing any FPU instructions, however rare that may be during startup.

Change-Id: I846c87c5fd72ac297ed6556e57cb7ca672d6d83a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/13360
Commit-Queue: Ian Tessier <itessier@google.com>
Commit-Queue: Keir Mierle <keir@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-09-03 17:48:25 +00:00
Ewout van Bekkum
0f82b333c1 targets: move early_boot.c to boot.cc
Alters the existing targets to use a boot.cc file instead of the
existing early_boot.c.

The name was updated to reflect the fact that it now contains a
pw_boot_PostMain() hook which is after early boot.

C++ was selected over C to give more language flexibility.

Change-Id: I18ca0b8720bf083d4f644f1ca994e8fd7adc89b6
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/16702
Commit-Queue: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-08-26 03:24:30 +00:00