自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

转载 BackTrace [ARM]

如果是ARM平台arm-linux-gcc交叉编译,需要带如下编译参数 -rdynamic -funwind-tables -ffunction-sections否则可能backtrace返回值为0,得不到需要的信息。

2020-06-28 10:45:07 544

原创 linux 删除文件,空间不释放

linux 使用 unlink() / system("rm -f xxx") 删除文件,删除后 df 发现空间只释放了一部分或未释放。可能有效的方法 : 添加 sync();

2020-06-09 19:48:35 242

原创 Openssl 编译

编译版本: openssl 1.0.2u编译主机:Ubuntu14.04.1编译命令:./Configuresharedno-asm--prefix=安装路径&&makedepend make && make install如果不是给本机编译安装,需使用编译参数:// 方式1make INSTALL_PREFIX=安装根...

2020-03-17 08:28:37 738

原创 sockaddr 和 sockaddr_in 的坑

结构:sockaddrstruct sockaddr { sa_family_t sa_family; /* address family, AF_xxx */ char sa_data[14]; /* 14 bytes of protocol address */};其中,sa_data将端口信息和地址信息混在一起了。不推荐直接操...

2020-02-27 17:27:29 385

原创 Orange_pi_one 主线u-boot 编译

交叉编译工具:gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf.tar.xzu-boot 版本:u-boot-2017.01-rc1前提:安装设备树编译器1.配置 : make orangepi_one_defconfig2. 编译: # make ARCH=arm CROSS_COMPILE=/交叉编译路径/arm-linux/b...

2018-11-07 22:30:18 481

原创 protobuf-c 中repeated类型处理

github上的代码执行不过,修改之:proto文件:【emessage.proto】syntax="proto2";message Submessage { required int32 value=1;}message EMessage { repeated Submessage a=1;} 打包文件:【emessage_serialize.c】#in...

2018-07-31 08:58:40 6417 1

原创 protobuf-c 的安装及交叉编译arm库文件

一 、 protobuf 安装 1.   确认安装依赖库:automake ,autoconf ,libtool  2.   下载 protobuf 安装文件,protobuf-cpp-3.5.0.tar.gz , 解压,  ./configure make make check make install 【默认安装路径:/usr/local/】 3.  安装完添加环境变量, vi /etc/pr...

2018-06-15 13:33:09 4335 3

原创 Qt 5.0.2 (32 bit) 编译错误

23:28:02: 为项目1执行步骤 ...23:28:02: 无法启动进程"D:\Software\Qt\5.0.2\mingw47_32\bin\qmake.exe" C:\Users\liuwei\Documents\1\1.pro -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_de

2017-12-17 23:31:52 996 2

serial monitor

串口检测工具,串口检测数据,串口数据分析,串口检测工具可用。

2018-08-31

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除