随笔分类 - 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
阅读全文
摘要: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
阅读全文
摘要:riscv64-unknown-elf 为 RISC-V指令集的交叉编译工具 以下环境在Liunx ubuntu x86_64 环境下进行,下面示例以生成32位文件为目标来操作使用。 screen // watch IO infos screen /dev/ttyACM0 115200 compil
阅读全文
摘要:Embedded的世界里,Hex文件是可以烧录到MCU中,被MCU执行的一种文件格式。 整个文件以行为单位,每行以冒号开头,内容全部为16进制码(以ASCII码形式显示)。 // 一个简单结构的HEX文件内容 :020000040008F2 :10000400FF00A0E314209FE50010
阅读全文

浙公网安备 33010602011771号