OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2947|回复: 1

stm32计算对数会有告警,如何清除告警

[复制链接]

70

主题

231

帖子

0

精华

高级会员

Rank: 4

积分
976
金钱
976
注册时间
2013-8-14
在线时间
103 小时
发表于 2019-9-10 20:13:02 | 显示全部楼层 |阅读模式
1金钱
编译环境:KEIL 5.25.2.0
芯片型号:STM32L496

c文件已经包含头文件:
#include <math.h>
#include <stdio.h>
#include "stm32l4xx.h"

程序中用到了log10( x )计算,编译后无error,但是会有告警:

test002\test002.axf: Warning: L6989W: Could not apply patch sdcomp-29491-629360 to instruction VPOP   
{d8-d15} at offset 0xf4, instruction is within an IT block and is not the last instruction for log.o(i.__hardfp_log).

test002\test002.axf: Warning: L6989W: Could not apply patch sdcomp-29491-629360 to instruction VPOP   
{d8-d15} at offset 0xf0, instruction is within an IT block and is not the last instruction for log_x.o(i.____hardfp_log$lsc).


暂时没测试能否正常计算,请问,如何使用库进行计算log10( ),如何消除报警。

谢谢!
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

3

主题

1907

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
4106
金钱
4106
注册时间
2018-8-14
在线时间
696 小时
发表于 2019-9-10 21:47:24 | 显示全部楼层
我猜是编译器的版本问题, 换个版本试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-9 15:05

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表