mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-27 03:33:48 +08:00
chore(benchmark): add warning for probably low memory (#5797)
This commit is contained in:
parent
aecedc5d37
commit
2722e390e4
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user