Commit Graph

8 Commits

Author SHA1 Message Date
lhdjply
032c2c351c docs(index): sort the index links alphabetically
Signed-off-by: lhdjply <lhdjply@126.com>
2024-10-17 12:24:04 +02:00
Neo Xu
a0d3efed88 chore(doc): add new debugging folder
Now debugging folder includes below tools.
- gdb
- profiler
- logging
- VGLite simulator

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2024-10-16 17:19:14 +02:00
Neo Xu
d460edbcac feat(gdb): add lvgl GDB plugin
Usage:
Launch gdb firstly, then execute source path/to/lvgl.py

Or
`gdb bin/main -ex source "scripts/gdb/lvgl.py"`

Currently only "dump obj" and "info style" commands are available.
Usage:
(gdb) dump obj -h
usage: [-h] [-L LEVEL] [root]

Dump lvgl obj tree.

positional arguments:
  root                  Optional root obj to dump.

options:
  -h, --help            show this help message and exit
  -L LEVEL, --level LEVEL
                        Limit the depth of the tree.

Example:
(gdb) dump obj -L 2
Display 0x9e503080
  Screen@0xf5f0a760
  obj@0xf5f0a760 (0,0,639,479)
  Screen@0xf5f0a700
  obj@0xf5f0a700 (0,0,639,479)
    tabview@0xf5f0d100 (0,0,639,479)
    keyboard@0xf3402d20 (0,240,639,479)
    dropdown-list@0xf5f0c620 (0,0,129,129)
  Screen@0xf5f0a6a0
  obj@0xf5f0a6a0 (0,0,639,479)
  Screen@0xf5f0a640
  obj@0xf5f0a640 (0,0,639,479)

(gdb) info style 0x60700000dd10
  32 = {num = 90, ptr = 0x5a, color = {blue = 90 'Z', green = 0 '\000', red = 0 '\000'}}
  158 = {num = 32767, ptr = 0x7fff, color = {blue = 255 '\377', green = 127 '\177', red = 0 '\000'}}
(gdb) p lv_global->disp_default->act_scr
$4 = (lv_obj_t *) 0x60700000dd10
(gdb) info style $4
  32 = {num = 90, ptr = 0x5a, color = {blue = 90 'Z', green = 0 '\000', red = 0 '\000'}}
  158 = {num = 32767, ptr = 0x7fff, color = {blue = 255 '\377', green = 127 '\177', red = 0 '\000'}}
(gdb)

Change-Id: Id73e20a761913fe767308f9ee29ae16fbf4f876c
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2024-10-16 17:19:02 +02:00
VIFEX
966d952bb7 docs: add VG-Lite related documents (#6557)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-07-26 12:20:38 +08:00
Liam
eb1fe43595 chore(style): use lv_part_t type where suitable (#6075) 2024-04-30 11:00:05 +02:00
PGNetHun
2a129562d8 docs: fix links, add references, rename files (#5138) 2024-01-04 07:25:13 +01:00
_VIFEXTech
06b3b62475 feat(profiler): add built-in profiler (#4255)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: W-Mai <1341398182@qq.com>
2023-06-05 16:53:57 +02:00
Kevin Schlosser
e485dd8bb4 feat(docs): migrate from .md to .rst (#4129) 2023-04-27 14:42:02 +02:00