- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why do these warnings come up?
Are they expected?
How does one get rid of them?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think that these warning comes up when you (or the system) define section in the scatter file
but the project actually did not generate/use that section.
I found description about this warning in the page 16 of AN225588
Using ModusToolbox Software with a Third-party IDE.
https://www.cypress.com/file/473316/download
It suggests to use command line
--diag_suppress=L6314W,L6329W
So I added this to Command Line > Custom Flags of both CM0+ and CM4
Then I cleaned and built the project, the end part of output was
(FYI, I'm using MDK Keil V5.27)
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CoreyW_81,
Please delete the Generated_Sources folder in your project and try building your project again and see if that fixes your issue. Also try updating the components.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did not do anything deleting that folder.
The problem is with the linker, so the advice given does not help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CoreyW_81,
Please let me know the following things -
1. PSoC Creator version
2. PDL Version
3. The tool-chain and compiler used
Also, please share the project so that I can reproduce the issue.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Creator 4.2
2. PDL 3.1.0
3. This:
IDE-Version:
µVision V5.28.0.0
Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved.
Tool Version Numbers:
Toolchain: MDK-ARM Professional Version: 5.28.0.0
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 6 (build 750)
Assembler: Armasm.exe V5.06 update 6 (build 750)
Linker/Locator: ArmLink.exe V5.06 update 6 (build 750)
Library Manager: ArmAr.exe V5.06 update 6 (build 750)
Hex Converter: FromElf.exe V5.06 update 6 (build 750)
CPU DLL: SARMCM3.DLL V5.28.0.0
Dialog DLL: TARMCM1.DLL V1.14.1.0
Target DLL: CMSIS_AGDI.dll V1.31.18.0
Dialog DLL: TARMCM1.DLL V1.14.1.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CoreyW_81,
I faced this issue when my project was first compiled using GCC and then exported to Keil uVision.
The following steps fixed the issue -
1. In PSoC Creator change the Toolchain to ARM MDK Generic as shown.
2. Clean and Build the project. All the mentioned warnings appear. If the project is exported in this step the warnings will still be present.
3. Build (not Clean and Build) the project again in PSoC Creator. You should no longer get the warnings now.
4. Export the project.
Please let me know if this fixes your issue.
Thanks and Regards,
Rakshith M B
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seems like they tried again and still had the issues:
They will try once again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RakshithM_16,
I have followed the exact steps you proposed but the same problem remains even when coverting it to Keil. The warnings came from the linker, not the compiler. Please find the simple project that I created for reference.
Thank you!
Best,
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think that these warning comes up when you (or the system) define section in the scatter file
but the project actually did not generate/use that section.
I found description about this warning in the page 16 of AN225588
Using ModusToolbox Software with a Third-party IDE.
https://www.cypress.com/file/473316/download
It suggests to use command line
--diag_suppress=L6314W,L6329W
So I added this to Command Line > Custom Flags of both CM0+ and CM4
Then I cleaned and built the project, the end part of output was
(FYI, I'm using MDK Keil V5.27)
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi CoreyW_81,
Adding to what MoTa_728816 mentioned, the information regarding these warnings can also be found in PSoC Creator Help Topics > Integrating into 3rd Party IDEs > PSoC 6 Designs > Creating uVision Projects for PSoC 6 in 6th point of Next Steps section.
I added the command '--diag_suppress=L6314W,L6329W' to Misc controls in Linker tab of Options for Target window and built your project and I am not getting any warnings as shown.
Options for Target Window -
Build Output -
Thank you MoTa_728816 for providing the command to ignore these warnings.
Regards,
Rakshith M B
Rakshith M B