03 2019 档案

摘要:split_lzo_lib.sh #!/bin/sh#输入文件名filename=$1#分割文件大小filesize=4096#输出库文件名libname="lib"$(echo $filename | tr . _)".a"#输出头文件名hname=$(echo $filename | tr . 阅读全文
posted @ 2019-03-29 20:29 阿C 阅读(123) 评论(0) 推荐(0) 编辑
摘要:openocd.sh #! /usr/bin/expectset timeout 30spawn suexpect "密码:"send "123456\r"send "./killopenocd.sh\r"send "openocd --file ./board/ek-lm3s8962.cfg\r" 阅读全文
posted @ 2019-03-29 20:24 阿C 阅读(442) 评论(0) 推荐(0) 编辑
摘要:#!/bin/sh#输入文件名filename=$1#分割文件大小filesize=4096#输出库文件名libname="lib"$(echo $filename | tr . _)".a"#输出头文件名hname=$(echo $filename | tr . _ | awk '{print $ 阅读全文
posted @ 2019-03-29 20:20 阿C 阅读(225) 评论(0) 推荐(0) 编辑
摘要:有些特殊情况下需要实现将系统内普通用户限定在指定目录下,并且只能使用系统管理员设定的命令。lshell就是实现这样功能的一个神器。 lshell提供了一个针对每个用户可配置的限制性shell,lshell的配置文件非常的简单,可以和ssh的authorized_keys或者/etc/shell、/e 阅读全文
posted @ 2019-03-13 10:36 阿C 阅读(838) 评论(0) 推荐(0) 编辑
摘要:https://www.acmesystems.it/socat This article illustrates how to realize a lan to serial gateway Remote unit On the remote unit install ser2net then a 阅读全文
posted @ 2019-03-11 14:55 阿C 阅读(913) 评论(0) 推荐(0) 编辑
摘要:https://stackoverflow.com/questions/29207980/bridge-serial-ports-over-network For an application, which uses SerialPorts for communication (Modbus RTU 阅读全文
posted @ 2019-03-11 13:58 阿C 阅读(138) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示