摘要: A file name consists of file name components separated by slash (‘/’) characters. On the systems that the GNU C library supports, multiplesuccessive ‘ 阅读全文
posted @ 2022-04-27 20:44 赤色 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1、 math cannot parse the expression: "*100 + ": syntax error, unexpected exp_TIMES, expecting exp_PLU change "dumpversion" to "dumpfullversion" 2、the 阅读全文
posted @ 2021-12-11 12:26 赤色 阅读(132) 评论(0) 推荐(0) 编辑
摘要: linux下当服务器连接断开,客户端还发数据的时候,因为连接失败发送出错,不仅send()的返回值会有反映,而且还会向系统发送一个异常消息,如果不作处理,系统会出 BrokePipe,程序会退出。 为此,send()函数的最后一个参数可以设MSG_NOSIGNAL,禁止send()函数向系统发送异常 阅读全文
posted @ 2021-08-10 11:52 赤色 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 设备是免驱虚拟串口,加载到的驱动是cdc_acm 但是按原来操作其它串口的代码,flock这个函数报错了,看起来是被其它程序加了锁,导致现在的独占锁失效了。 查了下果然是modem-manager搞的,网上有些通过配置文件进行处理的方式取绕开,测试没有效果,而且也有说这种做法有一定风险。 最后对AC 阅读全文
posted @ 2020-11-30 00:26 赤色 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 方案商的开发板上otg功能只能做device,硬件看过后说没有5v供电,加上后能够识别U盘了,但是内核报了错 [ 3.264000] usb 2-1: new high-speed USB device number 2 using dwc_otg[ 3.280000] BUG: sleeping 阅读全文
posted @ 2019-01-23 02:39 赤色 阅读(1170) 评论(2) 推荐(0) 编辑
摘要: 用w5500做网页iap升级, 文件上传正确, 对比内部flash内容也正确, 就是不跳转. 查资料, 怀疑是中断的影响. 在跳转前关闭中断, 问题解决! 阅读全文
posted @ 2017-02-17 14:34 赤色 阅读(3204) 评论(0) 推荐(0) 编辑
摘要: 库函数默认8MHz晶振,应根据实际硬件选择 # CMSIS/stm32f10x.h 阅读全文
posted @ 2016-12-19 17:37 赤色 阅读(599) 评论(0) 推荐(0) 编辑
摘要: DR(Instantaneous Decoding Refresh)--即时解码刷新。 I和IDR帧都是使用帧内预测的。它们都是同一个东西而已,在编码和解码中为了方便,要首个I帧和其他I帧区别开,所以才把第一个首个I帧叫IDR,这样就方便控制编码和解码流程。IDR帧的作用是立刻刷新,使错误不致传播, 阅读全文
posted @ 2016-09-01 21:57 赤色 阅读(141) 评论(0) 推荐(0) 编辑
摘要: sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-javaX-installersudo update-alternatives --config java* 阅读全文
posted @ 2015-08-04 16:15 赤色 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 参考: http://wiki.openwrt.org/doc/techref/uc http://luci.subsignal.org/api/luci/modules/luci.model.uci.html lua代码中获取配置文件中的值1 local x = ... 阅读全文
posted @ 2015-07-09 12:31 赤色 阅读(1142) 评论(0) 推荐(0) 编辑
知识共享许可协议本博客作品采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议进行许可。