Using CrashReport()'ing in setup after Serial is established will give some info of the fault causing the restart that might be helpful
https://www.pjrc.com/teensy/td_crashreport.html
U’s are for Unsigned, its a suffix to tell the compiler that the value is a constant unsigned int.
I still urge to use the lv memory monitor.
I used it to identify a memory leak a few years back that happened each time I navigated between screens.
Rezo WINS!!! I changed LV_MEM_SIZE from (32U * 1024U) ... to ... (128U * 1024U) -- (why the "U"s?) and everything works and is solid as a rock!! (I see the simulator uses (256 * 1024U) -- (no first U?) (I'm clueless about lv mem monitor...)...
Thanks -- that's a BIGG help! Now, how did you know that (and how did I miss it?) So, turning everything on and not moving anything to RAM2 (except my 3 test int's -- turns out you can put DMAMEM anywhere on the line), I get:
Memory Usage on...
I'm working on Teensy 4.0 with LVGL / ili9488 / Arduino. My app looks great in the LVGL simulator but crashes ("out of memory") instantly on the T4. (I'm SO grateful that it is able to tell me!) If I remove a few visual objects, it runs for a...