You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Marko Kiiskila (JIRA)" <ji...@apache.org> on 2017/07/10 18:01:00 UTC

[jira] [Created] (MYNEWT-807) openocd.sh currently expects it to be used for arm targets only

Marko Kiiskila created MYNEWT-807:
-------------------------------------

             Summary: openocd.sh currently expects it to be used for arm targets only
                 Key: MYNEWT-807
                 URL: https://issues.apache.org/jira/browse/MYNEWT-807
             Project: Mynewt
          Issue Type: Bug
      Security Level: Public (Viewable by anyone)
            Reporter: Marko Kiiskila
            Assignee: Marko Kiiskila


This came to light with the recent port to RiscV, which also uses openocd to debug.

We probably want to keep the common openocd.sh, and pass GDB binary to use as a parameter. Interim workaround is to have GDB variable overwritten in riscv bsp's debug script.

Better solution would be to have the gdb binary set in compiler settings along with other toolchain related things, and get that passed via newt to debug script.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)