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

CLI_RTT_ENABLED

There is an error in projects that utilise RTT for CLI. SDK_CONFIG.H contains the line CLI_RTT_ENABLE. This must be CLI_RTT_ENABLED for the macro NRF_MODULE_ENABLED(CLI_RTT) to work correctly.

Note also that such projects should also contain code to prevent compile UART support for RTT.

Parents
  • Hi,

    Are you referring to the ble_app_interactive example? As far as I can find, this is the only example where the define your mention is used. All other examples (and this one) uses NRF_CLI_RTT_ENABLED to enable/disable the RTT backend for CLI.

    The example is experimental, and the RTT backend is disabled by default, which most likely explains why this have not been caught by testing, etc. Thank you for reporting the issue for other customers to be aware of this if wanting to enable RTT in this example.

    Best regards,
    Jørgen

Reply
  • Hi,

    Are you referring to the ble_app_interactive example? As far as I can find, this is the only example where the define your mention is used. All other examples (and this one) uses NRF_CLI_RTT_ENABLED to enable/disable the RTT backend for CLI.

    The example is experimental, and the RTT backend is disabled by default, which most likely explains why this have not been caught by testing, etc. Thank you for reporting the issue for other customers to be aware of this if wanting to enable RTT in this example.

    Best regards,
    Jørgen

Children
Related