裁剪基于RT-thread的温度监控系统

裁剪基于RT-thread的温度监控系统
温度监控系统
现在,来想⼀想我们能够裁剪的东西都有什么;
1. ⾸先,Hardware Drivers Config都是必要的的配置不能减少
2. 接着,RT-Thread Online Packages中:
1. peripherarl libraries and drivers中是senosrs 驱动,这个裁剪到aht10(温湿度传感器),把The number of averaging
改成1看看是否能够运⾏,结果运⾏成功;
2. IoT - internet of things中,在RT-Thread AT component porting or samples for different device → Espressif
ESP8266中把The maximum length of receive line buffer改成128
3. 在 Paho MQTT: Eclipse Paho MQTT C/C++ client for Embedded platforms中去掉Enable debug log o
utput
(再⼩就会报错,显⽰[E/at.clnt] read line failed. The line data length is out[W/UART] Warning: There is no enough
buffer for saving data, please increase the RT_SERIAL_RB_BUFSZ option.)
针式吸盘3. RT-Thread Components
1. RT-Thread Components → Device virtual file system下的 The maximal number of opened files改成8
2. RT-Thread Components → Device virtual file system → elm-chan's FatFs, Generic FAT Filesystem Module下的
Maximum sector size to be handled改成2048
3. Network → Network interface device下的Enable ifconfig features,Enable ping features,Enable netstat芯棒
features,Enable default netdev automatic change features全部去掉于克儒
4. RT-Thread Kernel
硅凝胶贴膜1. The maximal size of kernel object name改成6
2. The stack size of idle thread改成128
3. RT-Thread Kernel → Inter-Thread communication 中去掉 mailbox和message queue
发货系统4. 去掉 Enable debugging features
我有删除了spi flash的使⽤,直接把读取到的温度上传到onenet,使得⼯程⼤⼩进⼀步缩⼩;小型变速箱

本文发布于:2024-09-20 14:56:44,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/4/100471.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:温度   能够   系统   裁剪   找到
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议