24 #if !defined(__ASSEMBLER__)
33 #ifdef MODULE_NEWLIB_NANO
34 #define THREAD_EXTRA_STACKSIZE (0)
36 #define THREAD_EXTRA_STACKSIZE (512)
40 #define THREAD_EXTRA_STACKSIZE_PRINTF (1536)
42 #ifndef THREAD_STACKSIZE_DEFAULT
44 #define THREAD_STACKSIZE_DEFAULT (2048)
47 #ifndef THREAD_STACKSIZE_IDLE
49 #define THREAD_STACKSIZE_IDLE (2048)
52 #ifndef ESP_WIFI_STACKSIZE
54 #define ESP_WIFI_STACKSIZE (THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE)
59 #define PRINTF_BUFSIZ 256
64 #define PUF_SRAM_ATTRIBUTES __attribute__((used, section(".noinit")))
74 #define CPU_HAS_UNALIGNED_ACCESS 1
80 #if !DOXYGEN && !defined(__ASSEMBLER__)
82 extern uint8_t _fp_mmu_start;
85 #define FLASHPAGE_SIZE (4096U)
86 #define FLASHPAGE_WRITE_BLOCK_SIZE (4U)
87 #define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
92 #define FLASHPAGE_NUMOF (CONFIG_ESP_FLASHPAGE_CAPACITY / FLASHPAGE_SIZE)
97 #define CPU_FLASH_BASE ((uint32_t)&_fp_mmu_start)
102 #if defined(CPU_FAM_ESP32)
104 #elif defined(CPU_FAM_ESP32C3)
106 #elif defined(CPU_FAM_ESP32S2)
108 #elif defined(CPU_FAM_ESP32S3)
111 #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-S2 SoCs.
Compile-time configuration macros for ESP32-S3 SoCs.