目的:将IQmath特定函数Copy到RAM中运行
实现方法:
1)CMD配置:
/* Allocate IQ math areas: */
IQmath : > FLASHH PAGE = 0 /* Math Code */
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
IQmathTablesRam : > IQTABLES3 PAGE = 0, TYPE = NOLOAD /* Math Tables In ROM*/
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space,

该博客介绍了如何将IQmath库中的特定函数复制到RAM中运行,以提高执行效率。通过CMD配置,将IQmath函数和表格分配到不同的内存区域,并通过编译工程检查map文件来确认配置是否成功。
最低0.47元/天 解锁文章
4万+

被折叠的 条评论
为什么被折叠?



