摘要: l 系统分层-说明 首先,这是我最新的嵌入式架构分层。强调高内聚低耦合还有面向对象编程。将具体的硬件过程抽象化,提高可移植性。所有数据尽量内部处理,再提供给外部操作接口。 其中PHAL和HAL层一样,是应该基础化的。HAL层由厂商提供,PHAL只能根据需求组装HAL后,为上层所有内容服务。因此平台需 阅读全文
posted @ 2019-02-22 01:48 WittXie 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 由于CSDN不支持metaweblog,所有内容移至博客园。 我的博客园博客地址:戳我 https://www.cnblogs.com/wittxie/ CSDN写文章真的难受,具体原因你们看下我这两篇文章对比,就知道了。 CSDN博客:https://blog.csdn.net/a7232799/ 阅读全文
posted @ 2018-10-23 15:13 WittXie 阅读(442) 评论(1) 推荐(0) 编辑
摘要: 简介 Makefile 是和 make 命令一起配合使用的,很多大型项目的编译都是通过 Makefile 来组织的,。 我建立工程的方法有以下三点: 1.makefile: 优点:使用非常广泛,通用性强,可跨平台。 缺点:语法比较蛋疼。要写出一个通用,便于管理,且兼容性强的makefile比较困难。 阅读全文
posted @ 2018-10-23 13:22 WittXie 阅读(30837) 评论(0) 推荐(11) 编辑
摘要: 压缩解压 指令 强烈建议使用:bz2 bz2 压缩: tar -cjvf XXX.tar.bz2 <目标路径/文件名> 解压: tar -xjvf XXX.tar.bz2 -C <目标路径> 查看: tar -tf XXX.tar.bz2 gz 压缩: tar -czvf XXX.tar.gz <目 阅读全文
posted @ 2018-01-11 00:09 WittXie 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Install Visual Studio Code Insiders add plug in (ms vscode remote.vscode remote extensionpack) press and input select a config file and then input fol 阅读全文
posted @ 2019-05-15 18:10 WittXie 阅读(325) 评论(0) 推荐(0) 编辑
摘要: git push by other PC Command line instructionsYou can also upload existing files from your computer using the instructions below. Git global setupgit config --global user.name "Witt Xie"git config... 阅读全文
posted @ 2019-05-05 22:07 WittXie 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 转自 [https://www.cnblogs.com/chengmo/archive/2010/10/17/1853344.html] Linux Shell 通配符、元字符、转义符使用实例介绍说到shell通配符(wildcard),大家在使用时候会经常用到。下面是一个实例: [chengmo@ 阅读全文
posted @ 2019-04-16 16:54 WittXie 阅读(3745) 评论(0) 推荐(0) 编辑
摘要: 建立.bat脚本分别放入以下两端代码 备份.bat 还原.bat 阅读全文
posted @ 2019-04-14 19:01 WittXie 阅读(2682) 评论(0) 推荐(0) 编辑
摘要: How to use samba to share your folder in linux Share your folder in linux by samba Install samba I use ubuntu taking an example. apt-get install samba 阅读全文
posted @ 2019-03-29 17:09 WittXie 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 前言:想在Windows下编辑,然后转到Linux下编译。但由于工程太大,故用共享的方法。我把我遇到的坑在这里记录一下,方便日后查验回顾。 Windows共享:1. 你的 是括号后面的(有的时候还要输入组名).2. 因为安全原因微软把SMBv1默认设置为关闭。而Ubuntu16的内核只支持SMBv1(Ubuntu16支持SMBv2)。所以要手动把SMBv1打开。lsl 具体操作:在【程序... 阅读全文
posted @ 2019-03-22 15:22 WittXie 阅读(1596) 评论(0) 推荐(0) 编辑
摘要: 文件夹/文件名:全部小写 + 下划线 理由:Linux下方便编辑查看 规则:所属 _ 功能 举例: 文件夹:phal drive 文件:phal_usart.c os_core.c 文件夹:phal drive 文件:phal_usart.c os_core.c 函数:首字母大写(缩写组合也是如此) 阅读全文
posted @ 2019-03-05 15:10 WittXie 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 拖动Excel Word PPT等Office软件时,鼠标拖动缓慢 。 微软给出的解决方案是: 1. 将鼠标的回报率降低到125。 2. 将N卡独显配置成自动。 3. 将设置 ->加载项 -> 管理(COM加载项)->转到 -> [去掉所有的√] ->确定 ->重启电脑 阅读全文
posted @ 2019-01-05 20:30 WittXie 阅读(13790) 评论(0) 推荐(0) 编辑