BLE_8269_SIG_MESH printf

Discussions on BLE related products, including standard BLE devices, BLE mesh, and Apple HomeKit products
Post Reply
vincent
Posts: 1
Joined: Fri Mar 02, 2018 5:23 pm

Thu Jul 05, 2018 2:28 pm

BLE_8269_SIG_MESH 怎么用串口打印printf的调试信息???
TL_yuzhong
Posts: 19
Joined: Tue Mar 07, 2017 11:20 am

Wed Jul 25, 2018 4:06 pm

你好:
打开里面的串口设置,用串口输出就可以。
zhuyunclh
Posts: 14
Joined: Mon May 20, 2019 8:05 pm

Wed May 22, 2019 11:25 am

TL_yuzhong wrote:
Wed Jul 25, 2018 4:06 pm
你好:
打开里面的串口设置,用串口输出就可以。
1.如何在code里面打开printf代码呢?
我看了vendor\mesh\app_config_8269.h似乎有关于打印uart log的开关
#define __LOG_RT_ENABLE__ 0
//#define __DEBUG_PRINT__ 0
#if HCI_LOG_FW_EN
#define DEBUG_INFO_TX_PIN GPIO_PA0
但是app_config_8269.h并没有被编译进去
2.我是否只要把16脚URX,17脚UTX,GND连接到串口小板上?
微信截图_20190522110527.png
微信截图_20190522110527.png (124.52 KiB) Viewed 464 times
TL_Porter
Posts: 21
Joined: Tue Mar 07, 2017 9:31 am

Thu May 23, 2019 7:16 pm

参考刚发的8258的printf方法,你对比下两个sdk关于printf的差别。模拟串口打印。
Post Reply