pw_boot_armv7m/core_init.c
// WARNING: This code is run immediately upon boot, and performs initialization
// of RAM. Note that code running before this function finishes memory
// initialization will violate the C spec (Section 6.7.8, paragraph 10 for
// example, which requires uninitialized static values to be zero-initialized).
// Be EXTREMELY careful when running code before this function finishes RAM
// initialization.
//
// This function runs immediately at boot because it is at index 1 of the
// interrupt vector table.
This code is run immediately upon boot, and performs initialization
of RAM. Note that code running before this function finishes memory
initialization will violate the C spec (Section 6.7.8, paragraph 10 for
example, which requires uninitialized static values to be zero-initialized).
Be EXTREMELY careful when running code before this function finishes RAM
initialization.

This function runs immediately at boot because it is at index 1 of the
interrupt vector table.
This code is run immediately upon boot and performs initialization of RAM . Note that code running before this function finishes memory initialization will violate the C spec ( Section 6 . 7 . 8 paragraph 10 for example which requires uninitialized static values to be zero - initialized ) . Be EXTREMELY careful when running code before this function finishes RAM initialization . This function runs immediately at boot because it is at index 1 of the interrupt vector table .
void pw_BootEntry() {
  StaticInit();
  pw_PreMainInit();
  main();
  while (true) {
  }
}
void pw_BootEntry ( ) { StaticInit ( ) ; pw_PreMainInit ( ) ; main ( ) ; while ( true ) { } }
WARNING: This code is run immediately upon boot, and performs initialization
of RAM.
WARNING : This code is run immediately upon boot and performs initialization of RAM .
// This function is not provided by pw_boot_armv7m, a platform layer, project, // or application is expected to implement it. // Run main. // In case main() returns, just sit here until the device is reset.