Skip to main content
dlee.3
Visitor II
April 27, 2026
Question

STSW-STPM004: metrology_STPMS2.a GCC compatible version needed

  • April 27, 2026
  • 0 replies
  • 27 views
 

Hello,

I'm migrating STSW-STPM004 firmware from IAR to STM32CubeIDE (GCC).

The metrology_STPMS2.a library was compiled with IAR and causes UsageFault
(CFSR=0x00008200, INVSTATE bit set - ARM/Thumb interworking issue)
when linked and run with GCC.

Is there a GCC-compatible version of metrology_STPMS2.a available?
Or is the source code available for recompilation with GCC?

Environment:
- Board: EVALSTPM-3PHISO Ver 1.1
- Firmware: STSW-STPM004
- IDE: STM32CubeIDE 2.1.1 (GCC 14.3, arm-none-eabi)

Thank you