Error in IAR after create project TouchGFX 4.19.1. First compilation after creating simple project for srm32f746g-disco/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
FreeRTOS
-
IAR
-
STM32F7 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 1: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.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 2:09 AM
File exist but in another folder
c:\TouchGFXProjects\MyApplication_1\Middlewares\Third_Party\FreeRTOS\Source\portable\GCC\ARM_CM7\r0p1\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 2:56 AM
So you obviously need to fix that, then!
You have two choices:
- Move the file to the expected location;
- Change the expected location to match the actual location.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 3:10 AM
I think that the error is in the creation of the IAR project file. In CubeIDE compilation runs without errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 3:18 AM
so you need to fix the IAR project file, then.
Was the IAR project file auto-generated by Cube?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 3:26 AM
This iar project file generated by TouchGFX desiner 4.19.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-23 9: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.
