Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
stemwin
10
STM32F4 STemWin移植 LCD_X_DisplayDriver卡死
发布于 2024-10-30 14:26:47 浏览:144
订阅该版
在使用STM32F429IGT6移植完STemWin后,初始化时卡死在GUI_Init函数中,加了打印后发现执行顺序:GUI_X_Config执行成功-->LCD_X_Config执行成功,LCD_X_Config函数第一次进入后正常,第二次进入后卡死在里面。这该怎么办? ```c int LCD_X_DisplayDriver(unsigned LayerIndex, unsigned Cmd, void *pData) { rt_kprintf("enter LCD_X_DisplayDriver Cmd : %d\n",Cmd); int r; (void)LayerIndex; (void)pData; switch (Cmd) { case LCD_X_INITCONTROLLER: { // // Called during the initialization process in order to set up the // display controller and put it into operation. If the display // controller is not initialized by any external routine this needs // to be adapted by the customer... // // ... return 0; } case LCD_X_SETSIZE: { // // Called during the initialization process in order to set up the // display controller and put it into operation. If the display // controller is not initialized by any external routine this needs // to be adapted by the customer... // // ... return 0; } default: r = -1; } rt_kprintf("exit LCD_X_DisplayDriver r : %d\n",r); return r; } ``` ![screenshot_image.png](https://oss-club.rt-thread.org/uploads/20241030/9234b9495a0196dcccea8311e72315c3.png)
查看更多
1
个回答
默认排序
按发布时间排序
KunYi
2024-10-30
这家伙很懒,什么也没写!
你確定是卡死嗎? 按照你的展示的代碼來說 return 0; 那些就不會印出 "exit LCD_X_DisplayDriver"
撰写答案
登录
注册新账号
关注者
0
被浏览
144
关于作者
dayuyu
这家伙很懒,什么也没写!
提问
8
回答
2
被采纳
0
关注TA
发私信
相关问题
1
在stemwin中使用事件集发生断言错误,怎么解决?
2
emwin 报警告怎么解决
3
在系统上移植stemwin,在gui_init()中线程终止
4
探索者407+stemwin 无法init
5
struct rt_device_graphic_ops使用方法请教
6
stm32f429 + RTT STemwin移植失败
7
添加软件包一直失败 Stemwin失败 组件和驱动都增加在哪
8
关于rtthread中STemWin中GUI_OS的支持问题,画面无法显示
9
STM32H743移植emwin出现的问题
10
移植stemwin 画面不显示
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
[E/app.filesystem] SD card mount to '/sdcard' failed!
2
单片机也能聊天?RT-Thread上跑通大语言模型
3
【RT-Thread】【ci】【scons】将ci.attachconfig.yml和scons结合使用
4
Rt-thread中OTA下载后,bootloader不搬程序
5
ulog 日志 LOG_HEX 输出时间改为本地日期时间
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
DMA
USB
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
I2C_IIC
ESP8266
UART
WIZnet_W5500
ota在线升级
cubemx
PWM
flash
freemodbus
BSP
packages_软件包
潘多拉开发板_Pandora
定时器
ADC
flashDB
GD32
socket
编译报错
中断
Debug
rt_mq_消息队列_msg_queue
SFUD
msh
keil_MDK
ulog
C++_cpp
MicroPython
本月问答贡献
出出啊
1518
个答案
343
次被采纳
小小李sunny
1444
个答案
290
次被采纳
张世争
813
个答案
177
次被采纳
crystal266
548
个答案
161
次被采纳
whj467467222
1222
个答案
149
次被采纳
本月文章贡献
出出啊
1
篇文章
3
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
3
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部