2022-05-19 12:04 AM
Hi All.
'C:/TouchGFXProjects/MyApplication_1/Middlewares/Third_Party/FreeRTOS/Source/portable/IAR/ARM_CM4F/port.c', needed by 'C:/TouchGFXProjects/MyApplication_1/EWARM/STM32F429I-EVAL/Obj/Middlewares/FreeRTOS/port.o', missing and no known rule to make it
Subj in question.
2022-05-19 01:30 AM
The error message tells you clearly: it needs the file 'C:/TouchGFXProjects/MyApplication_1/Middlewares/Third_Party/FreeRTOS/Source/portable/IAR/ARM_CM4F/port.c', and it can't find it.
So have you checked that this file does actually exist, and is actually in that location.
2022-05-19 02:09 AM
File exist but in another folder
c:\TouchGFXProjects\MyApplication_1\Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM7\r0p1\
2022-05-19 02:56 AM
So you obviously need to fix that, then!
You have two choices:
2022-05-19 03:10 AM
I think that the error is in the creation of the IAR project file. In CubeIDE compilation runs without errors
2022-05-19 03:18 AM
so you need to fix the IAR project file, then.
Was the IAR project file auto-generated by Cube?
2022-05-19 03:26 AM
This iar project file generated by TouchGFX desiner 4.19.1
2022-05-19 06:55 AM
c:\TouchGFXProjects\MyApplication\Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM4F\port.c
Proceeding from by the location and name of the directory, the port.c file is intended for CubeIDE(GCC)..
Developers should pay attention to this
2022-05-23 12:59 AM
Hello AKovy,
I tried to reproduce the bug but everything is working fine on my side. Which version of IAR are you using ?
What is your "Min version" on STM32CubeMX when you generate code ?
If you have a specific scenario to reproduce your bug please say to us, so we can have a deeper investigation.
/Osman
2022-05-23 09:22 PM
Hello.
My version CubeMX is 6.5.0 But I didn't use it
I did as described in this section of the documentation.. Part "Checking memory usage"
https://support.touchgfx.com/4.15/docs/basic-concepts/memory-usage
I create simple project for stm32f746g-disco generate it and compiled by IAR 9.2 and
receive error as lower.
'C:/TouchGFXProjects/MyApplication_1/Middlewares/Third_Party/FreeRTOS/Source/portable/IAR/ARM_CM4F/port.c', needed by 'C:/TouchGFXProjects/MyApplication_1/EWARM/STM32F429I-EVAL/Obj/Middlewares/FreeRTOS/port.o', missing and no known rule to make it
Best regards.