AnsweredAssumed Answered

KDS+arm-none-eabi-gcc 5.4.1: can NOT debug

Question asked by huang xiaofeng on Jul 29, 2018
Latest reply on Aug 4, 2018 by huang xiaofeng

There's no solution to fix KDS: variable optimized out when compile with O2 and LTO option. so i try replace gcc 4.9.1 with higher version 5.4.1.

When using arm-none-eabi-gcc 5.4.1, KDS can not launch debug. so there's maybe a compatibility between KDS and arm-none-eabi-gcc 5.4.1.

KDS launch debug with arm-none-eabi-gcc 5.4.1

Outcomes