ERROR: region `rom' overflowed by -128 bytes

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

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

cross mob
YaGu_3241841
Level 1
Level 1

hi all,

     In PSoC creator V3.3 ,I am using a default CYPD3125-40LQXI_notebook application, disabled some functions  in data_mux control.c file & have a I2c device so added 2 files of  for that to read and write and calling those function in main.c and I am calling the function mux_ctrl_start() .and compiling the code so I am getting error messages like

ERROR: .\CortexM0\ARM_GCC_493\Debug\CYPD3125-40LQXI_notebook_2.elf section `.rodata' will not fit in region `rom'

ERROR: section .cyloadablemeta loaded at [0001ff40,0001ff7f] overlaps section .rodata loaded at [0001f698,0002004f]

ERROR: region `rom' overflowed by -128 bytes

collect2.exe: error: ld returned 1 exit status

The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

--------------- Build Failed: 06/07/2018 11:58:43 ---------------

can you give me some suggestions to clear this error.

Thank you,

0 Likes
1 Solution
1 Reply