随笔分类 -  Clang

慢慢修炼C语言
摘要:场景记录 Catch mistakes and output > testlog #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <time.h> int write_log (FILE* pFile, cons 阅读全文
posted @ 2021-03-09 17:47 kumata 阅读(71) 评论(0) 推荐(0)
摘要:source file file.c C source, ASCII text pretreatment 预处理文件 file.i C source, ASCII text assembler file 汇编文件 file.s assembler source, ASCII text can onl 阅读全文
posted @ 2019-11-14 17:47 kumata 阅读(258) 评论(0) 推荐(0)
摘要:riscv64-unknown-elf 为 RISC-V指令集的交叉编译工具 以下环境在Liunx ubuntu x86_64 环境下进行,下面示例以生成32位文件为目标来操作使用。 screen // watch IO infos screen /dev/ttyACM0 115200 compil 阅读全文
posted @ 2019-11-14 17:38 kumata 阅读(7381) 评论(0) 推荐(0)
摘要:Embedded的世界里,Hex文件是可以烧录到MCU中,被MCU执行的一种文件格式。 整个文件以行为单位,每行以冒号开头,内容全部为16进制码(以ASCII码形式显示)。 // 一个简单结构的HEX文件内容 :020000040008F2 :10000400FF00A0E314209FE50010 阅读全文
posted @ 2019-08-22 20:02 kumata 阅读(1111) 评论(0) 推荐(0)