Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
Network
在编译rdb组件时rt_dstr_append_printf没有定义
发布于 2019-09-02 16:58:49 浏览:1199
订阅该版
今天想测试测 rt-thread rdb功能,按下列方式,打开编译开关 RT-Thread online packages → tools packages [ ] CmBacktrace: Advanced fault backtrace library for ARM Cortex-M series MCU. ---- [ ] EasyFlash: Lightweight embedded flash memory library. ---- [ ] EasyLogger: A ultra-lightweight, high-performance C/C++ log library ---- [ ] SystemView: A Segger utility for analysis and trace the RTOS ---- ** rdb: RT-Thread Debug Bridge for rt-thread ---> ** [ ] qrcode: A simple library for generating QR codes in C ---- [ ] ulog_easyflash: The ulog flash plugin by EasyFlash. ---- [ ] ADBD: Android Debug Bridge daemon implementation in RT-Thread ---- --- rdb: RT-Thread Debug Bridge for rt-thread ** Enable example for rdb push/pull **** Enable example for rdb shell ** Version (latest) ---> 编译时,报错: .\build\keil\Obj t-thread.axf: Error: L6218E: Undefined symbol rt_dstr_append_printf (referred from rdbd_file.o). 定位到rdbd.c文件第833行,如下: fullpath = (rt_dstr_t *)rt_dstr_sprintf(fullpath, "/%s", dir->d_name); } else { fullpath = (rt_dstr_t *)rt_dstr_sprintf(fullpath, "%s/%s", pathname, dir->d_name); } if (stat(fullpath->str, &filestat) == -1) { LOG_E("cannot access the file %s", fullpath->str); return list; } if ((filestat.st_mode & S_IFMT) == S_IFDIR) { temp_list = get_file_list(fullpath->str); list = (rt_dstr_t ***)rt_dstr_append_printf**(list, "%s", temp_list->str); rt_dstr_del(temp_list); temp_list = RT_NULL; } else { list = (rt_dstr_t *)rt_dstr_append_printf(list, "%s
", fullpath->str); } rt_dstr_del(fullpath); fullpath = RT_NULL; } closedir(root_dir); return list; } 搜索rt_dstr_append_printf定义,没有找到,请问这个函数定义在哪里?
查看更多
1
个回答
默认排序
按发布时间排序
bernard
2019-09-02
这家伙很懒,什么也没写!
dstr的在线软件包打开。rdb可以不用怎么考虑了,可以转到adb去
撰写答案
登录
注册新账号
关注者
0
被浏览
1.2k
关于作者
apingrtt
这家伙很懒,什么也没写!
提问
7
回答
7
被采纳
0
关注TA
发私信
相关问题
1
lwip1.4.1连接经常会断开无法连接上,可以ping通
2
LPC1768:RTT+LWIP+webserver用IE刷网页出现硬件中断错误(已经解决)
3
求一些LWIP开发的经验,目前ping一直不稳定。
4
stm32f207+dp83848无法ping通
5
RTT下的LWIP传递机制
6
rtt内lwip的socket是否是线程安全?
7
Lwip+enc28j60无法ping通
8
坑爹的rtconfig.h lwip关掉了checksum
9
花了一个晚上,把RT2.0的LWIP、网卡驱动、文件系统整合起来了,发现一点小问题
10
lwip例程中udp发送时如何指定源端口发送到指定目的地端口
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
机器人操作系统 (ROS2) 和 RT-Thread 通信
4
五分钟玩转RT-Thread新社区
5
国产MCU移植系列教程汇总,欢迎查看!
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
【学习分享】初探RT-Thread系统调度
2
FRDM-MCXN947 Flash实践--W25Q64
3
NXP MCXN947测评(一)开箱+环境配置
4
stm32f103的adc+dma多通道采集数据
5
恩智浦FRDM-MCX947上的 IIC(硬件) 实践
热门标签
RT-Thread Studio
串口
LWIP
Env
SPI
Bootloader
AT
ART-Pi
CAN总线
Hardfault
FinSH
USB
文件系统
RT-Thread
DMA
SCons
线程
RT-Thread Nano
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
WIZnet_W5500
ota在线升级
cubemx
I2C
flash
UART
packages_软件包
freemodbus
潘多拉开发板_Pandora
PWM
定时器
BSP
ADC
keil_MDK
socket
中断
编译报错
MicroPython
GD32
Debug
ulog
SDIO总线
msh
rt_mq_消息队列_msg_queue
C++_cpp
SFUD
本月问答贡献
xiaorui
20
个答案
3
次被采纳
Juggernaut
12
个答案
3
次被采纳
踩姑娘的小蘑菇
12
个答案
2
次被采纳
小小李sunny
10
个答案
2
次被采纳
crystal266
4
个答案
2
次被采纳
本月文章贡献
ZVML_9668
4
篇文章
6
次点赞
Lu_盼盼
4
篇文章
3
次点赞
Z_Y
3
篇文章
5
次点赞
ThinkCode
2
篇文章
2
次点赞
oxlm
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部