Use Uart for console re-enabled automatically after being disabled issue

Hello,

I am trying to disable using uart for console use Kconfig. 

I am using sdk v2.0.2 (VSCode + nrf connect extension)

It works and the software works as expected. After making some modifications, I check the configuration and use Uart for console is enabled again.

When I disable use uart for console and try to save that configuration to prj.conf using save to file button, it says "no changes to save".

Any Idea what should I do to disable it permanently?

Dhafer

Parents Reply
  • Are you trying to disable the console, or use something other than UART for the console, for example RTT?

    Are you building pristine? You can try deleting your build folder or build configuration and remaking it.

    Here are a few configs which may be useful, add the ones which apply:

    # Disable UART Console
    CONFIG_UART_CONSOLE=n
    
    # Enable RTT Console
    CONFIG_RTT_CONSOLE=y
    CONFIG_USE_SEGGER_RTT=y
    
    # Disable Console Entirely
    CONFIG_CONSOLE=n
    
    # Disable Serial Entirely
    CONFIG_SERIAL=n
    

Children
No Data
Related