I had to reactivate some old projects but I also found that platform / tools did not evolve much.
Currently I can compile / flash and do currently not face issues with flash size (if you comment unness includes from stm8_conf.h)
But I do need debug. There still some problems reported but I can’t even verify, since stm8-gdb is 8ys old and does still refers to python 2.7 – latest release is from 2018.
I have build a libpython2.7.so.1.0 which could be integrated but still facing pytthon issues.
I don’t like the idea to put everything in Docker ro rollback the time to a debian version which comes with python 2.7, so I need to build tool-stm8binutils, but how?
i.e. “do apt-get install libpython2.7-dev” , but that package might not even be available anymore on newer distributions. The GDB build should have included that library or linked it in statically.
tried your binary, unfortunately my libc is too old:
stm8-gdb: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.42' not found (required by stm8-gdb)
My pio is docker based but based on debian trixie which is glibc 2.41 and ubuntu 24.04 is still on 2.39. ubuntu 25.05 seems to do the job but I need to rebuild my contatners…
But with the provided link I should manage to build stm8-gdb on my own…
I can also try to integrate python 2,7 again. I just added the .so and forgot the platform independent libs, so exact error with 2.7 was