cancel
Showing results for 
Search instead for 
Did you mean: 

Building a static library with debug symbols for Cortex-M7

VBrem.1
Associate

Hi community,

We are generating a static library for our Cortex-M7 (STM32H743VI), using the following command:

arm-none-eabi-ar rcs libtf.a $(OBJS)

How to generate the debug symbols ? (so we can debug the library files while using it in the main application).

Using

--debug_symbols

returns an error when using

arm-none-eabi-ar --version
GNU ar (GNU Tools for Arm Embedded Processors 7-2018-q3-update) 2.30.0.20180329

Thanks in advance !

1 REPLY 1
VBrem.1
Associate

Any update on this ?