- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 flash存储中各量级对应的十六进制数
flash存储中各量级对应的十六进制数,内核移植中,flash配置时很有用哦,比如配置struct mtd_partition,struct resource这两个结构体#define SIZE_1K 0x00000400#define SIZE_2K 0x00000800#define SIZE_4K 0x00001000#define SIZE_8K 0x0000200
2012-05-31 19:38:33 2516
原创 QT调用动态库的方法
平台:PXA270 + linux 工具:编程qtcreator 交叉编译器:ARM-LINUX-GCC 目前编程方式是使用qtcreator 做界面和编写代码,再用交叉编译器编译成执行文件下载到PXA270板上, 因为项目中需要把串口接收到的图片源码编码成图片,所以想直接调用之前编译好的GIF动态库。方法如下;
2012-05-16 20:21:56 5291
转载 在Linux环境下编写和使用静态函数库
在libsth.h中声明函数定义:/* * libsth.h * Declarations for simple error-handling library */#ifndef _LIBSTH_H#define _LIBSTH_H #include "stdarg.h" /* * ADD */int ADD(int a, int b);
2012-05-15 21:42:41 687
转载 Linux操作系统下动态库的编写与调用
1. 用 c 语言写动态库: /* * libsthc.h * Declarations for function add */ #include "stdio.h" #include "stdlib.h" #include "stdarg.h" #ifdef __cplusplus extern "C" { #endif int
2012-05-15 21:41:45 554
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人