Comments (5)
Hi,
A few questions:
- Have you set an
OS
withLV_USE_OS
? - Do you use a GPU?
- With which UI/demo do you test?
from lvgl.
Hi,
A few questions:
- Have you set an
OS
withLV_USE_OS
?- Do you use a GPU?
- With which UI/demo do you test?
Thank you for your reply.
I set LV_USE_OS to LV_USE_NONE.
Instead of using LVGL's OS, I ported the FreeRTOS kernel myself.
My MCU lacks a GPU and has only 128K ROM and 16K RAM, with a DMA that isn't DMA2D.
I used the test code that I wrote myself.
lv_obj_t *label = lv_label_create(lv_scr_act(), NULL); /*Add a label*/
lv_label_set_text(label, "Testing"); /*Set the labels text*/
lv_obj_set_pos(label, 30, 30);
lv_obj_set_style_local_text_color(label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0xFF0000));
// Systick interrupt
void SysTick_Handler(void)
{
lv_tick_inc(1);
delay_decrement();
}
// Main loop
while(1){
lv_task_handler();
}
from lvgl.
16kB RAM is very small. What is the size of LV_MEM_SIZE
? It can easily happen that there was an out of memory issue somewhere.
Please enable all LV_USE_ASSERTs in lv_conf.h
from lvgl.
LV_USE_ASSERTs
The size of LV_MEM_SIZE is (8u * 1024) and have set LV_USE_ASSERT_MEM to 1.
It didn't break in assert when I debugged.
from lvgl.
Related Issues (20)
- Tabview scrolling issue HOT 7
- The calendar component date in v8.3 version can only be displayed up to 2023. HOT 9
- Make the NuttX drivers even simpler HOT 4
- lv_image_set_scale and LV_IMAGE_ALIGN_TILE cannot be effective at the same time HOT 4
- Gridnav does not send LV_EVENT_FOCUSED HOT 2
- Smooth font, Smooth display of text during rendering HOT 3
- Canvas examples HOT 5
- draw line got strange effect HOT 14
- SSD1306 Display with ESP32 using SPI HOT 7
- NuttX + FB device (SAMA5D2) - rendering problem/tearing HOT 6
- label text does not show in transparent background display HOT 2
- segger embedded studio with lvgl8.4 can not show the draw result HOT 3
- Alternative solutions for the implementation of lv_obj_is_valid() HOT 9
- toutch freeze gui HOT 6
- README has broken picture HOT 2
- Assertion on lv_obj_send_event when using lv_screen_load_anim HOT 4
- How to delete dots on a line chart HOT 1
- Draw arc not working if LV_DRAW_SDL is enabled. HOT 2
- How to use rounder_cb in LVGL9.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvgl.