third_party.pigweed.src/pw_sys_io_baremetal_lm3s6965evb
Ewout van Bekkum fff82ec721 pw_boot_armv7m: add pw_boot_PreStaticMemoryInit()
Adds a new hook before static memory initialization occurs, namely
initialization of .bss and .data, which is frequently used for
things like enabling other memory regions with .data and/or .bss
sections.

The FPU enabling for targets/stm32f429i-disc1/early_boot.c was moved
to pw_boot_PreStaticMemoryInit(), as this is may be needed for
other pre static memory initialization tasks.

In addition, the existing pw_boot_armv7m module is updated to follow
the new naming style guide to prefix globals with "pw_boot_*".

And lastly, the documentation is extended slightly to further explain
what each hook is typically used for.

Change-Id: Ic85e960a476c906b5fe781b87bb4cedd06982e60
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/16562
Reviewed-by: Armando Montanez <amontanez@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Ewout van Bekkum <ewout@google.com>
2020-08-24 20:59:17 +00:00
..
BUILD pw_boot_armv7m: Add pw_PreStaticConstructorInit() 2020-06-08 18:59:59 +00:00
BUILD.gn Remove legacy_target.gni 2020-06-16 09:50:59 -07:00
early_boot.c pw_boot_armv7m: add pw_boot_PreStaticMemoryInit() 2020-08-24 20:59:17 +00:00
sys_io_baremetal.cc pw_boot_armv7m: add pw_boot_PreStaticMemoryInit() 2020-08-24 20:59:17 +00:00