Disable the RESET pin on nRF52810

Hi.

I am trying to disable the RESET pin (P0.21) on the nRF52810 microcontroller (custom board) and set it up as a normal I/O pin.

I'm using the SDK v2.6.0.

I don't use "CONFIG_GPIO_AS_PINRESET=n" in the .defconfig file, because I read somewhere on the forum that this command is obsolete. Instead, I'm trying to set up a “softreset” in the settings.json file in the .vscode folder of my project. 

settings.json -->

{
    "nrf-connect.applicationOptions": {
        "${workspaceFolder}": {
            "flash": {
                "softreset": true,
                "skipBuild": true
            }
        }
    }
}

But it didn't work. The P0.21 pin is still working as reset and when writing the program to the microcontroller I see a message that the reset pin is enabled. 

Can you please advise me what I am doing wrong and where am I making a mistake?

I hope for your help.
Thank you.

Related