Hi all.
I've followed as much information i can find regarding RTT. I understand that it was build in to the SDK after 11 or so and I followed the guides on https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Flib_nrf_log.html
I set NRF_LOG_USES_RTT=1 in the config file. it also says you can only choose one of the three to be enabled so i disabled NRF_LOG_USES_UART and NRF_LOG_USES_RAW_UART
I'm also not sure where to put the initialization code
uint32_t err_code; // Initialize module err_code = NRF_LOG_INIT(); if (err_code != NRF_SUCCESS) { // Module initialization failed. Take corrective action. }The same line uint32_t err_code; is used in the initialization of the main and when i copy it in i get errors. making a uint32_t NRF_LOG_INIT function doesnt seem to work either.
anyways this is baffling me. I'm not sure whats required because other guides just say configure the NRF_LOG_USES_RTT=1 and thats it. other devzone submission are also unresolved without answers.
I've also seen someone say to add NRF_LOG_USES_RTT in the C/C++ tab defines area of the target but then my board doesn't connect to Bluetooth anymore.
I'm at a loss here, debugging works and i can print to the RTT terminal but the UART example doesnt seem to relay it to RTT so i can communicate back and fourth with the RTT terminal..
am i missing something?