You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
in devcontainer in Ubuntu and Docker combo I had to change this to get debugging running:
I launch.json i changed IP address to my own "gdbTarget": "192.168.1.40:3333",
And you need to add bindto command so openocd will listen not only on localhost
openocd -f interface/stlink.cfg -f target/nrf52.cfg -c 'bindto 0.0.0.0'
(I would add this example to readme of devcontainer, because stlink/nrf52 will be the most used combination I guess)
And then I needed to add firewall rule
sudo ufw allow 3333
Devcontainer is working perfectly. Thanks for this improvment to everyone who helped with it.
Hi,
in devcontainer in Ubuntu and Docker combo I had to change this to get debugging running:
I launch.json i changed IP address to my own
"gdbTarget": "192.168.1.40:3333",
And you need to add
bindto
command so openocd will listen not only onlocalhost
openocd -f interface/stlink.cfg -f target/nrf52.cfg -c 'bindto 0.0.0.0'
(I would add this example to readme of devcontainer, because stlink/nrf52 will be the most used combination I guess)
And then I needed to add firewall rule
sudo ufw allow 3333
Devcontainer is working perfectly. Thanks for this improvment to everyone who helped with it.
FIY @geekbozu
The text was updated successfully, but these errors were encountered: