Region `ROM' overflowed

Hi. I have some code compilation problems.
In the simpleserial-rainbow.c code, there is a crypto_sign_keypair() function. If I comment out crypto_sign_keypair(), this code can be compiled, but if I do not comment crypto_sign_keypair(), my code will not be compiled, and the error is reported because “region `ROM’ overflowed”,I don’t know the specific reason for this problem, and I hope to solve it with your help.



Hi,

That error means that Read-Only Memory, flash memory in this case, isn’t big enough to contain your code/data. Your key is probably too large to fit on the device.

Alex