摘要:
Notes on the Flat-Text TranscriptionThe content of this transcription differs from the content of theoriginal document in the following ways.1. Pag... 阅读全文
摘要:
chapter 4. building and linking with libraries=====在大型的软件中,用库来管理十分方便,也可以为代码复用省不少事。4.1 building libraries=====像 Program 函数一样,只需要调用 Library 函数就能生成库了。 Li... 阅读全文
摘要:
/** * This function will change the previously allocated memory block. * * @param rmem pointer to memory allocated by rt_malloc * @param newsize the r... 阅读全文
摘要:
Chapter 3. Less Simple Things to do with builds在这章中,你将看到一些简单的编译配置例子。3.1 Specifying the name of the target (output) file=====当你使用 Program 来编译工程,默认的输出文件... 阅读全文
摘要:
可以直接在Finsh中运行自己定义的函数。官方有三种方式,我觉得第二种比较方便,其他就不介绍了。首先需要在application.c 中包含 finsh.h 头文件,然后在函数下方添加宏FINSH_FUNCTION_EXPORT(fun_with_arg, function with a argum... 阅读全文
摘要:
Finsh是调试的利器,它可以获取系统运行时信息,对任意寄存器和内存地址进行读写操作,还能直接调用系统函数访问系统变量。要使用这个功能,需要开启/* SECTION: Finsh, a C-Express shell */#define RT_USING_FINSH/* Using symbol t... 阅读全文