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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.
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...
Awesome. Thanks for the quick response!