warning: attempt to assign the value 'y' to the undefined symbol DEBUG_PORT_ACCESS

Hello,

I have added the line CONFIG_DEBUG_PORT_ACCESS=y in prj.conf file and now the project does not open in Segger Embedded Studio (SES).

I am getting this error,

warning: attempt to assign the value 'y' to the undefined symbol DEBUG_PORT_ACCESS
error: Aborting due to Kconfig warnings

Note, I am using nthis version of Zephyr

Zephyr OS build v2.6.99-ncs1 and SES

and this version of SES 

SEGGER Embedded Studio for ARM
Release 5.60  Build 2021081102.47262
Nordic Edition
Windows x64

It looks like I am missing a file where DEBUG_PORT_ACCESS is defined.

Please help.

Kind regards

Mohamed

Parents Reply
  • Hi,

    I created a new local Kconfig file in my project folder and added the following lines,

    menu "MyDevice Settings"
    config DEBUG_PORT_ACCESS
        bool "Allow access to debug port across reboots"
        default false
    endmenu

    menu "Zephyr Kernel"
    source "$ZEPHYR_BASE/Kconfig.zephyr"
    endmenu
    and now I am not getting the warning/error I reported in  my original post and the project loads fine in SES. Happy days!
    Kind regards
    Mohamed
Children
No Data
Related