Currently, this platform does not play nicely with GCCs Link Time Optimisation (enabled using the -flto flag). Due to the absence of the LTO plugin in binutils' ar. This can be fixed by using the respective arm-none-eabi-gcc-ar variant which is already included in the toolchain-gccarmnoneeabi package
Currently, this platform does not play nicely with GCCs Link Time Optimisation (enabled using the
-flto
flag). Due to the absence of the LTO plugin in binutils' ar. This can be fixed by using the respectivearm-none-eabi-gcc-ar
variant which is already included in thetoolchain-gccarmnoneeabi
packageThe stm32 platform has already implemented the same enhancement: https://github.com/platformio/platform-ststm32/pull/419