您好, 我是使用 ble5_simple_central_cc2640r2lp_app 這個 SDK,
因為它有一個按鍵的 menu, 我必需用它來和 BLE 的 peripheral .
我己經設定 BOARD_DISPLAY_USE_UART_ANSI = 0 但並沒有用.
請問, 要怎麼做才能使用打印日誌, (一行接一行), 如此才能 進而了解程式流程和錯,
謝謝.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好, 我是使用 ble5_simple_central_cc2640r2lp_app 這個 SDK,
因為它有一個按鍵的 menu, 我必需用它來和 BLE 的 peripheral .
我己經設定 BOARD_DISPLAY_USE_UART_ANSI = 0 但並沒有用.
請問, 要怎麼做才能使用打印日誌, (一行接一行), 如此才能 進而了解程式流程和錯,
謝謝.
First off there can only be one owner of the UART. Display_xxx would not work if you initialize the UartLog things in the main function. But it should fail silently and/or gracefully.
To include UartLog in your own project, you should only have to do this (assuming blestack not ble5stack). This is taken directly from the project_zero project setup and applied to simple_peripheral.
Add these precompiler defined at the project level
Viki Shi 说:Display_printf的使用请参考这边的步骤:dev.ti.com/.../debugging_output.html
专家你好:
您提供的链接中提示,输出到ide控制台需要修改empty.syscfg文件,我使用的版本不带这个文件,该如何做呢?