AnsweredAssumed Answered

Lpcxpresso Compile Error: `.text' will not fit in region `Flash30'

Question asked by long zhu on Nov 29, 2017
Latest reply on Dec 5, 2017 by Dries Moors

Hi ,

    I am using the NHS3100 Temperature Logger Demo, but when i add my own code in the demo program, the code size is over the flash size(30K), and the compile error is `.text' will not fit in region `Flash30'(as below).

I also checked the ".ld" file and the detial memory config is below:

I know that the flash size is only 30k to use, and a part of flash memory used to store the  temperature data, therefor, how can i solve the problem and reduce the memory size for storing the temperature data and increase the memory for code using.

      thanks!

Outcomes