- 博客(262)
- 资源 (22)
- 收藏
- 关注
转载 向UBOOT 中添加自己的板子
Author:DriverMonkeyMail:bookwore.peng@hotmail.comPhone:18575593141(微信)6.4.1. U-Boot Board Port6.4.1.1. OverviewSPL and U-Boot share a common code base. When adding a custom board to U-Boot it is recommended to start out with a TI EVM that resembles
2020-10-24 10:05:13
1777
原创 嵌入式开发神器之 BuildRoot 开篇(1) --- 下载 Build Root
目的:提高嵌入式开发效率(MakingEmbeddedLinuxEasy)测试平台:1)开发机 --- Linux version 3.13.0-32-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 20142)被测设备 --- Zynq 7000下载链接:https://buildroot.org...
2020-10-21 08:54:09
1068
原创 GCC 优化测试
Author:DriverMonkeyMail:bookwore.peng@hotmail.comPhone:18575593141GCC 优化选项: -O3测试平台:zynq测试代码:int main(){ int a = 0; int b = 0; int c= 0; for(i...
2020-03-31 11:35:23
683
原创 多核加速(OPENMP)测试
Author:DriverMonkeyMail:bookwore.peng@hotmail.comPhone:18575593141 测试环境:Linux version 4.15.0-33-genericgcc version 5.4.0Ubuntu 5.4.0-6ubuntu1~16.04.10四核处理器测试代码://how to compile --...
2018-09-27 11:17:25
1875
原创 调试开发板 ZCU102 (Zynq Ultrascale+ MPSoC ) 遇到 program interpreter 不匹配问题
Athor:DriverMonkey测试环境:开发机 ---Ubuntu 5.4.0-6ubuntu1~16.04.10开发板 ---ZynqMP ZCU102 Rev1.0问题现象:自己编译的环境的 APP 到开发板上运行有如下错误 ----sh: ./a.out: No such file or directory问题原因:由于 开发板上的li...
2018-09-13 08:51:37
2200
原创 Pyhon 调用MATLAB 代码
Python 调用 Matlab 环境搭建教程 Author:Bookwore.PengDate:2018.02.07Version:1.0 本教程测试环境:WIN764bit软件安装权限全开加密卸载 1.准备安装包:python-3.4.4.amd64.msiMatlab2015b注意:Matlab2015b 版本与python版本有对应关
2018-02-07 18:06:34
575
原创 可重用代码的基本特性
Mail:Bookworepeng@hotmai.com Phone:185755931411.代码容易找到且容易理解2.对代码正确性很有把握3.不需要从包含他的外层代码把他分开4.当代码需要用于新程序时不需要进行修改
2017-10-19 08:19:16
1411
原创 linux 支持USB WIFI 调试 log
开发环境:HOST---- UBUNTUARM 芯片 ---- AM335Xauthor:DriverMonkeyStep1: 修改内核配置[*] Networking support ---> [*] Wireless ---> cfg80211 - wireless configuration API
2017-02-24 10:24:03
1801
原创 时钟频率对程序效率影响测试(Platform: ARM ZYNQ 7000 ZP20 Board)
Mail:bookworepeng@Hotmail.comphone:18575593141Platform: Zynq ZP20 开发板 WINCE 7.0(windows embedded compact 7 )测试代码:#include "stdafx.h"int _tmain(in
2016-11-02 10:24:09
2565
原创 Windows Embedded Compact 7(wince 7) 内存大小修改记录
Mail:Bookwore.pengPhone:18575593141测试板---Zynq ZC702 内存大小为 1G ps:Adeneo Bsp 版本有bug 没有支持到1 G 内存修改点 1(config.bib) ... OCM 80000000 00040000 RESERVED UNMAPPED 8004
2016-10-24 08:38:05
1482
转载 修改linux host name
How to Change the Hostname of a Linux SystemAUG 7TH, 2006 | COMMENTSNormally we will set the hostname of a system during the installation process. Many peoples don’t care about this, and
2016-10-19 11:04:40
734
原创 WINCE 7 开机桌面 Logo 修改
Step1:将此目录 C:\WINCE700\platform\ZYNQ7000\FILES 下的 logo 文件替换为自己想要的logo文件PS:logo 文件名保持原来的不变编译NK 文件的时候, 根据 platform.bib 文件 的 "wallpaper.jpg $(_TARGETPLATROOT)\FILES\Wallpaper_800x480.jp
2016-08-22 16:14:30
1034
原创 QML 值改变信号
Athor: DriverMonkeyQQ:196568501 visible: true width: 640 height: 480 title: qsTr("Hello World") property color preColor: "red" property color nextColor: preColor onPreC
2016-07-22 07:14:17
2184
原创 属性值改变信号
属性值改变信号就是,当对象属性改变后,改变信号发送给属性对应的对象。本例中 ApplicationWindow 对象 color 属性修改, color 属性对应的属性值改变信号(onColorChanged)就是收到响应的修改信号import QtQuick 2.7import QtQuick.Controls 2.0import QtQuick.Layouts 1.0Appli
2016-06-26 07:54:07
1612
原创 QT 信号处理
信号处理需要特别注意的是声明语法:on,其中Signal 为信号名字(首字母大写)代码如下:import QtQuick 2.7import QtQuick.Controls 2.0import QtQuick.Layouts 1.0ApplicationWindow { id: appWindow visible: true width: 640
2016-06-26 07:33:35
1685
原创 qt 属性动态绑定
测试环境:qt5.7 所谓的动态绑定就是,将对象的一个属性与另外一个属性关联。如:子对象的width 与父对象的width关联为 子为父的二分之一, 当父对象width 改变子对象也跟着按二分之一比例修改。 实力代码如下所示:import QtQuick 2.7import QtQuick.Controls 2.0import QtQuick.Layouts 1.0Applicat
2016-06-26 06:48:48
2064
原创 u-boot 中读写寄存器
如下所示:mw 0xE0003170 0xa0000000;mw 0xE0003170 0x40010000;md 0xE0003170 1
2016-05-28 09:52:53
7812
2
原创 zynq 7000 通过 ULPI 访问 usb phy 寄存器
如下所示:devmem 0xE0003170 32 0xa0000000;devmem 0xE0003170 32 0x40000000;devmem 0xE0003170
2016-05-27 18:34:27
4924
转载 MVC 详解(例子)
OpenGL Windows GUI ApplicationThis article is about a MVC (Model-View-Controller) framework to create OpenGL GUI applications on Windows platform. MVC architecture is a common design framework for
2015-11-10 09:19:52
1311
1
转载 Floating Point Optimization(ARM 浮点优化方案)
Floating Point Optimization目录 [隐藏] 1 Introduction2 Compiler Support3 VFP-Lite RunFast4 Single Precision Floating Point5 NFP / VFP to ARM Transfers6 NEON SIMD7 Summary
2015-09-22 18:15:14
2922
原创 Linux USB HID Device 测试代码
//测试平台:linux 3.2, am335x//Author:DriverMonkey/****************************************************************** Author: DriverMonkey* Mail: bookworepeng@Hotmail.com* Phone: 18575593141* Q...
2015-02-08 09:12:11
6913
9
原创 递归练习之 给出任意浮点数, 找出将小数部分变为整数最小整数值
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bo
2014-11-29 08:29:33
1467
原创 递归练习之 a 到 b 的整数和 (c/c++)
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bo
2014-11-26 23:39:44
1429
原创 递归练习之换零钱方式统计(c/c++)
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bo
2014-11-26 23:08:11
2748
原创 递归练习之求 x 的 N 次方
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bo
2014-11-25 22:59:46
6510
原创 递归练习之斐波那契数列
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bo
2014-11-24 23:49:36
950
原创 递归练习之求立方根
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bo
2014-11-24 23:13:46
1064
原创 递归练习之求平方根
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bo
2014-11-24 23:04:47
4063
1
翻译 linux 线程切换效率与进程切换效率相差到底有多大?
Author:DriverMonkeyMail:bookworepeng@Hotmail.comPhone:13410905075QQ:196568501Are Linux threads the same as other implementations?No. They are better -- while mostly keeping
2014-11-09 11:38:45
3699
原创 C++ 打印文件名, 行号,编译日期和时间例子
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Ma
2014-11-01 23:42:23
2309
原创 c++ 文件写例子
#include #include #include >using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char** argv) { ofstream
2014-11-01 23:11:13
940
原创 怎样在UBUNTU下写驱动测试代码
Author:DriverMonkeyMail:bookworepeng@Hotmail.comPhone:13410905075QQ:196568501测试环境:Win7跑UBUNTU
2014-06-29 19:39:37
1407
原创 模板特化和偏模板特化例子(template specialization and partial template specialization)
测试环境:win7 64g++ 4.8.1
2014-06-16 22:35:45
1188
原创 Template template parameter(模板参数) example
/********************************************************************************* Copyright (C), 1988-1999, drvivermonkey. Co., Ltd. File name: Author: Driver Monkey Version: Mail:bookwor
2014-06-14 20:56:25
1361
原创 读-《c++设计新思维-泛型编程与设计模式之应用》经典记录(英文书名:《modern c++ design》)
1.以设计为目标的程序库都必须帮助使用者完成精巧的设计,以实现使用者自己的constraints,而不是实现预先定义好的constraints.
2014-06-10 22:28:29
1435
翻译 UBUNTU 下怎样升级 gcc, g++
正如大家说知道的GCC并不支持"make uninstall". 一种推荐安装方式就是把GCC 安装在你自己指定的一个路径,当你不需要某个GCC版本的时候你只需要移除对应版本即可。假设你已经有一个老的版本在你的系统中,最简单的范式就是: 1)添加PPA(Personal Package Archive)到里的程序仓库(repositories )里 2更新
2014-05-31 23:56:23
2108
原创 记一次在linux 平台上的优化调试
Author:DriverMonkeyMail:bookworepeng@Hotmail.comPhone:13410905075QQ:196568501测试平台:AM335Xyouhua
2014-05-22 23:17:39
1529
原创 c++11 stl atomic_flag 例子
Author:DriverMonkeyMail:bookworepeng@Hotmail.comPhone:13410905075QQ:196568501测试环境:Win7 64 bit编译器:gcc 4.81测试代码-/*************************************************
2014-05-02 10:15:11
2347
原创 C++ multimap equal_range 例子
Author:DriverMonkeyMail:bookworepeng@Hotmail.comPhone:13410905075QQ:196568501
2014-04-30 23:33:43
7021
2
portmap ARM 平台
2014-04-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人