AnsweredAssumed Answered

Debug a library(.lib) using ST Visual Develop

Question asked by David Beltran Lacasa on Jun 21, 2018
Latest reply on Jun 25, 2018 by David Beltran Lacasa

We are trying to migrate a .lib library which we use with STM32F1 microcontrollers to an STM8S microcontroller.
We would like to use a similar toolchain for the STM8S:

 

 

ToolChain for the STM32F1:

Eclipse base IDE + Keil to code, compile and link

uVision to debug.

 

ToolChain for the STM32F1:

Eclipse base IDE + Cosmic to code compile and link

ST Visual Develop to debug.

 

To validate the viability of this toolchain I'm trying to debug a .lib library compiled with cosmic and a main.c which calls some functions from the lib in a STM8S Discovery Board. I've created the workspace wrapping an executable and I configured it so I can debug the main.c file step by step.

 

1.- Is there a way import the files used to compile the .lib and debug them step by step? We do this with the STM32F1 toolchain and we will like to do the same with STM8S

2.- If so, how is this done?

Regards,


David Beltran

Outcomes