2024-01-13 11:17 AM
Hi,
I have imported a stm32 project from Git Hub that was there from 2 years ago to my stm32cudeide but when I try to build using internal builder: I get this error message:
Info: Internal Builder is used for build
arm-none-eabi-gcc "..\\..\\..\\..\\..\\..\\..\\..\\Drivers\\BSP\\X-NUCLEO-IHMxx\\x_nucleo_ihmxx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32F401xE -DUSE_STM32F4XX_NUCLEO -DNUCLEO_F401RE -DSTM32F401RETx -DSTM32 -DSTM32F4 -DDEBUG -c -I../../../Inc -I../../../../../../../../Drivers/BSP/STM32F4xx-Nucleo -I../../../../../../../../Drivers/BSP/X-NUCLEO-IHMxx -I../../../../../../../../Drivers/BSP/Components/Common -I../../../../../../../../Drivers/BSP/Components/l6474 -I../../../../../../../../Drivers/CMSIS/Include -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../../../../../../../Drivers/STM32F4xx_HAL_Driver/Inc -O0 -ffunction-sections -Wall -fstack-usage -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers\\BSP\\X-NUCLEO-IHMxx\\x_nucleo_ihmxx.o"
Cannot run program "arm-none-eabi-gcc": The directory name is invalid.
and using external builder:
5:00:36 **** Incremental Build of configuration Debug for project STM32F401RE-Nucleo ****
make all
15:46:32 **** Build of configuration Debug for project STM32F401RE-Nucleo ****
make all
Cannot run program "make": Code 0x10b: The directory name is invalid.
I don't know how to tackle this problem. Can someone help me with regards to this issue?
Solved! Go to Solution.
2024-01-16 03:09 PM
Okay ill try to get in contact with him. Is there anything else I can try in the meanwhile
2024-01-17 01:08 PM - edited 2024-01-17 01:11 PM
>Is there anything else I can try in the meanwhile
Try to understand why you get this error: "Cannot run program "arm-none-eabi-gcc": The directory name is invalid."
or "Cannot run program "make": Code 0x10b: The directory name is invalid.".
2024-01-24 04:02 PM
Hi Pavel and Semer,
After a lot of debugging and trying to figure out why my project wasnt building .I built a simple to project and realised it has nothing to do with the builder being used or the toolchain. It was actually funny. I realised it might be a path issue. Basically, some of the files that it was trying to build had a path that was very lengthy, so i reduced the folders name length and voila it worked. So luckily i was able to find my own solution. Thanks for all the help @Pavel A. and @Semer CHERNI.