原创 UE的相關操作

將UE添加到右鍵打開 打開UE–>高級–>配置–>文件關聯 然後勾選集成到資源管理器即可。

原创 SI的基礎操作

*1 添加類型支持 1.1 添加makefile支持 Options -> Document Options-> 點擊Document Type的下拉框,然後選擇Make File,在右邊的File Filter中,在原先的.

原创 rzsz命令安裝

兩種方式:yum或源碼。 1 yum安裝 yum install lrzsz -y 2 源碼安裝 下載lrzsz-0.12.20.tar.gz tar zxvf lrzsz-0.12.20.tar

原创 Android.mk file syntax specification

Android.mk file syntax specification Introduction: This document describes the syntax of Android.mk build file wri

原创 Linux下操作GPIO

背景 嵌入式Linux下需要經常操作GPIO管腳,其中一種方式是使用/sys/文件系統下內核暴露出來的gpio文件。 代碼 #include <stdio.h> #include <string.h> #include <stdl

原创 Linux下操作串口

背景 嵌入式Linux開發,繞不開串口操作。 代碼 #include <stdio.h> #include <string.h> #include <stdlib.h> #include <termios.h> #include

原创 setitimer定時器的簡單使用

1 函數簡介 #include <sys/time.h> int setitimer(int which, const struct itimerval *new_value, struct i

原创 Bananapi R2 定製系統

背景 由於項目需要使用了Banana Pi R2這塊板子。參考的資料主要是官方的wiki、GitHub以及論壇。 官網:http://banana-pi.org/ Wiki:http://wiki.banana-pi.org/M

原创 Unix Socket - Quick Guide

What is a Socket? Sockets allow communication between two different processes on the same or different machines. To be

原创 連接設備上的有線

1 lsusb查看以太網設備的號 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub B

原创 linux下的時間操作

1 概述 由UNIX內核提供的基本時間服務是計算自國際標準時間公元1970年1月1日00:00:00以來經過的秒數。這種秒數是以數據類型time_t表示的,我們稱之爲日曆時間。一旦取得這種以秒計的整型時間值後,通常要調用另一個時間函數將其

原创 win7下Qt Creator使用Gsoap

1 獲取gsoap源碼解壓到相應目錄,得到D:\Codes\gsoap-2.8\2 添加環境變量 set GSOAP=D:\Codes\gsoap-2.8\gsoap set PATH=%PATH%;%GSOAP%\bin\win323

原创 ubuntu14.04基礎設置

一 安裝交叉編譯環境  1解壓   sudo tar zxvf arm-linux-gcc-4.4.3.tar.gz -C /usr/local/  2設置環境變量  sudo vi /etc/environment  在添加/usr/l

原创 Linux下比較文件夾大小

diff -ruNa dir1 dir2 > test.diff 參考文章:http://bbs.csdn.net/topics/370146124

原创 在z-stack中開啓看門狗

1 使能WDT_IN_PM1 2 在main函數的下面位置處開啓 #ifdef WDT_IN_PM1 /* If WDT is used, this is a good place to enable it. */ Watch