I try to print in RTT but i have this warning: expression has no effect.

I use nRF51 dk with SDK_12.0 and soft device S130.

Here i put my screenshot:

image description

  • If you want to use logging over RTT, you can use the SDK logging functionality directly. Open the sdk_config.h file that comes with the project, and open the configuration wizard tab at the bottom of the file. Enable logging over RTT by checking the RTT box. When logging over RTT is enabled, the log functions can be used normally, like NRF_LOG_INFO("Heart Rate Sensor Start!\r\n") for instance.

    image description

  • IDE-Version: µVision V5.21.1.0 Copyright (C) 2016 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: Vishnu P I am using SDK11 and hence no sdk_config.h but nrf_drv_config. I am not seeing anything at the bottom of the text window. thanks

Reply Children
No Data