Menu

OpenOCD no longer has to be patched?

Logan
2018-04-26
2018-04-26
  • Logan

    Logan - 2018-04-26

    So it looks like some updates have been released since I last interacted with this project. However, I'm a bit confused by this line from the main page:

    "From version 2018-03-04 sdcc and openocd for stm8 does no longer have to be patched."

    I see that SDCC 3.7.0 has come out, so I'm assuming that makes the SDCC patches obsolete. That makes sense.

    What is confusing to me is that previously, OpenOCD had to be patched in order to work with the STM8, correct? And apparently now it does not? From what I can tell from the OpenOCD page, there has not been a new version released. So how can we now get away with using a non-patched version?

     
    • akre

      akre - 2018-04-26

      Hello Logan,

      you are correct the SDCC now produce enough dwarf debugging info to be able to debug the code. The patches for OpenOCD was also merged upstream. However the new OpenOCD is not released yet so you would have to to download the OpenOCD sources and build it your self to get STM8 debugging.

       
      • akre

        akre - 2018-04-26

        That is download the OpenOCD sources from the OpenOCD git repository https://sourceforge.net/p/openocd/code/ci/master/tree/

        Notice how ever the "Download Snapshot" method will not work (last time it tested) since the repo contains sub repositories. Only "git clone" will work...

         
  • Logan

    Logan - 2018-04-26

    Awesome. Thanks for the quick response!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.