2026-04-27 1:59 AM
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