- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Makefile编译整个目录包含子目录下的文件
转载自别人文章 –目录结构 wrm@wrm-ruijie:~/test/fuping$ ls debug demo Makefile porting src 顶层Makefile: wrm@wrm-ruijie:~/test/fuping$ cat Makefile #设置编译器 .PHONY:clean all CC=gcc INCLUDE_DIR= C_FLAGS= #debug文件夹里的makefile文件需要最后执行,所以这里需要执行的子目录要排除debug文件夹,这里使用awk排除了deb
2020-06-29 17:35:33
3681
原创 ANS.1转C语言 遇到“has the same tag as”问题
比如,执行:asn1c -gen-PER *.asn 后遇到下面问题: FATAL: Processing MotionConfidenceSet at line 215: component “speedCfd” at line 215 has the same tag as component “headingCfd” at line 216 in cv2x_rsm.asn 请看提示: FATAL: Consider adding AUTOMATIC TAGS after module MsgTest
2020-06-17 11:54:57
489
原创 dd 命令使用
导出: 把demo板子上面的art数据取下来,在串口命令行,命令: cat /proc/mtd 查看一下art分区使用的是哪个mtd,假定是mtd9的话, dd if=/dev/mtdblock9 of=art.bin bs=64k count=1 这样把art分区数据取下来保存为文件 art.bin,然后通过tftp放到pc上面。 tftp -l art.bin -p 192.168.1.12 导入: run-system-shell cat /proc/mtd查看一下art分区使用的是哪个mtd,假定
2020-05-08 20:12:23
1693
原创 Makefile 编译当前文件夹下的cpp文件生成同名可执行文件:
目录: cv2x@cv2x-virtual-machine:~/test/dir_mul_cpp$ ls main main.cpp Makefile rootfs test 代码: cv2x@cv2x-virtual-machine:~/test/dir_mul_cpp/test$ vim test.c #include <stdio.h> void test_printf(...
2020-05-06 11:25:33
648
android studio 安装.doc
2020-03-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅