将IQmath特定函数Copy到RAM中运行

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

目的:将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,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值