GCC ARM Linker definition include cycodeshareexport.ld

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Where can I find the file cycodeshareexport.ld?

   

This file is included by the top level linker definition file Generated_Source/PSoC4/cm0gcc.ld (generated by cydsfit.exe).

   

cycodeshareimport.ld is also included but is also found in the generated source directory.

   

Where, oh where, has cycodeshareexport.ld gone?

   

It is not to be found in any of the Cypress installations either. Heavens to Betsy!

0 Likes
2 Replies
JobinT_31
Employee
Employee
50 solutions authored 25 solutions authored 10 solutions authored

Hello,

I am able to see the cycodeshareexport.ld file when I open a sample project and build it in PSoC Creator 3.3.
It is located inside [project].cydsn\Generated_Source\PSoC4

   

​Which PSoC Creator are you using? 

Thanks 
JOBIN GT

0 Likes
Anonymous
Not applicable

PSoC Creator 3.3.

   

I found that when cydsfit.exe is run from within the IDE the cycodeshareexport.ld is there.

   

Note that both cycodeshareexport.ld and cycodeshareimport.ld are files with only white space. What are these files intended for?

   

When run with the same parameters, based on the output window contents, executing within the codegentemp/ sub-driectory, the cycodeshareexport.ld file is missing.

   

So why bother with the command line? So that the firmware is built whenever code is checked in and the automated unit tests are run. This should be common practice for any project which expects to succeed. PSoC is making this practice rather difficult.

   

Documentation for cydsfit.exe, it's dependencies and output files is almmost non-existent.

0 Likes