- 博客(7)
- 资源 (2)
- 收藏
- 关注
转载 嵌入式系统可执行文件格式
UBOOT编译映像格式(uboot) UBOOT编译完成后,可以得到u-boot各种格式的映像文件和符号表 u-boot.bin: u-boot映像原始的二进制格式 u-boot: u-boot映像的ELF格式 u-boot.srec: u-boot映像的S-Record格式 u-boot.map: u-boot映像的符号表 u
2013-08-08 09:50:02 463
原创 TINY210 LED
crt0.S: .text .global _start _start: LDR R0,=0xE2700000 @ 看门狗寄存器地址 MOV R1,#0x0 STR R1,[R0] @ 禁止看门狗 LDR sp,=0xD0037D80 @IROM里的固定代码设置的sp就等于0xD003_7D80 @也可以自己随便设置,只要指向的是一块可用的内存 @且不会覆盖我们自己的代码
2013-06-05 21:48:14 510
原创 Tiny210-----LED依次闪烁
#define GPJ2CON (*(volatile unsigned long *) 0xE0200280) #define GPJ2DAT (*(volatile unsigned long *) 0xE0200284) // 延时函数 void delay(int a) { int k; for(k=0;k ; } void
2013-05-16 18:09:45 602
转载 Android:EditText 多行显示及所有属性
android:id="@+id/editSms" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/saveSms" android:inputType="textMultiLine" android:gravity="
2013-05-14 11:27:12 414
转载 This text field does not specify an inputType or a hint
android开发过程中突然发现的warning EditText 报出 “This text field does not specify an inputType or a hint” 原因: EditText需要指定默认输入类型 加入android:inputType="number|phone",表示指定为数字或电话 inputtype类型如下: //文本类型
2013-05-13 15:12:59 453
原创 Android应用运行分析
package="cn.itcast.activity" 应用的包,以后四大组件必须在该包或者其子包下创建 为了适应不同的分辨率,不同的像素密度, 文字使用sp,其余使用dip sp---比例像素 主要处理字体大小,可以根据系统的字体自适应 dip---设备独立像素 和设备硬件有关,一般为了支持WVGA,HCGA,QVGA推荐使用,不依赖像素
2013-05-13 11:30:35 391
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人