21#if !defined(__ASSEMBLER__)
30#ifdef MODULE_NEWLIB_NANO
31# define THREAD_EXTRA_STACKSIZE (0)
33# define THREAD_EXTRA_STACKSIZE (512)
37#define THREAD_EXTRA_STACKSIZE_PRINTF (1536)
39#ifndef THREAD_STACKSIZE_DEFAULT
41# define THREAD_STACKSIZE_DEFAULT (2048)
44#ifndef THREAD_STACKSIZE_IDLE
46# define THREAD_STACKSIZE_IDLE (2048)
49#ifndef ESP_WIFI_STACKSIZE
51# define ESP_WIFI_STACKSIZE (THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE)
56#define PRINTF_BUFSIZ 256
61#define PUF_SRAM_ATTRIBUTES __attribute__((used, section(".noinit")))
71#define CPU_HAS_UNALIGNED_ACCESS 1
77#if !DOXYGEN && !defined(__ASSEMBLER__)
79extern uint8_t _fp_mmu_start;
82#define FLASHPAGE_SIZE (4096U)
83#define FLASHPAGE_WRITE_BLOCK_SIZE (4U)
84#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
89#define FLASHPAGE_NUMOF (CONFIG_ESP_FLASHPAGE_CAPACITY / FLASHPAGE_SIZE)
94#define CPU_FLASH_BASE ((uint32_t)&_fp_mmu_start)
99#if defined(CPU_FAM_ESP32)
101#elif defined(CPU_FAM_ESP32C3)
103#elif defined(CPU_FAM_ESP32C6)
105#elif defined(CPU_FAM_ESP32H2)
107#elif defined(CPU_FAM_ESP32S2)
109#elif defined(CPU_FAM_ESP32S3)
112# error "ESP32x family implementation missing"
Compile-time configuration macros for ESP32 SoCs.
Compile-time configuration macros for ESP32-C3 SoCs.
Compile-time configuration macros for ESP32-C6 SoCs.
Compile-time configuration macros for ESP32-H2 SoCs.
Compile-time configuration macros for ESP32-S2 SoCs.
Compile-time configuration macros for ESP32-S3 SoCs.