上一页 1 2 3 4 5 6 7 8 ··· 18 下一页

2020年3月24日

RTEMS API

摘要: 常用函数 rtems_interrupt_catch intrcatch.c cpukit\rtems\src 1468 2003/9/5 11 /* rtems_interrupt_catch * * This directive allows a thread to specify what a 阅读全文

posted @ 2020-03-24 22:10 yanhc 阅读(282) 评论(0) 推荐(0) 编辑

2020年3月20日

1553, 61580

摘要: http://emesjx.spaces.eepw.com.cn/articles/article/item/100023 输出数据延时,挺。。。 1、BU-61580有“缓冲”和“透明”2种存储模式,前者使用BU-61580内部4Kx16bit缓冲区,后者使用外部RAM作为数据缓冲区,最大可达64 阅读全文

posted @ 2020-03-20 22:52 yanhc 阅读(1036) 评论(0) 推荐(0) 编辑

2020年3月18日

sparc-rtems-gcc version

摘要: sparc-rtems-4.6.5-gcc-3.2.3-1.0.16-cygwin.tar.bz2这个是cygwin交叉编译工具,是从以下网址下载的,rtems对应4.6.5,gcc对应3.2.3https://www.gaisler.com/anonftp/rcc/bin/ sparc-rtems 阅读全文

posted @ 2020-03-18 14:12 yanhc 阅读(441) 评论(0) 推荐(0) 编辑

2020年3月14日

rtems chain

摘要: rtems 4.6 涉及文件 chain.h (cpukit\libcsupport\include)提供用户程序接口,用户程序接口无下划线开头,内核程序使用下划线开头 /* chain.h * * This include file contains all the constants and s 阅读全文

posted @ 2020-03-14 12:21 yanhc 阅读(188) 评论(0) 推荐(0) 编辑

2020年2月23日

gnu make

摘要: 模式替换 Another type of substitution reference lets you use the full power of the patsubst function. It has the same form ‘$(var:a=b)’ described above, e 阅读全文

posted @ 2020-02-23 22:02 yanhc 阅读(152) 评论(0) 推荐(0) 编辑

工程引用libm.a文件的sin函数后

摘要: 更改前后的main.c //#include <math.h> int var_data = 1; int var_bss; int main() { double d; // d = sin(3.14/2); return 0; } View Code #include <math.h> int 阅读全文

posted @ 2020-02-23 20:39 yanhc 阅读(291) 评论(0) 推荐(0) 编辑

2020年2月16日

3803 register initialization

摘要: wim寄存器 window invalid mask,窗口无效屏蔽寄存器,如果某bit为1,则表示该窗口无效,不能使用。 初始化,设置%psr.CWP=0,即当前使用win0;设置wim=2,即只有win1不能使用,win0,7,6,5,4,3,2都能使用。 save时,CWP-1,变为窗口7;再s 阅读全文

posted @ 2020-02-16 19:21 yanhc 阅读(180) 评论(0) 推荐(0) 编辑

bin utilities related

摘要: objdump -S, 如果有源程序的话,将源程序与汇编代码混合在一起。 使用该选项时,输入的目标文件需要有调试信息,即用gcc -g生成的目标文件才可以,因为,调试信息中才有源程序信息。 --adjust-vma=offset 对于a.out,似乎没有编码节的地址,因此,dump出来的节内容都是从 阅读全文

posted @ 2020-02-16 14:22 yanhc 阅读(214) 评论(0) 推荐(0) 编辑

2020年2月15日

ELF文件之九——使用链接脚本-2个函数-data-bss-temp-call-debug信息-struct

摘要: main.c int enable; int test = 1; struct aaa { int membera; char memberb; }s_aaa; int main() { int temp; add(); del(); s_aaa.membera = 1; s_aaa.memberb 阅读全文

posted @ 2020-02-15 15:12 yanhc 阅读(182) 评论(0) 推荐(0) 编辑

ELF文件之八——使用链接脚本-2个函数-data-bss-temp-call-debug信息

摘要: gcc编译选项可以设置生成调试信息, debug信息格式有stabs,coff,xcoff,dwarf。 常用的有两种格式,stab和dwarf,stab较早,dwarf较新。两种格式介绍:https://www.ibm.com/developerworks/cn/opensource/os-deb 阅读全文

posted @ 2020-02-15 11:33 yanhc 阅读(568) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 18 下一页

导航