- 博客(16)
- 收藏
- 关注
转载 Create a project for STM32H7 with Ethernet and LwIP stack working
AnswerMakingEthernet work on STM32H7 can be a bit tricky and requires specific memory configuration. Theory details are explained in separate FAQ: FAQ: Ethernet not working on STM32H7x3.1. GoalGoal of this example is to:Configure project in STM3.
2021-09-06 15:01:26
1132
原创 LWIP TCP 数据发送限制修改
TCP_MSS 无需更改TCP_SND_BUF 8*TCP_MSSTCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
2021-08-17 15:06:59
1727
原创 Linux下 Qt 5.14.2 库移植
1. 将已经编译好的Qt库解压到/usr/local/目录下2. 在qmake同级目录下创建qt.conf文件3.qt.conf内容为:[Paths]Prefix = 安装目录/5.14.2/gcc_644. 保存后,重新启动Qt,添加Qt Version即可。
2020-11-11 16:10:36
539
原创 20201023 搭建ubuntu20.04 Qt arm交叉开发环境
1. 安装gcc, g++, arm-linux-gnueabihf-gcc, arm-linux-gnueabihf-g++, python2. 安装Qt 5.14.23. 修改Qt5.14.2/5.14.2/Src/qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf文件,将编译器修改为arm-linux-gnueabihf-gcc和arm-linux-gnueabihf-g++4. Src目录下创建配置脚本compiler_conf.sh#.
2020-10-23 15:02:43
639
1
原创 QT QGraphicsView 透明背景和边框
view->setStyleSheet("padding:0px;border:0px");
2018-10-15 15:03:31
7068
原创 Petalinux 自动加载settings.sh脚本
用户登录shell用户目录下 gedit .bashrc文件末尾添加 source petalinux/settings.sh保存关闭
2018-08-22 13:32:04
1392
原创 Windows 10 PCIE板卡驱动开发问题
使用Visual Studio 2017 + WDK 10 KMDF模版 开发的驱动在Windows 7 上可以正常使用。在Windows 10 上可以正常安装驱动,驱动安装完,使用事件查看器查看到设备有错误:来源Kernel-PnP、问题0x15、问题状态0x00。另外,在驱动使用过程中,初始化、BAR0空间操作、DMA启动都正常,但是收不到板卡发来的中断。 此问题在Win 10 驱动中...
2018-08-22 13:31:27
5037
7
原创 QT编写windows驱动测试程序
mainwindow.obj:-1: error: LNK2019: 无法解析的外部符号 __imp__SetupDiGetClassDevsW@16,该符号在函数 "void * __cdecl G出现此问题时,头文件中加入下列代码#include <SetupAPI.h>#pragma comment(lib,"SetupAPI.lib")...
2018-08-22 13:29:39
2349
原创 Windows7 64位开启和禁用驱动程序签名强制
管理员身份命令行禁用:bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS开启:bcdedit.exe -set loadoptions ENABLE_INTEGRITY_CHECKS
2018-08-22 13:28:56
21140
1
原创 MCSDK到处理器SDK迁移
http://processors.wiki.ti.com/index.php/MCSDK_to_Processor_SDK_Migration
2018-08-22 13:27:59
912
原创 形式良好的 XML 文档
XML 文档必须有根元素 XML 文档必须有关闭标签 XML 标签对大小写敏感 XML 元素必须被正确的嵌套 XML 属性必须加引号<?xml version="1.0" encoding="ISO-8859-1"?><note><to>George</to><from>John</from&
2018-08-22 13:26:58
278
原创 QtableWidget单元格设置和操作
ui->tableWidget->setItem(i,1,new QTableWidgetItem(StringTable[i]));//设置单元格内容ui->tableWidget->item(i, 0)->setTextAlignment(Qt::AlignCenter);//设置居中ui->tableWidget->item(i, 1)->setTextAlignment(Qt::A
2017-11-24 16:46:15
12511
2
原创 QT 为可执行程序添加图标ico
1.准备***.ico文件,放置在项目根目录下。2.创建***.rc文件,写入 IDI_ICON1 ICON DISCARDABLE "***.ico" 。3.在.pro文件中添加一行 RC_FILE += ***.rc 。4.重建项目。
2017-11-24 16:43:50
1262
1
原创 QT readline()
关于文件读写操作的方法QFile file.readLine(); //返回文件的一行,包含换行符。 QTextStream in(&file); QString String = in.readLine();//返回文件的一行,不包含换行符。
2017-11-24 16:43:15
16328
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人