LXG Blog

Rome was not built in a day.

MQTT C

T113 Linux

Github paho.mqtt.c github/paho.mqtt.c$ tree -L 1 . ├── about.html ├── android ├── appveyor.yml ├── build ├── build.xml ├── cbuild.bat ├── cmake ├── CMakeLists.txt ├── CMakeLists.txt.user ├── COD...

Buildroot MQTT

T113 linux

EMQ EMQ-sdk MQTT Config buildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig BR2_PACKAGE_PAHO_MQTT_C=y # BR2_PACKAGE_PYTHON_PAHO_MQTT is not set buildroot/buildroot-201902/packag...

Ubuntu2204 编译OpenHarmony

触觉智能 rk3566 OpenHarmony3.2

触觉智能 Purple Pi OH 编译报错-1 mock_stub_an.cpp:16:10: fatal error: 'cstdint' file not found 解决方案 sudo apt install llvm clang libstdc++-12-dev 编译报错-2 [OHOS ERROR] ../../arkcompiler/runtime_cor...

Buildroot dhcpcd编译报错问题

T113

编译报错日志 make[3]: *** ../: Is a directory. Stop. >>> dhcpcd 7.0.3 Building PATH="/home/lxg/code/t113_linux/out/t113/evb1_auto/longan/buildroot/host/bin:/home/lxg/code/t113_linux/out/t113...

固定串口编号

USB转串口编号获取问题

打开CH341 CP210X驱动 CONFIG_USB_SERIAL_CONSOLE=y CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_SIMPLE=y CONFIG_USB_SERIAL_CH341=y CONFIG_USB_SERIAL_CP210X=y ttyS3 修改为 ttyS4 longan/kernel/linux-4....

T113 Linux syslog

Linux

syslog buildroot syslog t113_linux/buildroot/buildroot-201902/package/sysklogd buildroot syslog-ng t113_linux/buildroot/buildroot-201902/package/syslog-ng syslog-ng 是一个开源的 syslog 替代方案,它提供了更强大的...

T113 Buildroot 裁剪

Flash Memory

Memory 查看进程列表 sh-4.4# ps PID USER COMMAND 1 root init 2 root [kthreadd] 3 root [rcu_gp] 4 root [rcu_par_gp] 5 root [kworker/0:0-eve] 6 root ...

Buildroot Add App

T113

新增app源码 目录 t113_linux/platform/apps/monitor_usb$ tree . ├── Makefile └── monitor_usb.c monitor_usb.c #include <unistd.h> #include <stdio.h> #include <string.h> #include &l...

Buildroot swupdate

OTA 升级

全志Linux Tina-SDK开发完全手册 swupdate SWUpdate提供了一种可靠的方式来更新 嵌入式系统上的软件。 源代码托管在https://github.com/sbabic/swupdate T113 源码 t113_linux/buildroot/buildroot-201902/package/swupdate$ tree . ├── 0001-Makefi...

USB 读卡器

FAQ

USB 读卡器回车符问题 问题描述:Activity onKeyUp 回调无法无法受到回车符的KeyCode 问题原因:Activity 中 Button 按钮拦截了KEYCODE_ENTRER事件 修改方案:Button 增加 android:focusable=”false” 属性 @UiThread public class View implements Drawable....