Build Error for exceeding Flash size.

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

cross mob
Anonymous
Not applicable

Hello,

By PSoC Creator v.4.0, when I build an example, BLE_Findme, provided by Cypress, Creator shows the error below,

ERROR: L6050U: The code size of this image (76360 bytes) exceeds the maximum allowed for this version of the linker.

Flash size of the device I choose is 128K Byte. the code size by Creator is 76K Byte.

I think the code should be loaded to the Flash. I think linker file issue this error from this error message.

How should I change the linker file?

Best regards,

0 Likes
1 Solution
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Change the linker file by this Custom linker file option in the Build setting for the project.But are you getting this error by using default linker file (cm0gcc.ld) created by Creator.PSoC Creator4.1 UP1 has been released

pastedImage_0.png

View solution in original post

0 Likes
1 Reply
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Change the linker file by this Custom linker file option in the Build setting for the project.But are you getting this error by using default linker file (cm0gcc.ld) created by Creator.PSoC Creator4.1 UP1 has been released

pastedImage_0.png

0 Likes