嵌入式
zhang6318
十年磨一剑!
展开
-
libiio
Ubuntu 16.04.4 LTS使用cmake编译,禁用AIO、DNS_SD。git clone https://github.com/analogdevicesinc/libiio.gitcd libiiomkdir buildcd buildcmake ../ -DWITH_AIO=OFF -DHAVE_DNS_SD=OFF-- cmake version: 3.5.1-- The C compiler identification is GNU 5.4.0-- Check.原创 2021-09-02 20:03:04 · 1762 阅读 · 6 评论 -
RV1126 lsm6dsl中断未接硬件iio驱动修改
目录方法一设备树代码修改方法二设备树代码修改lsm6dsl硬件上没接中断管脚,iio驱动修改方法。方法一设备树硬件上并未接中断管脚,设备树配置一没有被使用的GPIO管脚作为中断管脚。&i2c2 { status = "okay"; clock-frequency = <400000>; lsm6dsl: lsm6dsl@6b{ status = "okay"; comp...原创 2021-09-02 20:16:09 · 895 阅读 · 0 评论 -
内核模块编译脚本
目录px3rk1808px30ag215spx3#!/bin/bashKSRC=/opt/px3/rkpx3/kernelexport PATH=${PATH}:/opt/px3/rkpx3/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/binexport CROSS_COMPILE=arm-eabi-if [ "$1" = "clean" ]; then make clean SUBDIRS=`pwd` -C ${K原创 2021-07-06 19:07:41 · 392 阅读 · 1 评论 -
yocto编译包含kernel-devsrc的sdk
目录增加kernel-devsrc编译sdk编译驱动找不到头文件找不到fixdep找不到modpost使用make scripts增加kernel-devsrcTOOLCHAIN_TARGET_TASK_append中增加kernel-devsrc,可以把内核模块开发所需的kerenl-devsrc编译进sdk。--- a/src/poky/meta-qti-bsp/recipes-products/images/qcs40x/qcs40x-base-ima..原创 2021-07-06 18:45:18 · 1032 阅读 · 0 评论 -
Open Source URL
Autowarehttps://github.com/vkrit/Autowarehttps://github.com/jsk-ros-pkg/jsk_visualizationhttps://github.com/ethz-asl/lidar_alignhttps://github.com/ros-visualization/rviz/https://github.com/ros/ros_comm/https://github.com/ros/roscpp_corehttps://gith原创 2021-05-21 13:57:26 · 120 阅读 · 0 评论 -
which_pkg.sh
which_pkg.sh#!/bin/bashif [ -n "$1" ]; then FNAME=$1fiSTIME=`date +%s`PKGS="`dpkg -l|grep "ii "|awk '{print $2}'`"for PKG in $PKGSdo #echo "$PKG ..." dpkg -L $PKG|grep $FNAME if [ 0 -eq $? ]; then原创 2021-05-18 16:31:24 · 116 阅读 · 0 评论 -
调试脚本
目录test.shvideo.ships.shGPIO.shrepo init -u ssh://git@www.rockchip.com.cn/linux/rk/platform/manifests -mrv1126_rv1109_linux_release.xmlssh://git@www.rockchip.com.cn/linux/linux/internal_doctest.sh#!/bin/bashCOUNT=0while :do wh..原创 2021-05-14 17:42:22 · 380 阅读 · 0 评论 -
编译freescale imx6 yocto bsp
repo sync & bitbakeexport REPO_URL=https://mirrors.ustc.edu.cn/aosp/git-repomkdir fsl-release-bspcd fsl-release-bsprepo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.17-1.0.0_garepo syncSDKMACHINE=`uname -m`;MACHINE=imx6原创 2021-05-14 17:40:45 · 345 阅读 · 0 评论 -
autoware /vehicel_cmd测试程序
参考资料https://gitlab.com/autowarefoundation/autoware.ai/autoware/-/wikis/Generic-x86-Docker进入容器下载autoware docker仓库,修改run.sh,删除-rm参数,否则退出容器会自动删除容器,运行run.sh进入容器。git clonehttps://github.com/Autoware-AI/docker.gitcd docker/generic./run.sh -t 1.14.0.原创 2021-03-12 19:34:18 · 827 阅读 · 0 评论 -
重新安装gerrit
重新安装gerrit#!/bin/bashcd/home/gerrit./review_site/bin/gerrit.sh stoprm -rf review_sitejava -jar ~/work/gerrit.war init -b -d review_site --install-all-plugins./review_site/bin/gerrit.sh stopcp -f gerrit.config ./review_site/etc/./review_site/bin.原创 2021-02-01 18:51:24 · 313 阅读 · 0 评论 -
davinci dm644x resizer calccoef
0804878f : 804878f: 55 push %ebp 8048790: 89 e5 mov %esp,%ebp 8048792: 57 push %edi 8048793: 56 push %esi原创 2017-04-26 20:31:56 · 591 阅读 · 0 评论 -
mpg123 /root/We\ belong\ to\ the\ sea.mp3
tinymix "Speaker Playback Volume" 100tinymix "Left Output Mixer PCM Playback Switch" 1tinymix "Right Output Mixer PCM Playback Switch" 1mpg123 /root/We\ belong\ to\ the\ sea.mp3 High Perform原创 2017-03-17 15:06:14 · 529 阅读 · 0 评论 -
3G模块测试脚本
DNS1=""UPTIME=""COUNT=""COUNT="`getprop persist.sys.reboot.count`"while :doDNS1="`getprop net.eth0.dns1`"if [ -n "${DNS1}" ]; thenUPTIME="`cat /proc/uptime|busybox awk '{print原创 2016-10-01 10:55:51 · 704 阅读 · 0 评论 -
keil uvision5
1、安装mdk514.exe2、运行C:\Keil_v5\UV4\PackInstaller.exeSTMicroelectronicsSTM32F0 SeriesKeil::STM32F0xx_DFP Update1.5.0(2016-04-04) Unpack1.4.0(2015-02-23) Remove3、安装STLink驱动C:\Keil_v5\ARM\S原创 2016-10-01 09:56:36 · 6715 阅读 · 0 评论