Lines Matching +full:- +full:bootloader
3 * SPDX-License-Identifier: Apache-2.0
14 /** Simplified memory map for the bootloader.
15 * Make sure the bootloader can load into main memory without overwriting itself.
17 * ESP32-S2 ROM static data usage is as follows:
18 * - 0x3ffeab00 - 0x3fffc410: Shared buffers, used in UART/USB/SPI download mode only
19 * - 0x3fffc410 - 0x3fffe710: CPU stack, can be reclaimed as heap after RTOS startup
20 * - 0x3fffe710 - 0x40000000: ROM .bss and .data (not easily reclaimable)
22 * The 2nd stage bootloader can take space up to the end of ROM shared
35 /* For safety margin between bootloader data section and startup stacks */
47 #define BOOTLOADER_USER_DRAM_END (DRAM_BUFFERS_START - BOOTLOADER_STACK_OVERHEAD)
51 (BOOTLOADER_USER_DRAM_END - BOOTLOADER_IRAM_LOADER_SEG_LEN + IRAM_DRAM_OFFSET)
52 #define BOOTLOADER_IRAM_SEG_START (BOOTLOADER_IRAM_LOADER_SEG_START - BOOTLOADER_IRAM_SEG_LEN)
54 (BOOTLOADER_IRAM_SEG_START - BOOTLOADER_DRAM_SEG_LEN - IRAM_DRAM_OFFSET)