Compatibility issues, changed toolset from "Cross ARM GNU C" to "MCU GCC"
I changed the tooset to MCU GCC because the examples and tools from STM comes ready for SW4STM32 which includes the MCU GCC.
Previously I worked with Cross ARM GNU C.
I cleaned up also the whole project. It compiles without any errors or warnings. The application is to control a display 320x240.
I compared the settings:
Settings Now (makes me sad)
MCU GCC Compiler
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -std=c99 -Dweak=attributeweak -Dpacked=attributepacked -DUSE_HAL_DRIVER -DSTM32F429xx -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Utilities/Fonts -I../Drivers/BSP/Components/ili9341 -I../Drivers/BSP/STM32F429I-Discovery -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0
MCU GCC Linker
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -specs=nosys.specs -specs=nano.specs -T”../STM32F429ZITx_FLASH.ld” -Wl,-Map=output.map -Wl,--gc-sections -lm
MCU GCC Assembler
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g
different compared to “Settings Previous”
-mfloat-abi=hard // ARM Options
-mfpu=fpv4-sp-d16 // MIPS Options
Settings Previous
Cross ARM GNU C Compiler
-mcpu=cortex-m4 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DTRACE -DSTM32F429xx -DUSE_HAL_DRIVER -I”../Inc” -I”../system/Inc” -I”../system/Inc/cmsis” -I”../system/Inc/DEVICE” -std=gnu11 -MMD -MP -MF”$(@:%.o=%.d)” -MT”$(@)” -c -o “$@” “$