25 #if !defined(__ASSEMBLER__)
34 #ifdef MODULE_NEWLIB_NANO
35 #define THREAD_EXTRA_STACKSIZE (0)
37 #define THREAD_EXTRA_STACKSIZE (512)
41 #define THREAD_EXTRA_STACKSIZE_PRINTF (1536)
43 #ifndef THREAD_STACKSIZE_DEFAULT
45 #define THREAD_STACKSIZE_DEFAULT (2048)
48 #ifndef THREAD_STACKSIZE_IDLE
50 #define THREAD_STACKSIZE_IDLE (2048)
53 #ifndef ESP_WIFI_STACKSIZE
55 #define ESP_WIFI_STACKSIZE (THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE)
60 #define PRINTF_BUFSIZ 256
65 #define PUF_SRAM_ATTRIBUTES __attribute__((used, section(".noinit")))
75 #define CPU_HAS_UNALIGNED_ACCESS 1
81 #if !DOXYGEN && !defined(__ASSEMBLER__)
83 extern uint8_t _fp_mem_start;
86 #define FLASHPAGE_SIZE (4096U)
87 #define FLASHPAGE_WRITE_BLOCK_SIZE (4U)
88 #define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
93 #define FLASHPAGE_NUMOF (CONFIG_ESP_FLASHPAGE_CAPACITY / FLASHPAGE_SIZE)
98 #define CPU_FLASH_BASE ((uint32_t)&_fp_mem_start)
103 #if defined(CPU_FAM_ESP32)
105 #elif defined(CPU_FAM_ESP32C3)
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-S2 SoCs.
Compile-time configuration macros for ESP32-S3 SoCs.