![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Shell
文章平均质量分 66
ZhongNanJingYun_Blog
这个作者很懒,什么都没留下…
展开
-
STM32CubeMx +STM32CubeIDE Test Dev Environment
IDE Downloadhttps://www.st.com/zh/development-tools/stm32cubeide.html#documentationInstallationBe careful ,make sure the path not contain Chinese , other wise may indicate Error Launch InstallSo ,the English path is very importantCreate a Test Proje原创 2021-03-27 23:24:14 · 315 阅读 · 0 评论 -
Ubuntu cmake 编译环境搭建及编译方法 (lesson 02)
多个文件、目录、动态库编译测试不同目录下的工程编译文件目录执行编译测试不同目录下的工程编译文件目录先看工程文件的结构Demo02love@ubuntu:~/workspace/CMakeProject/Demo02$ tree.├── CMakeLists.txt├── main.c└── Math ├── CMakeLists.txt ├── MathFunction.c └── MathFunction.h1 directory, 5 files参考文件原创 2020-07-07 22:57:40 · 819 阅读 · 0 评论 -
Ubuntu cmake 编译环境搭建及编译方法 (lesson 01)
Linux cmake 使用方法下载cmake 并安装第一个程序下载cmake 并安装下面展示一些操作 内联代码片。sudo apt-get updatesudo apt-get install cmakelove@ubuntu:~$ cmakeUsage cmake [options] <path-to-source> cmake [options] <path-to-existing-build>Specify a source directory t原创 2020-07-06 23:02:53 · 2817 阅读 · 0 评论 -
Linux 进程获取并实现多个进程排队执行
在实际应用中,发现如果多用户多核编译,会造成内存和CPU占用过多,导致系统卡死或者编译失败。那么如何实现编译排队呢?即,一个时间内只允许一个用户进程执行编译,检测到多余1个进程在编译时,当前用户的编译进程先等待,直到其它进程退出或者完成后再执行。先来了解一下原理:比如我们看bash进程,ps -u,并且,如果bash 进程超过5时,退出软件执行;小于5个时,等待检查;当只有1 个bas...原创 2019-06-15 11:04:28 · 2008 阅读 · 0 评论 -
shell脚本诊断网络状态,并设置开机自启动
在使用过程中会偶发Linux开发机器失联的情况,这时候需要重启机器,并且做到开机自诊断具体实现如下,先完成脚本的编写,记得设置权限777,生成的日志也最好置为777#!/bin/bash### This script aim to diagnosit the Network status###echo "Start to ping the Network status"...原创 2019-06-10 17:08:47 · 813 阅读 · 0 评论