- 博客(79)
- 收藏
- 关注
原创 Yocto poky bitbake binutils failed with exit code ‘1‘ 的解决方案
bitbake core-image-minimal 报错:binutils failed with exit code '1'确认是相对路径的问题,当前文件夹不是poky-yocto-5.1.1/scripts/cross-intercept/通过文件管理器查看该文件(存在)改为软连接,原先的脚ar_old。,发现不止一个地方用到ar。
2025-01-02 17:17:29
342
原创 解决:Error: No STM32 target found! If your product embeds Debug Authentication, please perform a disco
STM32CubeProgrammer 连接STM32WB55 (烧写过M0的BLE FW)此时的配置为,注意Reset mode 是Software reset。改为Hareware reset,再次连接,可以正常工作。
2024-12-11 15:08:24
944
原创 Linux 配置wireshark 分析thread 使用nRF-Sniffer dongle
如何在linux下配置wireshark,查看Openthread的消息
2024-08-27 17:45:13
991
原创 python pyinstaller 打包后运行找不到模块
在命令行中python 程序可以运行,但是pyinstaller 打包后运行找不到模块
2024-05-22 10:45:36
3224
原创 install wxwidgets and wxPython on Linux
https://wiki.wxwidgets.org/Compiling_and_getting_startedhttps://wiki.wxwidgets.org/Compiling_and_getting_started pip install wxPython
2023-07-28 15:32:59
403
原创 ESP32-s2芯片esp32-s2-saola-1开发板 micropython的repl连接
本文只是解决通过esp32-s2-saola-1开发板 自带microUSB 作为repl与micro python通信的问题。原因:micropython 的镜像将repl通过原生USB,所以板载microUSB只能看到debug信息。2. esp32-s2-saola-1板载microUSB,通过USB先访问。如果你对esp32,micropython不熟,本文不适合你。1. esp32-s2原生USB,需要通过插针访问。如果你用的不是esp32-s2,你不需要关心。先说结论需要硬接线原生USB。
2023-04-23 13:25:59
747
原创 Linux环境下vs code中Markdown与PlantUML联合工作
在VS code中配置markdown和PlantUML,可以即时生成UML图。
2022-12-29 16:54:23
1002
原创 超宽带(UWB)开发板BU0/DW1000性能测试
本实验目的是测试NodeMCU-BU01开发板测距的性能。BU01是基于Decawave的DW1000设计的超宽带(UWB)收发器模组。BU01可以用于双向测距或TWR定位系统中,定位精度可达到10厘米,并支持高达6.8 Mbps的数据速率。
2022-12-29 16:40:46
2110
原创 安装vmware tools 后也不能和主机之间复制、粘贴内容、拖拽文件的解决方案
安装vmware tools 后也不能和主机之间复制、粘贴内容、拖拽文件的解决方案
2022-05-24 18:58:55
2065
2
原创 JNI 最佳实践 Best practices for using the Java Native Interface
该文章为Best practices for using the Java Native Interface – IBM Developer的笔记,也是Java Native Interface (JNI) 简介_coolwaterld的专栏-优快云博客的延续。
2022-03-03 17:48:47
502
原创 Java Native Access简介, 解决java.lang.NoClassDefFoundError和cannot find symbol com.sun.jna.Library问题
目录Introduction to JNAWho use JNA?FeaturesWhy JNA下载jarHello World示例总结:对比JNI和JNA方法JNI的方式JNA的方式Introduction to JNAJava Native Access (JNA) is a community-developed library providing Java programs an easy access to native shared libr.
2022-02-23 13:58:58
2149
原创 Java Native Interface (JNI) 简介
本文为Core Java Volume II Advanced Features 11th.Edition笔记,介绍如何使用JNI接口,主要用于java调用本地接口(C,CPP)
2022-02-23 11:38:11
721
原创 rpcgen: c语言实现远程过程调用
Those who do not understandUnixare condemned to reinvent it, poorly.不懂Unix的人注定最终还要重复发明一个蹩脚的Unix。Usenet 签名, 1987 年11 月 ——Henry Spencer1. 如何使用rpc?先要安装rpcbind库(可能需要portmap支...
2021-11-04 09:12:14
673
原创 解决 docker portainer的invalid credentials问题 Unable to retrieve endpoints
在运行docker portainer是(127.0.0.1:9000)报错, Invalid credentials ,Unable to retrieve endpoints。解决方法:1.删除对应的docker container2. 删除加载的volumesudo ls/var/lib/docker/volumes/portainer_datasudo rm -rf/var/lib/docker/volumes/portainer_data3. 重新运行dock...
2021-08-10 13:40:11
4645
原创 在Arduino和ESP32-s2环境下,测试WiFi Fine Time Measurement (FTM) Round Trip Time (RTT) 的定位和测距
1. 原理http://people.csail.mit.edu/bkph/ftmrtt_intro优点是AP和phone不需要是同步。The round trip time measurements are not perfectly accurate, being subject to various types of measurement error, RF interference as well as the positions and motions of objec.
2021-08-02 14:25:10
3035
1
原创 解决 “Error: connect ECONNREFUSED“ 在docker 中,使用node-red-contrib-influxdb(Node-RED) 连接 influxDB2
目标:在dockers中分别运行influxdb2和Node-RED,Node-RED中node-red-contrib-influxdb(0.6.1)作为客户端读写influxdb2架构:前提:Docker (18)Python(3.7.3,optional)安装环境:1. Influxdb[1]1.1 InstallCreate a new directory to store your data in and navigate into..
2021-07-20 14:20:28
4206
原创 TTGO T-Watch-2020 编程系列(三) Hello World,添加日期在主屏幕
本文深度依赖 TTGO T-Watch-2020 编程系列(二) 开发环境的搭建Windows, 没看过的请先看https://blog.youkuaiyun.com/coolwaterld/article/details/109067854 不知道什么是TTGO T-Watch-2020的请参看TTGO T-Watch-2020 编程系列(一)基于ESP32可编程手表简介,https://blog.youkuaiyun.com/coolwaterld/article/details/109065963 决定是否需要看本文 本
2020-10-14 13:22:41
1689
原创 TTGO T-Watch-2020 编程系列(二) 开发环境的搭建Windows
现阶段只介绍windows下的环境搭建,Linux和Mac的环境类似。这里只介绍Arduino开发,还可以用其他的工具 visual studio code + PlatformIO或者micropython等,总之ESP32能用的开发环境TTGO T-Watch-2020都能用。只是驱动支持的好不好问题。以后会介绍基于micropython,lua或者node.js的环境搭建。主要参考文档:https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Libr
2020-10-14 11:02:39
3609
2
原创 TTGO T-Watch-2020 编程系列(一)基于ESP32可编程手表简介
T-Watch-20201什么是?它不是一个消费类的手表!待机时间短(默认程序待机不到1天),需要二次开发,比手环贵,不防水……. 总之,你不知道arduino, esp32,那么请飘过,这个手表不适合你,当然这篇文章也不适合你(不是嫌弃你,只是不想浪费你时间)。它是一块ESP322开发板(240 MHz 主频双核处理器+Wi-Fi+蓝牙的soc),+触摸屏+电源模块(380mA电池)+三轴加速度传感器++RTC时钟+震动马达+扬声器+红外信号发生器+表壳表带(作为开发板它是很值得的)+外置fals
2020-10-14 09:39:16
7575
1
原创 How to resolve `unmet dependencies, Depends: nodejs but it is not going to be installed` npm
为了安装Node-Red,将ubuntu 18.04 的node.js v8 升到node.js v10[Supported Node versionshttps://nodered.org/docs/faq/node-versions]1. 安装node.js v10sudo apt install curlcurl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -sudo apt install nodejs...
2020-05-12 11:09:32
2111
1
原创 Mosquitto MQTT Broker 服务器的配置,增加登录鉴权设置
本文的重点是从匿名访问mqtt broker(只需要Ip和port),到需要登录(用户名和密码)和鉴权(发布和订阅那些topics)的过度的 过程。安装 Mosquitto MQTT Broker 1sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppasudo apt-get updatesudo apt-get...
2020-05-07 13:20:58
2933
原创 跨平台桌面GUI程序wxPython wxwidgets wxFormBuilder
目的:快速开发跨平台(windows, linux)桌面应用程序环境搭建:Windows篇安装wxwidgetswxWidgets是一个开源的跨平台的C++构架库(framework),它可以提供GUI(图形用户界面)和其它工具。目前的2.x版本支持所有版本的Windows、带GTK+或Motif的Unix和MacOS。一个支持OS/2的版本正在开发中。https://www.w...
2020-04-21 14:55:51
1496
原创 在Windows 下用Visual Studio编译 paho.mqtt.c
Pre-condition:Microsoft Visual Studio 14.0 2015 cmake/cmake-gui Openssl下载地址:https://slproweb.com/products/Win32OpenSSL.html版本没有特别要求,我用的是Win64 OpenSSL v1.1.1d,注意两点:下载openssl Win32 Win64 和你要...
2019-10-24 14:10:34
3411
原创 [Error] assignment to expression with array type
int array1[] = {1,2,3};int *array2;int array3[3];array2 = array1;//copy pointer onlyarray3 = &array1;//errorTo elaborate, fromC11, chapter §6.5.16assignment operator shall have a mo...
2019-08-20 09:52:46
16210
原创 在lua语言中修改的模块文件(module)不会在使用的文件(require)中立即生效
硬件:ESP8266为核心的wemos d1 minihttps://s.taobao.com/search?q=wemos+d1+mini&imgfile=&js=1&stats_click=search_radio_all%3A1&initiative_id=staobaoz_20190315&ie=utf8固件:NodeMCU任务:以mod...
2019-03-15 16:47:46
1359
原创 动态链接库和静态链接库的相互包含问题及实现
动态链接库和静态链接库的基本概念请参考1.《深入理解计算机系统》第七章链接2.《程序员的自我修养》第4章 静态链接和第7章 动态链接3.http://blog.jobbole.com/86852/目的为了封装代码,简化接口,我们要把已有应用代码封装为动态链接库,应用代码又调用了其他库的文件,为了减化编译配置,我们希望动态库直接调用其他库,固测试以下四种情况(含测试...
2018-12-19 09:58:15
5217
1
原创 零基础构建OpenDDS demo quick started
零基础构建OpenDDS demo参考:OpenDDS Developer's Guide 第二章Getting Started1.建立idl内容:2. 生成工程文件2.1 运行tao_idl(此步骤可以跳过)~/Downloads/OpenDDS-3.13/DevGuideExamples/Messenger$ tao_idl Messenger.idlp...
2018-12-05 15:40:16
2079
1
原创 利用树莓派漏极输出控制电机 Using Raspberry Pi open drain output GPIO to control a moter
Keyword关键字Raspberry Pi树莓派, GPIO 通用IO, open drain output漏极输出Motivation动机项目中有一个pwm控制的电机,需要漏极开路[8]( An open collector is a common type of output found on many integrated circuits (IC), which behaves ...
2018-12-05 11:23:40
1114
原创 HIgrow(ESP32 Rev1 WiFi 蓝牙电池 DHT11土壤温度湿度传感器模块)使用指南
Higrow使用指南作者:coolwaterld邮箱:coolwaterld@hotmail.com安装arduino (windows)https://downloads.arduino.cc/arduino-1.8.7-windows.exe 安装ESP32扩展https://randomnerdtutorials.com/installing-the-esp32-...
2018-11-06 10:51:50
6489
2
转载 Idioms for C programmers
Idioms for C programmersThis document collects some idiomatic examples of the C way of doing things. None of these examples have been tested. Please report errors or difficulties to comp40-staff.Fo...
2018-07-26 12:23:12
216
原创 CMakeLists 中file GLOB的陷阱:undefined symbol错误
例子:为了规范代码写了如下CMakeLists##############################################################################################################################Files include##############################...
2018-07-26 11:34:06
6491
原创 关于OPCUA 协议 Bad Certificate Untrusted问题的解决
在windows环境下运行UA demo server 和 UAexpert,解决 Bad Certificate Untrusted问题的解决
2017-07-18 15:56:38
15021
11
原创 在虚拟机下运行gazebo,关于vmw_ioctl_command error Invalid argument错误
解决 在虚拟机下不能运行 ROS gazebo的问题
2017-05-18 15:02:38
17691
12
原创 ubuntu下安装和更新R语言
本文主要讲解在ubuntu下如何安装和更新R语言。将分别介绍什么是R语言,简单方法安装R语言,通过更新源来安装或更新R语言,和安装R语言集成开发环境。
2015-12-15 11:32:03
11557
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人