Sorun:
ESP32 projenizi derlerken aşağıdaki gibi bir hata mesajı görürsünüz:
compile_error_output.txt
src/main.cpp:128:3: error: 'vPortGetHeapStats' was not declared in this scope
vPortGetHeapStats(&heapStats);Çözüm
vPortGetHeapStats() genellikle freertos/portable.h içinde tanımlanmış olsa da, ESP32’de vPortGetHeapStats() kullanamazsınız çünkü çerçeveler FreeRTOS heap uygulamasını kullanmaz.
Heap kullanımı hakkında bilgi bulmak için esp_get_free_heap_size() gibi ESP heap API‘sini kullanın.
Check out similar posts by category:
ESP8266/ESP32 FreeRTOS
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow