zephyr/arch/xtensa/soc
Leandro Pereira 0e08b946de soc: esp32: Define __start as a C function
The first stage bootloader, part of the ESP32 ROM, already sets up
a stack that's sufficient to execute C programs.  So, instead of
implementing __stack() in assembly, do it in C to simplify things
slightly.

This ESP32-specific initialization will perform the following:

  - Disable the watchdog timer that's enabled by the bootloader
  - Move exception handlers to IRAM
  - Disable normal interrupts
  - Disable the second CPU
  - Zero out the BSS segment

Things that might be performed in the future include setting up the
CPU frequency, memory protection regions, and enabling the flash
cache.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-06-21 12:35:49 -04:00
..
D_108mini linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
D_212GP linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
D_233L linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
XRC_D2PM_5swIrq linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
XRC_FUSION_AON_ALL_LM linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
esp32 soc: esp32: Define __start as a C function 2017-06-21 12:35:49 -04:00
hifi2_std linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
hifi3_bd5 linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
hifi3_bd5_call0 linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
hifi4_bd7 linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
hifi_mini linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
hifi_mini_4swIrq linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
sample_controller linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00