Linker error with provided ARMCLANG library from TouchGfx 4.14.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-29 10:39 PM
Hi @Martin KJELDSEN​
I just updated to 4.14.0. Now I get the linker as I got them in this thread (the problem was the short enums/wchar settings) https://community.st.com/s/question/0D50X0000AlgbG2SQI/arm6-compiler-support
I can see that the armclang lib that comes with 4.14.0 is smaller than the version you provided in the thread.
Any thoughts?
Cheers /jimmii
Solved! Go to Solution.
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 1:55 AM
Hi Jimmii, yes, my question was more - Does Keil support different versions of those mw libs? I've heard that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 1:57 AM
I'm discussing this internally whether we can default to the keil mw settings, but if they supply multiple libs with different configurations then maybe not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 2:02 AM
Ah ok. Well I never heard of different versions...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 2:26 AM
Hi @Martin KJELDSEN​ .
As far as I know there are no different versions of Keil Middleware, only the version that needs "-fshort-enums -fshort-wchar" as a compiler setting. If you're not using the Middleware then there is no real need for this compiler setting. But my project needs some of the Middleware for File System and Network access. And my supervising professor explicitly wants me to use the RTOS_2 RTX_5 from Keil as an embedded OS, so I'm bound to use uVision.
Many thanks in advance for your work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 2:52 AM
Hi Joey,
Okay, i'll follow up on what Keil actually provides - But i'm sure you've done your investigation - In the mean time i will simply create a new lib for you so you can move on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 2:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 4:51 AM
Thanks @Martin KJELDSEN​ , works like a charm - as always. Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 4:58 AM
@Martin KJELDSEN​ Much appreciated, thank you. It works very well with a new project. I'm still struggling a bit with updating my existing project to the new TouchGFX version, but I'm sure I will find a way. Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-05 5:06 AM
Okay, I was blind. When updating my project file from 1.16.1 to 1.17 I didn't recognise that the Designer made a backup of the touchgfx Middleware and copied the new one into the directory. Now I replaced the .lib file of that new directory and everything works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-07 3:14 AM
No problem! :) Discussing internally if we can move to Keil MW default flags so i don't have to do it every release - Although it's nice to talk to you guys at least once ever release :D
