STM32 Library strip

Sysprogs forums Forums VisualGDB STM32 Library strip

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34198
    Undici77
    Participant

    Hello, I created for STM32 a library (.lib) using CMake to inlcude it in a project.

    In order to reduce size and reduce possibility to reverse engineering I would strip .lib removing debug symbol as much as possible.
    How Can I do it?

     

    #34200
    support
    Keymaster

    Hi,

    You can try running the strip tool from the ARM toolchain:

    arm-none-eabi-strip.exe <Library file>

    If you would like to do it automatically, you can add it to VisualGDB Project Properties -> Custom Build Steps -> Post-Build Steps.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.