PSoCCreator(PSoC4100SP): Source code link order

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

cross mob
RyYo_1406951
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted

Please tell me how to change (set) the link order of the source code.

To change(set) the link order, should create a "Custom Linker Script"?

0 Likes
1 Solution

Re-confirmed this inquiry again.

Unfortunately, there is no feature to change Link order in PSoC creator.

One solution would be to export a project from PsoC creator to Makefile and change the link order in makefile manually.

View solution in original post

8 Replies
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

Still need to do double check for this question, but there seems to be no interface / GUI to change the link order in PSoC Creator.

BTW, you mentioned "Custom Linker Script". Does it means LD file (File extension is .ld)?

0 Likes

Still need to do double check for this question, but there seems to be no interface / GUI to change the link order in PSoC Creator.
→Please continue to check for Question.

BTW, you mentioned "Custom Linker Script". Does it means LD file (File extension is .ld)?
→Yes.It points to the following Build Settings.

custom linker.png

0 Likes

Re-confirmed this inquiry again.

Unfortunately, there is no feature to change Link order in PSoC creator.

One solution would be to export a project from PsoC creator to Makefile and change the link order in makefile manually.

>One solution would be to export a project from PsoC creator to Makefile and change the link order in makefile manually.

→Is the usage of Makefile out of Cypress Support?

 (because GNU)

0 Likes

Why would you like to change the link order? is there any problem with current link order in PSoC creator?

And since the Makefile is more general (i.e. not Cypress specific product), we would encourage you to modify it by yourself first.

0 Likes

Why would you like to change the link order?
→I would like to change the link order and see if can reduce the ROM capacity.
(※ With other tools, the link order has been changed and the ROM capacity has been reduced.)

is there any problem with current link order in PSoC creator?
→There is no problem now.

0 Likes

thank you for your clarification.

if you will encounter any issue, please feel free to post a thread in CDC.

0 Likes

Thank you for your support.

0 Likes