OpenOCD Remote connection configuration in west


Srinivasan Tamilarasan
 

Hi,

I need to connect my target board remotely using OpenOCD debugger. For now separate batch script is working for me using arm-none-ebbi-gdb connection.

 

I need to enable the west flash for my custom target board. By default, west flash command initiates local connection. Instead I need to connect the remote target device using tcp ip server.

 

Let me know, to achieve the openOcd remote connection, what is configuration needed in the board.cmake file?

 

Regards,

Srinivasan