This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

It it possible to disable RTT logging in ble_app_uart and use UART itself for logging instead, if I am not using the UART for user inpout/output?

Hi,

I am using the ble_app_uart as the basis for my project, where the NUS is used to send and receive data from my mobile app. The outgoing data is generated internally from the ADC and the dat coming from teh mobile is handled in my main routing, also internally. Hence the UART is actually idle.

So instead of using the RTT for logging, which is the default setup in the CMSIS configuration, can i set the UART as the logging backend ? Because then i can simply watch the interaction on the serial console through a FTDI USB serial adapter and not have to connect the debugger.

If it is possible, what do i have to do ?

Regards

Chary BS

Related