当前位置:网站首页>RT-Thread uses arm_math
RT-Thread uses arm_math
2022-08-07 23:51:00 【YAN_KEEE】
RT-Thread uses arm_math
Test platform: STM32F401CCU6
After creating the project, there is a math library in the project directory
Project Settings

ARM_MATH_CM4__TARGET_FPU_VFP__FPU_PRESENT=1UAfter the update, if __FPU_PRESENT=1 is still defined, a lot of warnings will be reported

Add header file
arm_math.h, if you don't have it, download it here
Link: https://pan.baidu.com/s/14BVOLcQsga9y6z6IMRqWGw?pwd=r4clExtraction code: r4clTest
#include #include "arm_math.h"int main(void){rt_kprintf("test:%.2f\r\n",arm_sin_f32(30*PI/180));return RT_EOK;} 
边栏推荐
- Mongodb出现Error: couldn‘t add user: Could not find role: [email protected] 解决方法
- Antdv+Asp.net WebApi开发学生信息管理系统(一)
- PersFormer: 3D Lane Detection via Perspective Transformer and the OpenLane Benchmark 论文笔记
- 《树上差分》小题两则
- hcip第11天
- 二分查找
- 在 SAPGUI 里使用 ABAP 报表上传 SAP UI5 应用到 ABAP 服务器试读版
- 周末放松的方式
- MYSQL高级篇----简介介绍
- 【ACWing】2714. 左偏树
猜你喜欢
随机推荐
继承关系下构造方法的访问特点
阿里云云原生数据湖体系全面解读
Fiftyone的安装和使用
论文翻译:2021_LACOPE: Latency-Constrained Pitch Estimation for Speech Enhancement
买股票用通达信交易靠谱吗?安全吗?
uniapp pages.json 简单应用
TensorFlow(六):循环神经网络
DataNode Disk Detection Service
在 SAPGUI 里使用 ABAP 报表上传 SAP UI5 应用到 ABAP 服务器试读版
Mongodb出现Error: couldn‘t add user: Could not find role: [email protected] 解决方法
Shell脚本,打包文件压缩到指定目录,每天定时任务运行脚本
多少建模师靠着zbrush这软件成家立业,你们还在等什么
周末放松的方式
【云原生--Kubernetes】PV、PVC
Force buckle 206, reverse linked list
普通人可以开户炒股吗?开户安全吗
合并两个有序链表
[QNX Hypervisor 2.2 User Manual] 10.11 vdev progress
PHP自增构造_GET
Rebate 200, the number of islands
![[LeetCode周赛复盘] 第 305 场周赛20220807](/img/9e/a09e0ebec985341f972ccc6b15aa53.png)







