chore(benchmark): add warning for probably low memory (#5797)

This commit is contained in:
Gabor Kiss-Vamosi 2024-03-12 05:28:10 +01:00 committed by GitHub
parent aecedc5d37
commit 2722e390e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,10 @@
#error "LV_USE_DEMO_WIDGETS needs to be enabled"
#endif
#if LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN && LV_MEM_SIZE < 128 * 1024
#warning "It's recommended to have at least 128kB RAM for the benchmark"
#endif
#include "../../src/display/lv_display_private.h"
#include "../../src/core/lv_global.h"