T113 Tina 自带的LVGL8 G2D Test运行报错
-
使用的是芒果提供的Tina系统,lv_example下所有的包全部勾选了,然后编译运行会报错
已经修改资源的路径,加了一些printf查看config
下面是运行日志root@TinaLinux:/# lv_g2d_test 0 0 0 0 use double buffer use g2d use g2d rotate use lv g2d debug use lv g2d fill use lv g2d blit use lv g2d blend use lv g2d scale lv_g2d_test 0 5 0 1 one num is rotate, range is 0~3 tow num is gif, range is 0~11, 11 is no show gif three num is bmp, range is 0~2, 2 is no show bmp four num is png, range is 0~3, 3 is no show png wh=800x480, vwh=800x480, bpp=32, rotated=0 Segmentation fault root@TinaLinux:/# ls /mnt/UDISK/lv_g2d_test/ 1280x720.gif 225x111.png 320x480.gif 658x494.gif 800x600.gif 1280x800.gif 240x320.gif 409x409.gif 800x1280.gif 1920x1080.gif 241x148.png 47x48.png 800x480.bmp 200x300.png 313x235.gif 512x352.bmp 800x480.gif root@TinaLinux:/# ls /dev/ bus i2c-2 mmcblk0p6 sunxi-reg by-name input mmcblk0p7 sunxi-wlan cedar_dev ion mmcblk0p8 tty console kmsg null ttyS3 cpu_dma_latency mmcblk0 ptmx ubi_ctrl disp mmcblk0p1 pts udmabuf fb0 mmcblk0p2 random urandom full mmcblk0p3 rfkill usb-ffs g2d mmcblk0p4 shm zero gpiochip0 mmcblk0p5 snd
int main(int argc, char *argv[]) { #ifdef USE_SUNXIFB_DOUBLE_BUFFER printf("use double buffer\n"); #endif #ifdef USE_SUNXIFB_G2D printf("use g2d\n"); #endif #ifdef USE_SUNXIFB_G2D_ROTATE printf("use g2d rotate\n"); #endif #ifdef LV_USE_SUNXIFB_DEBUG printf("use lv g2d debug\n"); #endif #ifdef LV_USE_SUNXIFB_G2D_FILL printf("use lv g2d fill\n"); #endif #ifdef LV_USE_SUNXIFB_G2D_BLIT printf("use lv g2d blit\n"); #endif * 列表 #ifdef LV_USE_SUNXIFB_G2D_BLEND printf("use lv g2d blend\n"); #endif #ifdef LV_USE_SUNXIFB_G2D_SCALE printf("use lv g2d scale\n"); #endif lv_disp_drv_t disp_drv; lv_disp_draw_buf_t disp_buf; lv_indev_drv_t indev_drv; uint32_t rotated = LV_DISP_ROT_NONE; uint32_t gif_index = 5, bmp_index = 0, png_index = 1; char *gif_path[] = { "A:/mnt/UDISK/lv_g2d_test/240x320.gif", "A:/mnt/UDISK/lv_g2d_test/313x235.gif", "A:/mnt/UDISK/lv_g2d_test/320x480.gif", "A:/mnt/UDISK/lv_g2d_test/409x409.gif", "A:/mnt/UDISK/lv_g2d_test/658x494.gif", "A:/mnt/UDISK/lv_g2d_test/800x480.gif", "A:/mnt/UDISK/lv_g2d_test/800x600.gif", "A:/mnt/UDISK/lv_g2d_test/800x1280.gif", "A:/mnt/UDISK/lv_g2d_test/1280x720.gif", "A:/mnt/UDISK/lv_g2d_test/1280x800.gif", "A:/mnt/UDISK/lv_g2d_test/1920x1080.gif", "A:/mnt/UDISK/lv_g2d_test/no.gif" }; char *bmp_path[] = { "A:/mnt/UDISK/lv_g2d_test/512x352.bmp", "A:/mnt/UDISK/lv_g2d_test/800x480.bmp", "A:/mnt/UDISK/lv_g2d_test/no.bmp" }; char *png_path[] = { "A:/mnt/UDISK/lv_g2d_test/47x48.png", "A:/mnt/UDISK/lv_g2d_test/225x111.png", "A:/mnt/UDISK/lv_g2d_test/241x148.png", "A:/mnt/UDISK/lv_g2d_test/no.png"};
-
-
@fantasya 楼主解决了吗?我也是这个问题,但是lv_examples可以正常运行,另外按照V853的教程移植lv_100ask_2048运行也是段错误 关键是教程里的路径跟T113 Tina的路径不一至,也不知道具体哪里的问题
-
@name_10____231
解决了吗,同问
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号