Building error from CubeIde 1.14.0
- January 4, 2024
- 3 replies
- 3644 views
hello.
I am creating a new development environment with this new PC purchase.
I installed the latest version(1.14.0) of CubeIDE and imported the old project that was building normally.
I expect it to build fine, but you get an error while building the project.
Here's a breakdown of the error
....
process_begin: CreateProcessW(D:\ST\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.100.202310302056\tools\bin\sh.exe, D:/ST/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.100.202310302056/tools/bin/sh.exe -c "arm-none-eabi-gcc \"../FATFS/Target/sd_diskio.c\" -mcpu=cortex-m4 -std=gnu18 -DUSE_HAL_DRIVER -DSTM32F429xx -DEW_FRAME_BUFFER_COLOR_FORMAT=EW_FRAME_BUFFER_COLOR_FORMAT_RGB565 -c -I../Drivers/CMSIS/Include -I.../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/Driver -I../Drivers/Driver/components -I.../Drivers/Driver/components/stmpe811 -I../Drivers/Driver/components/tsc2007 -I../Middlewares/Third_Party/FatFs/src -I../Middlewares/Third_Party/Fonts -I.../Middlewares/Third_Party/EWizard -I../Middlewares/Third_Party/EWizard/Code -I../Middlewares/Third_Party/EWizard/Package/RGB565 -I../Middlewares/Third_Party/EWizard/Package/RTE -I.../Middlewares/Third_Party/EWizard/Target -I../FATFS/App -I../FATFS/Target -I../Core/Inc -Ofast -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF\"FATFS/Target/sd_diskio.d\" -MT\"FATFS/Target/sd_diskio.o\" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o \"FATFS/Target/sd_diskio.o\"", ...) failed.
make (e=87): The parameters is incorrect.
....
With the help of Google, I've confirmed that the error occurs when the length of the command exceeds 32K, but I'm not finding a solution.
Is there any way to fix this? I've attached a text file with the full console history.